Date: Thu, 12 Feb 2004 11:35:06 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: Brian Reichert <reichert@numachi.com> Cc: freebsd-net@freebsd.org Subject: Re: question: source address on interface w/ aliases? Message-ID: <Pine.BSF.4.21.0402121133540.10794-100000@InterJet.elischer.org> In-Reply-To: <20040212193059.GX2429@numachi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Feb 2004, Brian Reichert wrote: > I've had an expectation violated recently, and wanted to research > whether my expectation was grounded in reality: > > Given an interface with a primary IP, and one or more aliased IP > addresses: > > When a process opens a connection to another host, which IP address > will be chosen as the source address? > > Steven's just says 'the kernel chooses the IP address and port'. > > My expectation was that the primary IP address would be used. The primary IP address on the interface referred to in the routing table entry that is chosen for the first packet.. (last time I looked) > > Is my expectation valid? Is there a spec that describes this, or > is it up to an individual OS to do whatever it wants? > > (I'm sorry to pester this list, as this question isn't actually > specific to FreeBSD...) > > I'm more than willing to do my own research, but a suggestion of > useful buzzwords would be appreciated as well. :) > > Thanks for your time... > > -- > Brian Reichert <reichert@numachi.com> > 37 Crystal Ave. #303 Daytime number: (603) 434-6842 > Derry NH 03038-1713 USA BSD admin/developer at large > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0402121133540.10794-100000>