Hi, Thanks for the reply. Thats where the problem starts. If I set ppp0 as the default gw the internet doesnt work anymore. This is how im doing it... route del default route add default gw 217.32.81.74 dev ppp0 if I put it back to ppp1... route del default route add default gw 217.32.68.73 dev ppp1 It works fine again. Whats up with that? Cheers, Chris ----- Original Message ----- From: "andybr" <andybr@xxxxxxxxxx> To: <cbolton@xxxxxxxxxxxxxxxxxxxx> Cc: <lartc@xxxxxxxxxxxxxxx> Sent: Thursday, January 15, 2004 1:11 AM Subject: Re: simple(?!?) source routing > Hi all, > > This is easy. First let ppp0 as your default gateway and > use iproute to create a table call any name you want and > then you put ppp1 default route inside that table. After > that you have to create a rule to put the host you would > like insede it and dont forget to put a rule in the > iptables saying that everything going out via ppp1 SNAT - > -to IP_PPP1_EXTERNAL. ;) > > []´s > Anderson > > > > Hi, > > > > I've set up a Linux box with redhat on to act as an int > ernet gateway and I'm running into a few problems. Its g > ot two adsl modems connected to it, both connected to sep > erate 512kbs lines. Now I've followed the simple source > routing in the advanced routing howto to the letter but i > t doesnt work. > > > > I've got it autoconnecting on startup and redhat puts p > pp1 as the default gateway, this is then setup for masque > rading for the entire network. Therefore I've tried sett > ing up ppp0 as the deafult gateway for only one computer > (10.0.0.11), as it says at http://lartc.org/howto/lartc.r > pdb.html#LARTC.RPDB.SIMPLE I've done everything it says t > here and im 99% sure I've put the right ip addreses in et > c. When Ive gone through it that computer is no longer a > ble to access the net (the rest of the network is unaffec > ted). > > > > I'm pretty sure its the way ppp0 is configured, if I se > t it up so 10.0.0.11 uses ppp1 instead of ppp0 (ip rule a > dd default via xxx.xxx.xxx.xxx dev ppp1 table chris) it w > orks fine but obviously thers no point in that. > > > > Hope all this makes sence to someone, it baerly does ti > me. May thanks in advance. > > > > Chris > > > __________________________________________________________________________ > Acabe com aquelas janelinhas que pulam na sua tela. > AntiPop-up UOL - É grátis! > http://antipopup.uol.com.br/ > > > _______________________________________________ > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/