Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 07:29:23 -0400
From:      Pat Lashley <patl+freebsd@volant.org>
To:        Fredrik Lindberg <fli+freebsd-net@shapeshifter.se>
Cc:        freebsd-net@freebsd.org, Doug Barton <dougb@freebsd.org>
Subject:   Re: Zeroconfig and Multicast DNS
Message-ID:  <BE1059C6974AD43BC382E107@garrett.local>
In-Reply-To: <44EDA9A5.2050108@shapeshifter.se>
References:  <DD49A62B2AB4E38804FB10B6@garrett.local> <44EA1926.2000501@shapeshifter.se> <9C04919EE684029A410DE208@garrett.local> <44EAC40E.9000904@shapeshifter.se> <3E654CC0217F90E20FCD806E@garrett.local> <44EC90B7.6090908@shapeshifter.se> <44ECB0F2.9040300@FreeBSD.org> <C408C9E0406302DF5EE12E67@garrett.local> <20060823212110.GD27961@lor.one-eyed-alien.net> <D6D2605619AD2B0F140F5802@garrett.local> <20060823221835.GA28978@lor.one-eyed-alien.net> <23D2619F6BACE4E728178EE5@garrett.local> <44ED3BD1.3030206@shapeshifter.se> <AC5769F16F9730CABCCC4E61@garrett.local> <44EDA9A5.2050108@shapeshifter.se>

next in thread | previous in thread | raw e-mail | index | archive | help
> I treat LLA and mDNS as separate things. They can be used individually
> or together. I see LLA as a way of configuring an IP-address while
> mDNS is a way of resolving DNS-like hostnames.

Don't forget service discovery. That's an important part of zeroconf, 
implemented via mDNS.

> Howevery, your statement above brings up a question, do you assume
> that a system configured with lla should be able to communicate
> with a system configured via dhcp?

Yes, of course. The question is basically the same as whether hosts on the same 
link but different IP (sub)net ranges should be able to communicate with each 
other. The answer is that either both hosts must implement ARP/RARP 
functionality, or that there be at least one additional host with addresses in 
both ranges that is willing to act as a router.

> I would assume no, per standard IP/routing rules as they would be
> in different subnets and would require a router to tell them
> about each other which somehow violates the link local scope of
> the 169.254/16 address space.

No, it does not violate the link local scope as long as the router performs NAT 
to translate the 169.254/16 address into something else.

And I don't think that the RFC forbids non-LLA hosts on the same link from 
knowing about link local addresses or communicating directly with hosts that 
only have LLAs. The important thing is that the link local addresses not be 
visible outside the link.

(Which means that we may need some special purpose code in routed to prevent it 
from advertising 169.254/16 routes.)

> Yes, discovering a NAT-router via SD is certainly possible, but I'm not
> sure if this should be in the lla-daemon or in a separate program.

I would expect it to be handled like any other service - it is a function of 
mDNS-SD, not LLA; and it is up to the service consumer to do the discovery.  In 
this case, the consumer would be some script/utility/daemon to update the 
system's routing table.



-Pat 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE1059C6974AD43BC382E107>