Comment 44 for bug 113622

Revision history for this message
Patrik Nilsson (nipatriknilsson) wrote :

Below are three connection attempts which failed the first time to properly connect to the VPN-server. Most often the default route is not set properly and when hung up not all routing entries were always deleted.

The pptp-plugin reported every time that the connection succeeded.

patrik@ubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.232.200.166 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
1.2.96.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
patrik@ubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.232.200.166 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
1.2.96.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
patrik@ubuntu:~$

patrik@ubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.232.200.166 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.166 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
1.254.6.14 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
patrik@ubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.232.200.166 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.166 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
1.2.96.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0

patrik@ubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
1.254.6.14 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
patrik@ubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.232.200.166 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.166 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
213.232.200.200 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
1.2.96.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
patrik@ubuntu:~$