[avahi] Shifting interfaces

Zachary Loafman zml+avahi at zml.net
Mon Aug 27 11:29:03 PDT 2007


Hmm. Is avahi-autoipd supposed to notice if someone slaps a new,
routable address onto an interface? It looks like there's code in
there to notice it, but I'm curious if this is supposed to work:

(initial debug output from avahi-autoipd)
Successfully claimed IP address 169.254.84.168
State transition ANNOUNCING-1 -> RUNNING-0
sleeping -1ms
sleeping -1ms

(abuse)
zc-1# ifconfig em1 10.54.139.128 netmask 255.255.0.0
zc-1# ifconfig em1 delete
zc-1# ifconfig
em0: flags=408843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=30b<RXCSUM,TXCSUM,VLAN_MTU,TSO4,TSO6>
        inet 10.54.139.16 netmask 0xffff0000 broadcast 10.54.255.255
        ether 00:0c:29:60:3f:55
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
        flexnet: internal
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=30b<RXCSUM,TXCSUM,VLAN_MTU,TSO4,TSO6>
        ether 00:0c:29:60:3f:5f
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
        flexnet: unused

(no new debug from avahi-autoipd)

My guess from glancing is that avahi-autopid should notice the address
disappearing and reconfiguring the IPv4LL address, but I'd like to
confirm before I dig in.

(And yes, if this is a bug, it's yet another BSD issue.)

...Zach


More information about the avahi mailing list