Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] double gateway - new thread
@ 2003-01-30 23:58 Paul Evans
  2003-01-31  0:33 ` William L. Thomson Jr.
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paul Evans @ 2003-01-30 23:58 UTC (permalink / raw)
  To: lartc

I've been subbing this list for a couple of months now, knowing this day would 
come :-)

I too am trying to do an equalize/next hop for 2 adsl lines. At the moment 
though I am testing with 1 2MB adsl modem and an ether connection to a switch 
from a second 2MB line.

I am doing it from the *outside* via ssh, which makes it a little more 
difficult, since when I mess up I lose access until I can get someone to 
restart the network without my changes...

I began by using the example from lartc.org, combined with a cron to undo my 
changes every half hour, but moved to following this page from sysadmin 
magazine:
http://www.samag.com/documents/sam0201h/

For some reason I got a better sense of what I was trying to do from it, plus 
it included a section on just where to place the new rules into the system 
scripts. It did not say just where to place the section for ifup-routes 
though.

I think I've got it pretty close, but since I just locked myself out again... 

It's a mandrake 9.0 box and I didn't see where to prevent a default route from 
being set when it brings up ppp0 on the adsl line. I sort of hoped that my 
default routes would get set first and force the other to fail with the 
Exists error. Since I couldn't find it, I don't know in what order it gets 
run. I think that's where I messed up, but I can't get back in to read the 
logs right now.

Also, the above article uses ip to route to the lan, and I had 
intended/understood that I would masquerade to it later. Which is the correct 
approach then? I will want to move on to tc when I finally get this part 
working.

from the article:

advanced eth0 10.0.0.0/24 via 10.0.0.1 table 1
advanced eth0 10.0.0.0/24 via 10.0.0.1 table 2
advanced eth1 0/0 via 63.89.102.1 table 1
advanced eth2 0/0 via 65.3.17.1 table 2

Where eth0 is their lan and eth1/2 are isp. They have a new section in 
ifup-routes grepping a file named static-routes for '^advanced'.

-- 
Regards, Paul Evans


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-31  4:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-30 23:58 [LARTC] double gateway - new thread Paul Evans
2003-01-31  0:33 ` William L. Thomson Jr.
2003-01-31  0:46 ` John Bak
2003-01-31  4:39 ` William L. Thomson Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox