Routing question
Andrew Smith
Andrew at coolchilli.com
Mon Sep 9 15:27:30 EST 2002
On each of your gateways (x.y.z.6 & a.b.c.d) add a host route for each
peer via their normal gateway/interface etc., as host entries are
processed before network entries the tunnel will live happily ever
after.
Andrew
-----Original Message-----
From: Michael Still <mikal at stillhq.com>
To: Linux user group <linux at samba.org>
Date: Mon, 9 Sep 2002 15:09:06 +1000
Subject: Routing question
>
>Hey,
>
>I have a network config which looks like:
>
> (Network x.y.z.*)
> |
> ----------------
> | x.y.z.6 | Client end
> ----------------
> |
> | (ppp over ssh vpn)
> |
> ----------------
> | a.b.c.d | Server end
> ----------------
> |
> (Network 172.31.0.*)
>
>So, the box x.y.z.6 connects to a.b.c.d with ssh, and then tunnels ppp
>through it. This has worked fine for some time. For instance, I can
>telnet
>to 172.31.0.201 from x.y.z.6, and it just works.
>
>Now, I want to be able to get to random hosts in x.y.z.* from the
>172.31.0.* network.
>
>To my understanding, I can't just go
> route add -net x.y.z.0 netmask 255.255.255.0 dev ppp0
>
>Because this means that ssh can no longer talk to x.y.z.6 to get the
>traffic across.
>
>My host specific routes don't seem to work. Can I have a hint please?
>
>Thanks,
>Mikal
>
>
>--
>
>Michael Still (mikal at stillhq.com) UMT+10hrs
>
More information about the linux
mailing list