Hello

I am trying to set up a FreeBSD 4.7-STABLE machine so that it has one network
card and two IP addresses, each on a different logical network.  Here's the
configuration:

Logical Net 1: (Cable, 3M)
IP ADDR: 192.168.1.2
NETMASK: 255.255.255.0
GATEWAY: 192.168.1.1

Logical Net 2: (FRAC-T1, 384K)
IP ADDR: 216.46.79.72
NETMASK: 255.255.255.192
GATEWAY: 216.46.79.65

This machine runs a web server (and a few other things), so all that traffic
must happen on the T1.  However, the T1 is significantly slower than my cable
connection, so I would like the machine to use the cable connection for
downloading large files and so on.

Is there any way to configure FreeBSD to essentially have two default
gateways, and to choose the correct gateway based on the source IP address
(that is, if I try to FTP from the 192.168.1.2 address, it should send all the
traffic out the 192.168.1.1 gateway)?

Any help is greatly appreciated.

Thanks.

Tim



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to