pptp routing problems

pptp routing problems

Post by Charles Walke » Wed, 02 Sep 1998 04:00:00



I've been trying to connect to the WAN at my work through a
ms nt pptp server and my local isp.  i can connect through
windows 95 but would prefer using linux.

I downloaded a package called pptp_client and configured pppd
to use ms-chap and i seem to connect to the pptp server and get
the following from ifconfig.


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:461 errors:0 dropped:0 overruns:0
          TX packets:461 errors:0 dropped:0 overruns:0

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:209.86.35.133  P-t-P:168.121.1.1  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:7612 errors:1 dropped:1 overruns:0
          TX packets:5689 errors:0 dropped:0 overruns:0

ppp1      Link encap:Point-to-Point Protocol  
          inet addr:192.168.10.247  P-t-P:192.168.10.124  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0
          TX packets:22 errors:0 dropped:0 overruns:0

When i add the route per the documentation  i get


                          netmask 255.255.0.0 gw 192.168.10.124

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
168.121.1.1     0.0.0.0         255.255.255.255 UH     1500 0          0 ppp0
192.168.10.124  0.0.0.0         255.255.255.255 UH     1500 0          0 ppp1
192.168.0.0     192.168.10.124  255.255.0.0     UG      576 0          0 ppp1
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
0.0.0.0         168.121.1.1     0.0.0.0         UG      576 0          0 ppp0

This doesn't seem to be working. I can't ping anything inside my network.
I'm not sure if it is a routing problem or maybe the package doesn't
work?

Thanks for any help i can get.


---------------------------------------------------------------------------
Charlie Walker           "Whenever you find that you are on the side of

                                              -- Mark Twain
---------------------------------------------------------------------------

 
 
 

pptp routing problems

Post by Andrzej Fili » Thu, 03 Sep 1998 04:00:00


You need your ISP to pass GRE messages (IP protocol 47).
Quite a few ISPs DOES NOT route GRE protocol.

Run tcpdump on your ppp interface and find out if GRE is
coming in (and going out).


> I've been trying to connect to the WAN at my work through a
> ms nt pptp server and my local isp.  i can connect through
> windows 95 but would prefer using linux.

> I downloaded a package called pptp_client and configured pppd
> to use ms-chap and i seem to connect to the pptp server and get
> the following from ifconfig.


> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>           UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
>           RX packets:461 errors:0 dropped:0 overruns:0
>           TX packets:461 errors:0 dropped:0 overruns:0

> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:209.86.35.133  P-t-P:168.121.1.1  Mask:255.255.255.0
>           UP POINTOPOINT RUNNING  MTU:1500  Metric:1
>           RX packets:7612 errors:1 dropped:1 overruns:0
>           TX packets:5689 errors:0 dropped:0 overruns:0

> ppp1      Link encap:Point-to-Point Protocol
>           inet addr:192.168.10.247  P-t-P:192.168.10.124  Mask:255.255.255.0
>           UP POINTOPOINT RUNNING  MTU:1500  Metric:1
>           RX packets:22 errors:0 dropped:0 overruns:0
>           TX packets:22 errors:0 dropped:0 overruns:0

> When i add the route per the documentation  i get


>                           netmask 255.255.0.0 gw 192.168.10.124

> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 168.121.1.1     0.0.0.0         255.255.255.255 UH     1500 0          0 ppp0
> 192.168.10.124  0.0.0.0         255.255.255.255 UH     1500 0          0 ppp1
> 192.168.0.0     192.168.10.124  255.255.0.0     UG      576 0          0 ppp1
> 127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
> 0.0.0.0         168.121.1.1     0.0.0.0         UG      576 0          0 ppp0

> This doesn't seem to be working. I can't ping anything inside my network.
> I'm not sure if it is a routing problem or maybe the package doesn't
> work?


 
 
 

pptp routing problems

Post by Charles Walke » Thu, 03 Sep 1998 04:00:00



> You need your ISP to pass GRE messages (IP protocol 47).
> Quite a few ISPs DOES NOT route GRE protocol.

> Run tcpdump on your ppp interface and find out if GRE is
> coming in (and going out).


> > I've been trying to connect to the WAN at my work through a
> > ms nt pptp server and my local isp.  i can connect through
> > windows 95 but would prefer using linux.

> > I downloaded a package called pptp_client and configured pppd
> > to use ms-chap and i seem to connect to the pptp server and get
> > the following from ifconfig.
> > [...deleted]

