[avahi] multiple ethernet ports
Lennart Poettering
lennart at poettering.net
Mon Sep 3 07:03:12 PDT 2007
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".
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the avahi
mailing list