Networking Forums

Networking Forums > Computer Networking > Linux Networking > IP Route issue (dual inet connections)

Reply
Thread Tools Display Modes

IP Route issue (dual inet connections)

 
 
Gary Smith
Guest
Posts: n/a

 
      08-11-2003, 11:01 AM
Hello,

We have two internet connections. T1, ADSL. The ADSL should be used
for all incoming email and as a backup DNS. Everything works fine
looking down from 50k feet. We map two sets of public internal
addresses internal to multiple different machine inside the DMZ.
Works great. The problem is that when I pull the ethernet connection
from the T1 we will see an interupt in service on the ADSL. This
causes a problem. Logically, when the T1 is turned off (ether by
pulling the nic cable or complete poweroff) you would expect that the
ADSL line would continue to receive it's email. But this isn't the
case

I have equalized the lines and set a better priority for the ADSL and
still it doesn't work. I figured it could be an SNAT issue but I have
coded the links as well.

Any ideas? (55.55.55.x would be the ADSL line).

#!/bin/bash
ip route flush cache
ip rule add from 44.44.44.254/25 lookup 1
ip rule add from 55.55.55.254/29 lookup 2

ip route add 10.0.0.0/16 via 10.0.0.7 table 1
ip route add 10.0.0.0/16 via 10.0.0.7 table 2

ip route add 0/0 via 44.44.44.129 table 1
ip route add 0/0 via 55.55.55.249 table 2

ip route add default scope global equalize \
nexthop via 55.55.55.249 dev eth3 weight 1 \
nexthop via 44.44.44.129 dev eth0 weight 2

ip route add 44.44.44.254/25 via 44.44.44.129 dev eth0
ip route add 55.55.55.254/29 via 55.55.55.249 dev eth3


Thanks,

Gary Smith
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual WAN router and private static route DavidKirchner Network Routers 0 05-09-2008 03:47 PM
disable short route via localhost on dual network interface Andreas Wassatsch Linux Networking 2 11-26-2007 05:27 AM
Forcing preferred route with dual port router John Smith Network Routers 7 09-09-2007 03:14 PM
Dual network connections? Fitz Wireless Networks 0 06-28-2005 06:41 AM
load balancing inet-connections D. Rodic Linux Networking 0 09-21-2004 01:19 PM



1 2 3 4 5 6 7 8 9 10 11