Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2006 18:07:22 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-net@freebsd.org
Subject:   socket / bind - specific address
Message-ID:  <20060225070722.GA92618@k7.mavetju>

next in thread | raw e-mail | index | archive | help
The situation is as follows:

We have a couple of FreeBSD routers, with RFC1918 addresses on the
ethernets and a public address on the loopback. This works fine for
connecting to the routers, but is problematic for locally originated
outgoing traffic (think NTP, think syslog): it takes the IP address
of the outgoing interface, which is the RFC1918 address.

Is there a way (sysctl, kernel option) to define which IP address
is used for locally originated outgoing traffic?

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



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