Date: Fri, 27 Dec 2002 00:55:24 -0000 (GMT) From: "Timmer" <tjg@falconsoft.com> To: <questions@FreeBSD.org> Subject: Multi-Homed Host Message-ID: <1313.24.187.33.72.1040950524.squirrel@mrpc.com>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1313.24.187.33.72.1040950524.squirrel>