Ticket #6668 (closed defect: worksforme)
avahi-autoipd doesn't work with bridged adapter
|Reported by:||albertstrasheim||Owned by:|
Host: Fedora Core 12 64-bit and Vista 32-bit VB version: 3.1.4 on FC12 and 3.2.0beta1 on Vista Guest: Fedora Core 12 64-bit
Network configured with a single bridged adapter. Tried various adapter types.
avahi-autoipd is the standard Zerconf IPv4LL implementation on Linux.
It configures an interface on the machine with an unique IPv4LL IP address according to the Zeroconf spec, which involves sending a bunch of ARPs and other things.
The first time I start the guest, avahi-autoipd gets stuck in its "probing" state and never gets an IP address for the machine. It succeeds very occassionally but mostly gets stuck.
If I restart avahi-autoipd or reset the guest (without killing the VirtualBox process), it binds an IP address without problems.
Additionally, If network adapter is configured as NAT or host-only, avahi-autoipd works without problems.
To reproduce, install FC12 guest, install avahi-autoipd package. Put the following in /etc/event.d/avahi-autoipd.eth0:
start on runlevel  stop on runlevel 0 stop on runlevel 1 stop on runlevel 6 console output respawn pre-start exec /sbin/ip addr flush eth0 exec /usr/sbin/avahi-autoipd --debug eth0 post-stop exec /sbin/ip addr flush eth0
And maybe add the line
ip route replace default dev "$2"
to the BIND part in /etc/avahi/avahi-autoipd.action
Restart the VirtualBox process and boot the guest.