Thanks,
I gave that a try and discovered a couple of things. I believe my ISP
is passing the GRE messages because of the tcpdump of ppp0 and that it
works in win95.  the next thing is that my requests are being sent
through ppp1 but i get no response.

tcpdump of ppp0 includes:
12:21:25.145231 gre user-38lc8gj.dialup.mindspring.com > 208.21.147.8: [KS] gre-proto-0x880B (ttl 64, id 49578)
12:21:25.555231 gre 208.21.147.8 > user-38lc8gj.dialup.mindspring.com: [|gre] (ttl 121, id 49677)

tcpdump if ppp1 includes:
12:24:38.145231 cwwalker.users.mindspring.com > 192.168.10.10: icmp: echo request (ttl 64, id 50381)
12:24:39.145231 cwwalker.users.mindspring.com > 192.168.10.10: icmp: echo request (ttl 64, id 50385)
12:24:40.145231 cwwalker.users.mindspring.com > 192.168.10.10: icmp: echo request (ttl 64, id 50388)

Any Ideas on the problem??

 
 
 

pptp routing problems

Post by Andrzej Fili » Thu, 03 Sep 1998 04:00:00


Questions:
Are you able to ping the other end of pptp (as on ppp1)?

Suggestions:
On my system routes via ppp are specified with no gateway
so try:
/sbin/route add -net 192.168.0.0 netmask 255.255.0.0 dev ppp1



> > You need your ISP to pass GRE messages (IP protocol 47).
> > Quite a few ISPs DOES NOT route GRE protocol.

> > Run tcpdump on your ppp interface and find out if GRE is
> > coming in (and going out).


> > > I've been trying to connect to the WAN at my work through a
> > > ms nt pptp server and my local isp.  i can connect through
> > > windows 95 but would prefer using linux.

> > > I downloaded a package called pptp_client and configured pppd
> > > to use ms-chap and i seem to connect to the pptp server and get
> > > the following from ifconfig.
> > > [...deleted]

> Thanks,
> I gave that a try and discovered a couple of things. I believe my ISP
> is passing the GRE messages because of the tcpdump of ppp0 and that it
> works in win95.  the next thing is that my requests are being sent
> through ppp1 but i get no response.

 
 
 

pptp routing problems

Post by Charles Walke » Thu, 03 Sep 1998 04:00:00


No, I can't ping from the other end of pptp.
I tried adding the route the way you have it specified but
i got the same response.

i wonder if the pptp-client program is working correctly?


> Questions:
> Are you able to ping the other end of pptp (as on ppp1)?

> Suggestions:
> On my system routes via ppp are specified with no gateway
> so try:
> /sbin/route add -net 192.168.0.0 netmask 255.255.0.0 dev ppp1



> > > You need your ISP to pass GRE messages (IP protocol 47).
> > > Quite a few ISPs DOES NOT route GRE protocol.

> > > Run tcpdump on your ppp interface and find out if GRE is
> > > coming in (and going out).


> > > > I've been trying to connect to the WAN at my work through a
> > > > ms nt pptp server and my local isp.  i can connect through
> > > > windows 95 but would prefer using linux.

> > > > I downloaded a package called pptp_client and configured pppd
> > > > to use ms-chap and i seem to connect to the pptp server and get
> > > > the following from ifconfig.
> > > > [...deleted]

> > Thanks,
> > I gave that a try and discovered a couple of things. I believe my ISP
> > is passing the GRE messages because of the tcpdump of ppp0 and that it
> > works in win95.  the next thing is that my requests are being sent
> > through ppp1 but i get no response.

 
 
 

1. pptp server routing internal network problem

Hi,

I've installed VPN between the company server(FreeBSD) and my own
workstation (Win2000). I can seee the server and browse the computer shares,
but I can not access any other computer on the office network. After reading
some documentation I foud our that there should be a file ip-up in
/etc/ppp/, where additional arp routing is defined. Is this true?
Is there a sample of the previous mentioned file?

Any thanks apreciated,
                                     Bojan Kraut

2. Writing to disks and reading from them again

3. route problem: route forgot to specify route netmask.

4. Using 3rd party drives with RS6000

5. Routing problem with source-based routing and routing packets back to sender machine.

6. test

7. Linux as PPTP Server for MS PPTP Clients?

8. Installing network card after OS

9. Routing for VPN with PPTP

10. static routes with pptp/ipsec server?

11. why i still can't use pptp client to connect to windows 2000 pptp server

12. PPTP Help: Winnt pptp through a Linux Firewall

13. PPTP client, masquerade and routing