From: tony.chamberlain@lemko.com
To: linux-ppp@vger.kernel.org
Subject: Routing
Date: Fri, 30 Jan 2009 16:10:00 +0000 [thread overview]
Message-ID: <W3133827767292401233331800@webmail16> (raw)
I have a machine, accessible from outside our company, running PPP.
It's local IP address is 10.0.1.29 (the address it gets from PPP).
I also have another machine whose IP address is 10.0.1.3 and also has
an IP address of 192.168.5.88 connected to our local network.
I can get to the 10.0.1.29 machine through an external IP address (which
I won't list here, for security reasons) and from there ssh to 10.0.1.3
and from 10.0.1.3 to the 192 network.
I would like to be able to get right from 10.0.1.29 to the 192 network.
On 10.0.1.3 I set the ip_forard (I forgot exaclty what it is called) to 1
and restarted the network.
On 10.0.1.29 I did an
ip route add '192.168.5.0/24' via 10.0.1.3 dev ppp0
and
ip route add '192.168.5.0/24' via 10.0.1.3
tried both. It was entered succesfully and showed up in "route -n" but
when I tried from 10.0.1.29 to do for example
ssh -l root 192.168.5.191
it wouldn't let me and couldn't connect (though it would work from 10.0.1.3).
Did I miss something, or what else do I need to do?
I somehow got this to work earlier between our 192.168.5 nextwork and
our 10.0.0.0 network where a machine (10.0.0.215/192.168.5.15) was on
both networks, and I set its address (192.168.5.15) as default router
for 192.168.5 networks and 10.0.0.215 for 10 networks.
192.168.5 mask is 255.255.255.0 and 10 network mask is 255.0.0.0
Tony
next reply other threads:[~2009-01-30 16:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-30 16:10 tony.chamberlain [this message]
2009-01-30 16:38 ` Routing Bill Unruh
2009-01-30 18:06 ` Routing James Carlson
2009-01-30 23:05 ` Routing James Carlson
2010-07-08 12:40 ` routing tony.chamberlain
2010-07-08 13:39 ` routing James Carlson
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=W3133827767292401233331800@webmail16 \
--to=tony.chamberlain@lemko.com \
--cc=linux-ppp@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox