Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 1996 17:51:23 -0500 (EST)
From:      Charles Henrich <henrich@crh.cl.msu.edu>
To:        grog@lemis.de (Greg Lehey)
Cc:        hackers@freebsd.org
Subject:   Re: Intelligent source IP's in multinet singlephysicalnet connections?
Message-ID:  <199612132251.RAA05759@crh.cl.msu.edu>
In-Reply-To: <199612130038.TAA00340@papillon.lemis.de> from Greg Lehey at "Dec 12, 96 07:38:41 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612132251.RAA05759>