Bosh deployed on Vsphere
/24 subnet using arping for duplicate IP addresses:diego_cell, mysql VM, bosh director, etc.)sudo - icat > arpingtest.shCtrl +Ccat arpingtest.sh and verify content is correct chmod 777 arpingtest.sh./arpingtest.sh > arping.txt#!/bin/bash for ip in `seq 1 254` do arping -I eth0 -c 2 -w 1 -D 10.196.170.$ip done
grep reply arping.txt |awk {'print $4'}| uniq -c
1 10.193.72.1
1 10.193.72.6 <--- This is expected. It shows that one appliance owns this IP
2 10.193.72.21 <--- This is a problem. It shows that 2 appliances own the same IP.
10.193.72.21 has two owners with the following MAC addresses: [00:50:56:AC:B0:91] and [00:50:56:AC:B8:75]
grep reply arping.txt |awk {'print $4, $5'}
10.193.72.1 [02:E0:52:72:E6:48]
10.193.72.6 [00:50:56:AC:E8:44]
10.193.72.21 [00:50:56:AC:B0:91] <--- Appliance which owns the same IP as the next one.
10.193.72.21 [00:50:56:AC:B8:75} <--- Appliance which owns the same IP as the previous one.
Get-VM | `
Get-NetworkAdapter | `
Where-Object {$_.MacAddress -eq "00:50:56:AC:B8:75"} | `
Format-List -Property *
powercli script for each one of them) /24 or smaller subnets.