[Pkg-libvirt-discuss] arp address changing...

Guido Günther agx at sigxcpu.org
Tue Mar 12 07:11:52 UTC 2013


On Mon, Mar 11, 2013 at 11:10:53PM +0100, Christian Brandt wrote:
> 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?

Did you chack that the guest doesn't reuse the MAC and therefore fills
this into your hosts's arp table? Did you check the arp requests on the
bridge using tcpdump? Did you check if any of the domain XMLs still
contains that MAC?
Cheers,
 -- Guido

> 
> 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
> 
> _______________________________________________
> Pkg-libvirt-discuss mailing list
> Pkg-libvirt-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-discuss
> 



More information about the Pkg-libvirt-discuss mailing list