[avahi] Disappearing and reappearing service if a text is changed

Florian Erfurth f.erfurth at reel-multimedia.com
Wed Jun 17 09:07:12 PDT 2009


Lennart Poettering schrieb:
> On Wed, 17.06.09 16:21, Florian Erfurth (f.erfurth at reel-multimedia.com) wrote
>> I found out, and maybe this is the cause of my problem. Below you can 
>> see the output of 'ifconfig'. 
>>     
> ifconfig is obsolete. Use "ip addr". I wished distros wouldn't install
> ifconfig anymore by default. ifconfig doesn't really handle interfaces
> with multiple addresses properly, and neither labeled adresses.
>   
Oh, then I urgently should update my knownledge. :/
>> br0 is the bridge, which bridges between 
>> eth0 and eth1. The Client is connected to eth1. It seems Avahi on server 
>> sends IP-address from eth1-avah (169.254.9.181) instead of br0 
>> (192.168.7.120) which is wrong. :( By the way, why is there no br0-avah? 
>> Is this normal?
>>     
> Yes, if you use a legacy tool than all kinds of weird things
> happen. ifconfig has been obsolete since about kernel 2.2.
>   
I wish my colleagues would see that too. :/
>> Simple question: What should I do, so that Avahi sends IP of br0 
>> (192.168.7.120)?
>>     
> The source address for UDP packets is chosen automatically by the
> kernel as part of the routing table logic.
>   
One question about that: Is such UDP packet sent only one time? Or twice 
if a device contains 2 addresses (eth1/br AND eth1:avah)?

Thank you!
cu Floh


More information about the avahi mailing list