Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 09:38:31 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        Daniela <dgw@liwest.at>
Cc:        questions@freebsd.org
Subject:   Re: How do I set the source address on a multi-homed host?
Message-ID:  <Pine.GSO.4.61.0502130938030.7366@mail.ilrt.bris.ac.uk>
In-Reply-To: <Pine.GSO.4.61.0502130930530.7366@mail.ilrt.bris.ac.uk>
References:  <200502112206.43267.dgw@liwest.at> <420D2348.4020408@spintech.ro> <Pine.GSO.4.61.0502130930530.7366@mail.ilrt.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Feb 2005, Jan Grant wrote:

> On Sat, 12 Feb 2005, Daniela wrote:
> 
> > Yes, this happens when I connect from my machine (which functions as a router 
> > with NAT to allow the other LAN machines connect to the internet) to another 
> > LAN machine. When the router establishes a connection to another point in the 
> > intranet, the source address used is my official IP, and not 10.0.0.1, which 
> > is the intranet IP of the router.
> > In other words, I want the source address to be 10.0.0.1 on every outgoing 
> > connection where the destination is inside my intranet.
> 
> Assuming you haven't munged the internal IP address to hide it, and with 
> all due deference to the FreeBSD "mechanism, not policy" mantra: no, you 
> don't want to do this.

Excuse my misinformation. Misread "inside" for "outside".

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287864 or +44 (0)117 9287088 http://ioctl.org/jan/
Solution: (n) a watered-down version of something neat.



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