[avahi] multiple ethernet ports

Trent Lloyd lathiat at bur.st
Mon Sep 3 07:35:58 PDT 2007


Hi Lennart,

On 04/09/2007, at 12:03 AM, Lennart Poettering wrote:

> On Fri, 31.08.07 09:13, Trent Lloyd (lathiat at bur.st) wrote:
>
>>> Can you clarify this? Can IPv6 handle the multi-NIC link local  
>>> routing
>>> correctly? How does it handle it, some sort of ARP on all NICs to  
>>> find
>>> out which interface to send out over?
>> As I said, you need to specify the source interface when you bind()
>> your socket.
>>
>> For IPv4 this is optional, and will just "randomly" pick an interface
>> to use - with IPv6 you -must- pick an interface or it won't even try
>
> Nah, it's not so much "randomly". It just picks the first entry from
> the routing table. i.e. the results depend on the order the interfaces
> were configured in the first place. I wouldn't call that
> "random". Perhaps "non-deterministic", but not "random".

I put randomly in quotes to convey that it is basically not something  
that you can rely on, but yes it is based on the routing table.

Perhaps the quoted "word" doesn't translate outside of english but to  
me it was sortof a way to feign a term i didnt quite mean but was  
closest in meaning

Trent


More information about the avahi mailing list