From: "Chris Bolton" <cbolton@hirstanddanson.co.uk>
To: lartc@vger.kernel.org
Subject: Fw: Re:[LARTC] simple(?!?) source routing
Date: Thu, 15 Jan 2004 08:37:33 +0000 [thread overview]
Message-ID: <006c01c3db42$d2627c20$0b00000a@Server2.hd> (raw)
In-Reply-To: <003101c3d9bc$bb8795d0$0b00000a@Server2.hd>
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@bol.com.br>
To: <cbolton@hirstanddanson.co.uk>
Cc: <lartc@mailman.ds9a.nl>
Sent: Thursday, January 15, 2004 1:11 AM
Subject: Re:[LARTC] 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@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-01-15 8:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-13 10:05 [LARTC] simple(?!?) source routing Chris Bolton
2004-01-15 1:11 ` andybr
2004-01-15 8:37 ` Chris Bolton [this message]
2004-01-15 9:28 ` Chris Bolton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='006c01c3db42$d2627c20$0b00000a@Server2.hd' \
--to=cbolton@hirstanddanson.co.uk \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.