From owner-freebsd-net@FreeBSD.ORG Fri Feb 13 12:26:21 2004 Return-Path: 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 B02AF16A4CE for ; Fri, 13 Feb 2004 12:26:21 -0800 (PST) Received: from mail.numachi.com (meisai.numachi.com [198.175.254.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 4A60B43D2F for ; Fri, 13 Feb 2004 12:26:18 -0800 (PST) (envelope-from reichert@numachi.com) Received: (qmail 29688 invoked from network); 13 Feb 2004 20:26:14 -0000 Received: from natto.numachi.com (198.175.254.216) by meisai.numachi.com with SMTP; 13 Feb 2004 20:26:14 -0000 Received: (qmail 62735 invoked by uid 1001); 13 Feb 2004 20:26:14 -0000 Date: Fri, 13 Feb 2004 15:26:14 -0500 From: Brian Reichert To: Lars Eggert Message-ID: <20040213202614.GU2429@numachi.com> References: <20040212193059.GX2429@numachi.com> <20040212194042.GZ2429@numachi.com> <402CD3FA.8090706@netlab.nec.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <402CD3FA.8090706@netlab.nec.de> User-Agent: Mutt/1.5.5.1i cc: freebsd-net@freebsd.org cc: Julian Elischer Subject: Re: question: source address on interface w/ aliases? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 20:26:21 -0000 On Fri, Feb 13, 2004 at 02:41:14PM +0100, Lars Eggert wrote: > Brian Reichert wrote: > >If I catch a kernel doing otherwise, can I say 'Aha! That's a bug > >based on documented standards' ? > > RFC 1122, Section 3.3.4.2 Cool! Thanks for that pointer... That section refers to 'sending a datagram', which sounds UDP-specific. Regardless of that, that section refers me to '3.3.4.3 Choosing a Source Address', which does more succinctly address my question. All I find upon a first read is: (b) The route cache may be consulted, to see if there is an active route to the specified destination network through any network interface; if so, a local IP address corresponding to that interface may be chosen. But, nothing in RFC 1122 seems to shed any light on a selection algorithm. At least thia RFC grants me more vectors of research; thanks again... > Lars > -- > Lars Eggert NEC Network Laboratories -- Brian Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large