question: source address on interface w/ aliases?

Brian Reichert reichert at numachi.com
Fri Feb 13 12:26:21 PST 2004


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				<reichert at numachi.com>
37 Crystal Ave. #303			Daytime number: (603) 434-6842
Derry NH 03038-1713 USA			BSD admin/developer at large	


More information about the freebsd-net mailing list