Thread: PPTP routing
View Single Post
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#4
Please note this is accurate, but the names and IP addresses have been changed to protect the innocent... ;-)

Any ideas you can suggest would be great !! Sorry so long :-(




Nokia770-26:~# ifconfig


ppp0 Link encap:Point-Point Protocol
inet addr:10.0.100.217 P-t-P:139.108.201.82 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:12177 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:70 (70.0 B) TX bytes:5004700 (4.7 MiB)

wlan0 Link encap:Ethernet HWaddr 00:14:A7:FA:36:AE
inet addr:192.168.0.30 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11271 errors:0 dropped:0 overruns:0 frame:0
TX packets:12851 errors:4 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1755292 (1.6 MiB) TX bytes:1416930 (1.3 MiB)



Nokia770-26:~# ping 10.0.100.217
PING 10.0.100.217 (10.0.100.217): 56 data bytes
64 bytes from 10.0.100.217: icmp_seq=0 ttl=64 time=0.5 ms
64 bytes from 10.0.100.217: icmp_seq=1 ttl=64 time=0.3 ms

--- 10.0.100.217 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.4/0.5 ms


Nokia770-26:~# ping 139.108.201.82
PING 139.108.201.82 (139.108.201.82): 56 data bytes

--- 139.108.201.82 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss


Nokia770-26:~# ping 10.0.100.1
PING 10.0.100.1 (10.0.100.1): 56 data bytes

--- 10.0.100.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss


Nokia770-26:~# ping 10.0.100.199
PING 10.0.100.199 (10.0.100.199): 56 data bytes

--- 10.0.100.199 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss



Nokia770-26:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
139.108.201.82 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0

Nokia770-26:~# route del default
Nokia770-26:~# route add default gw 139.108.201.82 dev ppp0
Nokia770-26:~# route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
139.108.201.82 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
default 139.108.201.82 0.0.0.0 UG 0 0 0 ppp0


__________________________________________________ _____

You can see I setup the default route but it does not matter because I can not ping 139.108.201.82

Nothing seems to be working, I can not even ping the other end of the tunnel

Below is the debug from my connection, it all looks ok, there is the one proxy arp error is this something to worry about?

__________________________________________________ _____



Nokia770-26:/lib/modules# pon ALLIANCE debug dump logfd 2 nodetach
pppd options in effect:
debug # (from command line)
nodetach # (from command line)
persist # (from /etc/ppp/peers/ALLIANCE)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/options.pptp)
name NAME # (from /etc/ppp/peers/ALLIANCE)
remotename PPTP # (from /etc/ppp/peers/ALLIANCE)
# (from /etc/ppp/options.pptp)
pty /usr/bin/pptp0 139.108.201.82 --nolaunchpppd # (from /etc/ppp/peers/ALLIANCE)
crtscts # (from /etc/ppp/options)
# (from /etc/ppp/options)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/options)
ipparam ALLIANCE # (from /etc/ppp/peers/ALLIANCE)
defaultroute # (from /etc/ppp/peers/ALLIANCE)
proxyarp # (from /etc/ppp/options)
nobsdcomp # (from /etc/ppp/options.pptp)
nodeflate # (from /etc/ppp/options.pptp)
require-mppe-128 # (from /etc/ppp/peers/ALLIANCE)
noipx # (from /etc/ppp/options)
using channel 21
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x815f68b8> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth chap MS> <magic 0x784883ed>]
sent [LCP ConfAck id=0x1 <auth chap MS> <magic 0x784883ed>]
rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <magic 0x815f68b8>]
rcvd [LCP ConfAck id=0x2 <magic 0x815f68b8>]
sent [LCP EchoReq id=0x0 magic=0x815f68b8]
rcvd [CHAP Challenge id=0x1 <c01a8d384ea76c8a>, name = ""]
sent [CHAP Response id=0x1 <000000000000000000000000000000000000000000000000d 069dbabbdb791dc85ddb8a2035090ce82580b0ced2e477201> , name = "Mlewis"]
rcvd [LCP EchoRep id=0x0 magic=0x784883ed]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
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 ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x2 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 139.108.201.82>]
sent [IPCP ConfAck id=0x1 <addr 139.108.201.82>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 10.0.100.217>]
sent [IPCP ConfReq id=0x3 <addr 10.0.100.217>]
rcvd [IPCP ConfAck id=0x3 <addr 10.0.100.217>]
not replacing default route to wlan0 [192.168.0.1]
Cannot determine ethernet address for proxy ARP
local IP address 10.0.100.217
remote IP address 139.108.201.82
Script /etc/ppp/ip-up started (pid 1634)
Script /etc/ppp/ip-up finished (pid 1634), status = 0x0