[Pkg-libvirt-discuss] arp address changing...
Christian Brandt
brandtc at psi5.com
Mon Mar 11 22:10:53 UTC 2013
Every couple of days an arp address is changing on my host system to an
old address. Obviously this leads to a lot of laughter (not).
A couple of months ago I did add a second internal address to a guest
system for a couple of hours. Since some weeks I use this address for a
totally seperated guest.
So I wonder: WHO/WHAT is changing my arp tables?
adding the following didnt change anything:
root at isar:/etc/libvirt/qemu/networks# cat isar.xml
<network>
<name>isar</name>
<uuid>dec4fc08-c873-2b81-f5d4-83ccc38f6b7a</uuid>
<forward dev='eth0' mode='route'/>
<bridge name='virbr0' stp='on' delay='0' />
<ip address='10.0.8.1' netmask='255.255.255.224' />
<range start='10.0.8.20' end='10.0.8.30' />
<host mac='52:54:00:d7:bd:f2' name='elbe.isar.rfc1918' ip='10.0.8.2' />
<host mac='52:54:00:2b:4f:f4' name='psi5.isar.rfc1918' ip='10.0.8.3' />
<host mac='52:54:00:d4:5b:d9' name='elbe.isar.rfc1918' ip='10.0.8.2' />
</network>
right now I am using the following work around:
#!/bin/sh
while true; do
if test `LANG=C arp -a | grep -c "donau.isar.rfc1918 (10.0.8.4) at
52:54:00:d4:5b:d9 \[ether\] on virbr0"` -eq 1; then
echo "donau ip ok..."
else
echo "donau ip failed..."
date | mail -s "donau ip failed..." whoitmayconcern
arp -d donau
ping -c1 donau
fi
sleep 10
done
--
Christian Brandt
life is short and in most cases it ends with death
but my tombstone will carry the hiscore
More information about the Pkg-libvirt-discuss
mailing list