Click to See Complete Forum and Search --> : Default Route Choice


Manuel-H
04-21-2004, 10:53 AM
I have two ADSL line from two different ISPs.

My current linux box setup:
eth0 on ISP1
eth1 on ISP2
default route ISP2 metric 0 on eth1
default route ISP1 metric 1 on eth0 (extra for backup, actually not needed)

The above works.

Question:
Just upgraded ISP1 from 512K to 1MB, so I would like to have all my traffic to route to this default (out to ISP1) route instead.

Problem:
If I remove "default route ISP2 metric 0 on eth1"
I cannot access from outside via ISP2.

Any suggestions?

mdwatts
04-21-2004, 12:07 PM
Moved to the Networking forum.

Could you just switch the cables so ISP2 is now on eth0?

jumpedintothefire
04-22-2004, 01:37 AM
iproute2....

http://linux-ip.net/html/adv-multi-internet.html#adv-multi-internet

attached are some notes I put togther from an earlier larc doc...

hope it helps..

Manuel-H
04-22-2004, 02:55 AM
Originally posted by mdwatts
Moved to the Networking forum.

Could you just switch the cables so ISP2 is now on eth0?

Both ISP1 and ISP2 have different sets of static IPs.

Is there any way that I do not need to swap the IP of eth0 and eth1?

terets
04-22-2004, 05:10 PM
You'll need to get involved with more routing protocol depths. iBGB would be a good solution for your internal stuff. Don't get this confused with what most would call BGP as you're only working with your 2 interfaces on the inside.

Another focus would be running OSPF or EIGRP on your machine to route to either interface should one go down.

www.lrp.org is an old project, but it's hella cool.

You need to route, keep that in mind, which means you'll need to get into more complicated things. Best way is to do some in depth researching on this. You can just use the simple default routes you've been using. You also need to detect when an interface is down and so forth, which is integral of EIGRP and OSPF.

Manuel-H
04-23-2004, 08:06 AM
the link www.lrp.org given was a law firm...

"Founded in 1963, Lang, Richert & Patch is a firm of 20 attorneys and 30 staff members"

maybe the original owner sold the domain name to them.

I found this site "Linux Router Project"
http://www.linuxrouter.org/

Is this the same site you are referring to?

terets
04-23-2004, 10:39 AM
Yes, sorry about that. That is the right link.