simple(?!?) source routing
Hi,
I've set up a Linux box with redhat on to act as an internet gateway and I'm running into a few problems. Its got two adsl modems connected to it, both connected to seperate 512kbs lines. Now I've followed the simple source routing in the advanced routing howto to the letter but it doesnt work.
I've got it autoconnecting on startup and redhat puts ppp1 as the default gateway, this is then setup for masquerading for the entire network. Therefore I've tried setting up ppp0 as the deafult gateway for only one computer (10.0.0.11), as it says at http://lartc.org/howto/lartc.rpdb.html#LARTC.RPDB.SIMPLE I've done everything it says there and im 99% sure I've put the right ip addreses in etc. When Ive gone through it that computer is no longer able to access the net (the rest of the network is unaffected).
I'm pretty sure its the way ppp0 is configured, if I set it up so 10.0.0.11 uses ppp1 instead of ppp0 (ip rule add default via xxx.xxx.xxx.xxx dev ppp1 table chris) it works 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
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
Quoted 3 lines
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.
Quoted 2 lines
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).
Quoted 2 lines
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.
Quoted 2 lines
Hope all this makes sence to someone, it baerly does ti
me. May thanks in advance.
Quoted 2 lines
Chris
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Thursday, January 15, 2004 1:11 AM
Subject: Re:[LARTC] simple(?!?) source routing
Quoted 34 lines
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
AndersonQuoted 3 lines
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.
Quoted 2 lines
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).Quoted 1 line
Quoted 12 lines
Quoted 1 line
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.
Quoted 2 lines
Hope all this makes sence to someone, it baerly does ti
me. May thanks in advance.
Quoted 2 lines
Chris
__________________________________________________________________________
Quoted 9 lines
Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi,
Found the problem, usb timeout errors in /var/log.messages relating to speedtouch modems, had the problem before so its nothing new.
Thanks again,
Chris
----- Original Message -----
From: "Chris Bolton" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, January 15, 2004 8:37 AM
Subject: Fw: Re:[LARTC] simple(?!?) source routing
Quoted 78 lines
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 ppp0if I put it back to ppp1...
route del default
route add default gw 217.32.68.73 dev ppp1It works fine again. Whats up with that?
Cheers,
Chris
----- Original Message -----
From: "andybr" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Thursday, January 15, 2004 1:11 AM
Subject: Re:[LARTC] simple(?!?) source routingQuoted 34 lines
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
AndersonQuoted 3 lines
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.
Quoted 2 lines
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).Quoted 1 line
Quoted 12 lines
Quoted 1 line
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.
Quoted 2 lines
Hope all this makes sence to someone, it baerly does ti
me. May thanks in advance.
Quoted 2 lines
Chris
__________________________________________________________________________
Quoted 5 lines
Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/
Quoted 9 lines
Quoted 4 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/