Before connection to VPN server is established, routing table look like:
oberon@titania:/$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.5.40.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 10.5.40.1 0.0.0.0 UG 0 0 0 eth0
And after it is established:
oberon@titania:/$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.5.20.1 10.5.40.1 255.255.255.255 UGH 0 0 0 eth0
172.16.1.1 10.5.40.1 255.255.255.255 UGH 0 0 0 eth0
10.5.40.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
For make connection to work, I need to delete bogus route:
oberon@titania:~$ sudo route del 172.16.1.1
Binary package hint: network- manager- pptp
On Intrepid: manager- pptp manager- pptp: 5t024626- 0ubuntu1. 8.10.1 5t024626- 0ubuntu1. 8.10.1 5t024626- 0ubuntu1. 8.10.1 0 ua.archive. ubuntu. com intrepid- proposed/ universe Packages dpkg/status 7~~svn20081015t 024626- 0ubuntu1 0 ua.archive. ubuntu. com intrepid/universe Packages
oberon@titania:/$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
With package:
oberon@titania:~$ apt-cache policy network-
network-
Installed: 0.7~~svn2008101
Candidate: 0.7~~svn2008101
Version table:
*** 0.7~~svn2008101
500 http://
100 /var/lib/
0.
500 http://
Before connection to VPN server is established, routing table look like:
oberon@titania:/$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.5.40.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 10.5.40.1 0.0.0.0 UG 0 0 0 eth0
And after it is established:
oberon@titania:/$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.5.20.1 10.5.40.1 255.255.255.255 UGH 0 0 0 eth0
172.16.1.1 10.5.40.1 255.255.255.255 UGH 0 0 0 eth0
10.5.40.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
For make connection to work, I need to delete bogus route:
oberon@titania:~$ sudo route del 172.16.1.1