From owner-freebsd-hackers Fri Dec 13 14:51:30 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA23457 for hackers-outgoing; Fri, 13 Dec 1996 14:51:30 -0800 (PST) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA23449 for ; Fri, 13 Dec 1996 14:51:28 -0800 (PST) Received: (from henrich@localhost) by crh.cl.msu.edu (8.7.6/8.7.3) id RAA05759; Fri, 13 Dec 1996 17:51:23 -0500 (EST) From: Charles Henrich Message-Id: <199612132251.RAA05759@crh.cl.msu.edu> Subject: Re: Intelligent source IP's in multinet singlephysicalnet connections? To: grog@lemis.de (Greg Lehey) Date: Fri, 13 Dec 1996 17:51:23 -0500 (EST) Cc: hackers@freebsd.org In-Reply-To: <199612130038.TAA00340@papillon.lemis.de> from Greg Lehey at "Dec 12, 96 07:38:41 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm not sure that I understand what you're saying here, but what I > think you're saying is: when sending a local packet (i.e. a packet > that originates on my machine), the source IP address should be the > source IP address of the interface on which the packet leaves the > machine. For example, assume you have two interfaces: > > ep0 192.168.0.1 (default) > ep1 10.0.0.1 (for net 10) > > All locally generated packets which leave on ep0 will have the source > address 192.168.0.1, and those which leave on ep1 will have the source > address 10.0.0.1. Of course, if the packets are being routed, their > source address remains unchanged. > > Does this answer your question? Is it what you want? No. Only a single interface ed0, with multiple IP's aliased to it, otherwise yes. I would assume that what you said should already be happening due to the multiple interfaces? -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich