Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 08:57:34 +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.0502160856170.16908@mail.ilrt.bris.ac.uk>
In-Reply-To: <200502152129.31091.dgw@liwest.at>
References:  <200502112206.43267.dgw@liwest.at> <200502121505.20754.dgw@liwest.at><200502152129.31091.dgw@liwest.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Feb 2005, Daniela wrote:

> Well, if the OS selects the source IP, can't I just modify the code that 
> selects it? Will this work all the time, or just when the application lets 
> the OS select an address for it?

It should "just work" - that is, the source address for internal packes 
should already _be_ that of the internal interface. Your routing table 
looked good, too, IIRC. What does your NAT / ipfw configuration look 
like?

-- 
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/
"NOP" is a trivial implementation of an executable Z subset.



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