Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pptp routing issue.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ylachance
n00b
n00b


Joined: 16 Mar 2005
Posts: 15

PostPosted: Tue Nov 08, 2005 7:11 pm    Post subject: pptp routing issue. Reply with quote

I'm am trying to establish a pptp connect to a Microsoft server using PPTP. From what I can see from the debug output, the connection is established but I can not ping anything in the enterprise network.

Here is the output of the connection:

Code:

# pppd call my_peer dump debug logfd 2 nodetach
pppd options in effect:
debug debug             # (from command line)
nodetach                # (from command line)
logfd 2         # (from command line)
dump            # (from command line)
name domain\\name            # (from /etc/ppp/peers/my_peer)
remotename PPTP         # (from /etc/ppp/peers/my_peer)
                # (from /etc/ppp/options.pptp)
pty pptp 206.162.166.100 --nolaunchpppd         # (from /etc/ppp/peers/my_peer)
mru 1000                # (from /etc/ppp/options.pptp)
mtu 1000                # (from /etc/ppp/options.pptp)
lcp-echo-failure 10             # (from /etc/ppp/options.pptp)
lcp-echo-interval 10            # (from /etc/ppp/options.pptp)
ipparam microserv               # (from /etc/ppp/peers/my_peer)
usepeerdns              # (from /etc/ppp/peers/my_peer)
nobsdcomp               # (from /etc/ppp/options.pptp)
nodeflate               # (from /etc/ppp/options.pptp)
using channel 17
Using interface ppp0
Connect: ppp0 <--> /dev/pts/5
sent [LCP ConfReq id=0x1 <mru 1000> <asyncmap 0x0> <magic 0x11c4cd9> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <mru 1000> <asyncmap 0x0> <magic 0x11c4cd9> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 338> <auth chap MS-v2> <magic 0x8f51b5dc> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <mru 338> <auth chap MS-v2> <magic 0x8f51b5dc> <pcomp> <accomp>]
rcvd [LCP ConfRej id=0x1 <asyncmap 0x0>]
sent [LCP ConfReq id=0x2 <mru 1000> <magic 0x11c4cd9> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x2 <mru 1000> <magic 0x11c4cd9> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x11c4cd9]
rcvd [CHAP Challenge id=0x1 <b8ef9d3dfc490b1200bd5716c50863e9>, name = "watchguard"]
sent [CHAP Response id=0x1 <33516cc127227f2605bed5bb0a0da65e000000b6010000ff055002c6d1f454b38881f31ed11bbb1cc363dd9e6598e1f6f9>, name = "microserv.ca\\ylachance"]
rcvd [LCP EchoRep id=0x0 magic=0x8f51b5dc]
rcvd [CHAP Success id=0x1 "S=75BDD873AAEB5657041A6493383F8A0D99DB2C8D"]
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D +C>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.168.0.4>]
sent [IPCP ConfAck id=0x1 <addr 192.168.0.4>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfNak id=0x1 <mppe -H -M +S -L -D -C>]
rcvd [CCP ConfNak id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfReq id=0x2 <mppe -H -M +S -L -D -C>]
sent [CCP ConfAck id=0x2 <mppe -H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x2 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
rcvd [IPCP ConfNak id=0x2 <addr 192.168.0.26> <ms-dns1 192.168.0.8> <ms-dns3 192.168.0.14>]
sent [IPCP ConfReq id=0x3 <addr 192.168.0.26> <ms-dns1 192.168.0.8> <ms-dns3 192.168.0.14>]
rcvd [IPCP ConfAck id=0x3 <addr 192.168.0.26> <ms-dns1 192.168.0.8> <ms-dns3 192.168.0.14>]
local  IP address 192.168.0.26
remote IP address 192.168.0.4
primary   DNS address 192.168.0.8
secondary DNS address 192.168.0.14
Script /etc/ppp/ip-up started (pid 18565)
Script /etc/ppp/ip-up finished (pid 18565), status = 0x1
sent [LCP EchoReq id=0x1 magic=0x11c4cd9]
rcvd [LCP EchoRep id=0x1 magic=0x8f51b5dc]


Here is my routing table when the connection is established
Code:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.4     192.168.3.254   255.255.255.255 UGH       0 0          0 eth1
192.168.0.4     0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.209.0   0.0.0.0         255.255.255.0   U         0 0          0 vmnet8
192.168.3.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         192.168.3.254   0.0.0.0         UG        0 0          0 eth1


How do I need to setup routing in order to ping 192.168.0.4 and other IPs.

Thanks
Back to top
View user's profile Send private message
egberts
Guru
Guru


Joined: 04 Nov 2003
Posts: 357
Location: Dimmed Cathode Ray Tube

PostPosted: Wed Nov 16, 2005 6:33 am    Post subject: Reply with quote

Missing gateway and/or overly-restrictive netmask.

Currently only your 192.168.3.x can talk to the outside world.

If you loosen the netmask from 255.255.255.0 to 255.255.248.0, you should be able to have 192.168.0.x access the 192.168.3.x gateway.
_________________
Clusters of Fry's Special, AMD 2200, 2 GB DDR, 220 GB (2008.1/desktop, stage 1, -O3) x8
HP Compaq Fry's SPecial, AMD 2100, 2 GB DDR, 260 GB (2008.0/server, stage 1, -O3)
Ultra Sparc 5, 256MB, 3GB (2006.1/server, stage 1, -O3)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum