Linux PPP protocol development
 help / color / mirror / Atom feed
From: tony.chamberlain@lemko.com
To: linux-ppp@vger.kernel.org
Subject: ppp revisited
Date: Thu, 19 Feb 2009 15:08:52 +0000	[thread overview]
Message-ID: <W5561928533241901235056132@webmail24> (raw)

I can update my question a bit.

We have a machine, 192.168.5.88, which can go out on the net.  It connects
to a PPTP VPN our customer supplies (address is 204.XX.XX.XX).  When it
connects it gets an IP address of 10.0.1.3 as in the following:

    ppp0  Link encap:Point-to-Point Protocol
          inet addr:10.0.1.3  P-t-P:10.0.1.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1456  Metric:1
          RX packets:58 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3

Forward is set to 1:

     sysctl net.ipv4.ip_forward
     net.ipv4.ip_forward = 1

and /etc/sysconfig/network:
     NETWORKING=yes
     HOSTNAME=Lemko88
     FORWARD_IPV4=true

And then from doing a man on ppd it said ktune and proxyarp would make
it available to other machines:

  /usr/sbin/pppd call BugTussel debug logfd 1 nodetach ktune proxyarp persist linkname host

Then from my 192.168.5.191 machine I did an

    ip route add 10.0.1.3 via 192.168.5.88 dev eth0

I could ping 10.0.1.3 but not any other machines on the VPN.  I even
tried

    ip route add 10.0.0.66 via 10.0.1.3 dev ppp0
and independently

    ip route add 10.0.1.1 via 10.0.1.3 dev ppp0
    ip route add 10.0.0.66 via 10.0.1.1

but still could not reach 10.0.0.66 (or 10.10.0.2 or others).

Does the host machine I call have to set something too?

Tony








                 reply	other threads:[~2009-02-19 15:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=W5561928533241901235056132@webmail24 \
    --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