And one more bit of info that might be helpful to know...
The jail I've setup will serve sites on various IP addresses. Since
FreeBSD jails by default only allow one IP, I've given the jail an
internal IP, and am just forwarding the desired ports on the external
IPs into the jail's IP using ipfw.
To follow-up, I basically want to say:
if traffic originals from 192.168.42.6, use 192.168.42.3 as the default gatway
else use default gateway for bge0...
Patrick
On Apr 3, 2005 4:17 PM, patrick <[EMAIL PROTECTED]> wrote:
> I have a FreeBSD 4.11 server with two NICs -- one has a real IP (bge0)
I have a FreeBSD 4.11 server with two NICs -- one has a real IP (bge0)
and the other has an internal IP (bge1, 192.168.42.6).
The default route for the server (defaultrouter= in rc.conf) is the
gateway for the real IP. How can I set a route such that traffic going
out on bge1 goes through a differ