[avahi] Preventing avahi from dropping link local address when routable address is configured
lennart at poettering.net
Sun Oct 26 12:19:17 PDT 2008
On Tue, 14.10.08 13:09, Williams, Ksatria G (KGWilliams at DIRECTV.com) wrote:
> I'd like Avahi to maintain the link local address it configured even
> when a routable address is assigned. Currently it's being dropped even
> if the force bind parameter is used in line 1285 of main.c in
> avahi-autoipd. I found an old email thread in the archives that says,
> "avahi-autoipd subscribes to network configuration changes and removes
> its own address if a routable address is assigned. (Unless --force-bind
> is passed)." This message leads me to believe that it should not be
> calling unbind on the avahi-autoipd.action script when a routable
> address is configured when the force bind parameter was used. Can anyone
> verify that adding a check for --force-bind in line 1284 will not break
> Avahi or have unintended consequences other than to maintain a link
> local address when the force bind argument is used and a routable
> address is assigned?
--force-bind should do exactly what you want.
if it doesn't it would be a bug.
Is it possible that you are misinterpreting the output of ifconfig?
Please make sure to use "ip addr" for looking at the IP
configuration. ifconfig is obsolete and shows interfaces with multiple
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the avahi