I am trying to get my ubuntu box to have 2 gateways and respond via the appropriate gateway when a request comes in.
here is my network map
DSL=71.x.x.10 gw 71.x.x.1
LAN eth0 = 10.223.8.7
LAN eth0.1= 10.223.8.220
the 10Mb connection does NAT to get email traffic to eth0.1
DSL(gw1)<-->eth1(email server)eth0<-->LAN
10Mb(gw2)<-->eth0.1(email server)
The problem is that the default gw is out eth1 to the DSL. I cant just switch the gw as it will just reverse the direction of the issue.
Can someone help me change my routes so that anything coming in to eth0.1 uses gw2 as its route and anything coming in eth1 uses gw1 as its route?
Once this is done I can switch my default route to gw2 but I still need traffic coming in on eth1 to route out gw1.
Thanks for any help in advance. I have seen the multiple gateway info here:
http://www.tldp.org/HOWTO/Adv-Routin...ple-links.html but dont know how to implement that.
Recent comments
1 day 5 hours ago
1 day 5 hours ago
1 day 10 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 23 hours ago
2 days 5 hours ago
2 days 9 hours ago
2 days 11 hours ago