From owner-freebsd-net@FreeBSD.ORG Thu Aug 24 14:55:27 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9E3216A4DF; Thu, 24 Aug 2006 14:55:27 +0000 (UTC) (envelope-from fli+freebsd-net@shapeshifter.se) Received: from mx1.h3q.net (manticore.shapeshifter.se [212.37.5.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E8E943D76; Thu, 24 Aug 2006 14:55:22 +0000 (GMT) (envelope-from fli+freebsd-net@shapeshifter.se) Received: from localhost (localhost [127.0.0.1]) by mx1.h3q.net (Postfix) with ESMTP id 774CA1A78D; Thu, 24 Aug 2006 16:55:19 +0200 (CEST) Received: from mx1.h3q.net ([127.0.0.1]) by localhost (mx1.h3q.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29792-08; Thu, 24 Aug 2006 16:55:16 +0200 (CEST) Received: from [192.168.1.100] (217-208-33-252-o926.tbon.telia.com [217.208.33.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.h3q.net (Postfix) with ESMTP id 65C761A78E; Thu, 24 Aug 2006 16:55:16 +0200 (CEST) Message-ID: <44EDBDD0.4050000@shapeshifter.se> Date: Thu, 24 Aug 2006 16:55:12 +0200 From: Fredrik Lindberg User-Agent: Thunderbird 1.5.0.4 (X11/20060727) MIME-Version: 1.0 To: Pat Lashley References: <44EA1926.2000501@shapeshifter.se> <9C04919EE684029A410DE208@garrett.local> <44EAC40E.9000904@shapeshifter.se> <3E654CC0217F90E20FCD806E@garrett.local> <44EC90B7.6090908@shapeshifter.se> <44ECB0F2.9040300@FreeBSD.org> <20060823212110.GD27961@lor.one-eyed-alien.net> <20060823221835.GA28978@lor.one-eyed-alien.net> <23D2619F6BACE4E728178EE5@garrett.local> <44ED3BD1.3030206@shapeshifter.se> <44EDA9A5.2050108@shapeshifter.se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at h3q.net Cc: freebsd-net@freebsd.org, Doug Barton Subject: Re: Zeroconfig and Multicast DNS X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 14:55:27 -0000 Pat Lashley wrote: >> 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. I'm not. But LLA can run without mDNS and mDNS can run without LLA, but SD requires 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. Of course it's possible with a router, but what I was after, was the situation when a host is configured with LLA but without a default route , should such host be able to communicate with other hosts on the same link that has addresses configured in other ranges (obtained by other utilities, dhcp, static etc). If the answer to that is yes, how is it supposed to work? Should the routing code be change to always issue a ARP request when the source is from 169.254/16 ? The responding host will have to implement the same algorithm or it will just send the packet to its default router which probably wouldn't know what to do with the packet and throw it away. Could be pretty ugly. I also don't see how RARP would help because that would require the host to have knowledge of the other hosts MAC-address. Fredrik Lindberg