Linux PPP protocol development
 help / color / mirror / Atom feed
* ppp revisited
@ 2009-02-19 15:08 tony.chamberlain
  0 siblings, 0 replies; only message in thread
From: tony.chamberlain @ 2009-02-19 15:08 UTC (permalink / raw)
  To: linux-ppp

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








^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-19 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 15:08 ppp revisited tony.chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox