Results 1 to 4 of 4
Hi
How do I add two default route with two different gateways on different interfaces with different priorities:
eth0 192.168.0.1 Intranet
eth1 192.168.1.1 internet router for internal QMail
eth2 192.168.2.1 ...
- 07-06-2005 #1Just Joined!
- Join Date
- Jul 2005
- Location
- Brasil
- Posts
- 2
two default gateways
Hi
How do I add two default route with two different gateways on different interfaces with different priorities:
eth0 192.168.0.1 Intranet
eth1 192.168.1.1 internet router for internal QMail
eth2 192.168.2.1 internet adsl for Proxy
for the eth1 the gateway must be 192.168.1.254
for the eth2 the gateway must be 192.168.2.254
proxy and navigation must use adsl (192.168.2.254)
and
my email server only the router (192.168.1.254)
my firewall itīs ok...
I need help....
thanks
Fabio Leonardo Jung
from Brasil
- 07-06-2005 #2
(I posted the same response on the other forum you asked this on.)
Have a look at the man pages for route.
I found this example:
It appears that you can add a route per interface. (I haven't actually done this myself.)Code:route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0
Good luck.
- 07-06-2005 #3Just Joined!
- Join Date
- Jul 2005
- Location
- Brasil
- Posts
- 2
I tried this, but not work... services as the qmail and bind always uses default gateway instead of other...
- 07-06-2005 #4
This is awkward.
I replied on the other forum.. if you read this one first I will continue discussing here..


Reply With Quote