From owner-freebsd-net@FreeBSD.ORG Thu Aug 24 13:29:19 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 EC0C616A4E2; Thu, 24 Aug 2006 13:29:19 +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 B66BD43D5D; Thu, 24 Aug 2006 13:29:14 +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 611B51A78D; Thu, 24 Aug 2006 15:29:12 +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 28835-06; Thu, 24 Aug 2006 15:29:11 +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 4C6841A72A; Thu, 24 Aug 2006 15:29:11 +0200 (CEST) Message-ID: <44EDA9A5.2050108@shapeshifter.se> Date: Thu, 24 Aug 2006 15:29:09 +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> 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 13:29:20 -0000 Pat Lashley wrote: >> Um..wouldn't the routing code handle this? >> If you set a lla address and some other address on a interface like > 192.168.0.2 >> or something and then a default route of 192.168.0.1, I >> would assume that an application without specific knowledge that tries >> to contact an external address would get 192.168.0.2 as the source >> address and that the packet is sent to 192.168.0.1. > > It should handle it; but I'd still want someone to check out various > edge conditions and pathological cases. > >> If you're in the situation that you need lla (no dhcp server available), > > The presence or absence of a DHCP server is not a good indicator of the > need or desire for LLA and/or mDNS. It is quite possible that the system > is in a mixed environment where there are some systems which are > LLA/mDNS only, others which are DHCP/static/unicast DNS only, and others > which handle both. > > 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. 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? 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. >> you wouldn't know the default route right? > > I believe that there is a way to announce routing service via mDNS-SD; > but I don't know the details. (I would be astonished to discover that > the people who developed the zeroconfig design left that bit out...) > 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. Fredrik Lindberg