[Bug 364844] Re: network-manager-vpnc produces incorrect routing table

Sigurður Guðbrandsson siggi at siggi-heima.dyndns.org
Wed May 6 14:18:23 UTC 2009


Just wanted to add, when I use vpnc-connect I get the following routes
when connected (note, different site though, and i'm on a different
network right now..)

I connect using 'sudo vpnc-connect /path/to/profile.conf'

-----------------------------------------------------
nikkiclau at ubuntu:~$ route -ne
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.192.193.192 0.0.0.0         255.255.255.255 UH        0 0          0 tun0
192.168.1.100   0.0.0.0         255.255.255.255 UH        0 0          0 tun0
192.168.2.100   0.0.0.0         255.255.255.255 UH        0 0          0 tun0
193.4.252.190   10.177.22.254   255.255.255.255 UGH    1500 0          0 wlan0
192.168.39.100  0.0.0.0         255.255.255.255 UH        0 0          0 tun0
192.193.194.0   0.0.0.0         255.255.255.0   U         0 0          0 tun0
192.192.193.0   0.0.0.0         255.255.255.0   U         0 0          0 tun0
192.192.192.0   0.0.0.0         255.255.255.0   U         0 0          0 tun0
10.0.40.0       0.0.0.0         255.255.255.0   U         0 0          0 tun0
10.177.0.0      0.0.0.0         255.255.0.0     U         0 0          0 wlan0
0.0.0.0         10.177.22.254   0.0.0.0         UG        0 0          0 wlan0
nikkiclau at ubuntu:~$ ping google.is
PING google.is (74.125.77.104) 56(84) bytes of data.
64 bytes from ew-in-f104.google.com (74.125.77.104): icmp_seq=1 ttl=247 time=56.6 ms
64 bytes from ew-in-f104.google.com (74.125.77.104): icmp_seq=2 ttl=247 time=55.3 ms
64 bytes from ew-in-f104.google.com (74.125.77.104): icmp_seq=3 ttl=247 time=56.7 ms
^C
--- google.is ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 55.341/56.261/56.773/0.651 ms
nikkiclau at ubuntu:~$
-------------------------------------

For comparison, I connected to the same site using NM and get the fubar routes (note that it's missing even all the routes that are given by the other end-point[router])
As you can see, the routes are a bit different, and I believe that this is what is needs to be fixed. (i'll come up with a patch if I get the time to debug this).

-------------------------------------
nikkiclau at ubuntu:~$ route -ne
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.177.0.0      0.0.0.0         255.255.0.0     U         0 0          0 wlan0
0.0.0.0         10.177.22.254   0.0.0.0         UG        0 0          0 wlan0
nikkiclau at ubuntu:~$ route -ne
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.100   0.0.0.0         255.255.255.255 UH        0 0          0 tun0
193.4.252.190   10.177.22.254   255.255.255.255 UGH       0 0          0 wlan0
192.168.2.100   0.0.0.0         255.255.255.255 UH        0 0          0 tun0
192.168.39.100  0.0.0.0         255.255.255.255 UH        0 0          0 tun0
192.193.194.0   0.0.0.0         255.255.255.0   U         0 0          0 tun0
192.192.193.0   0.0.0.0         255.255.255.0   U         0 0          0 tun0
192.192.192.0   0.0.0.0         255.255.255.0   U         0 0          0 tun0
10.0.40.0       0.0.0.0         255.255.255.0   U         0 0          0 tun0
10.177.0.0      0.0.0.0         255.255.0.0     U         0 0          0 wlan0
0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0 tun0
nikkiclau at ubuntu:~$ ping google.is
PING google.is (72.14.221.104) 56(84) bytes of data.
^C
--- google.is ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6046ms

nikkiclau at ubuntu:~$ route -ne
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.177.0.0      0.0.0.0         255.255.0.0     U         0 0          0 wlan0
0.0.0.0         10.177.22.254   0.0.0.0         UG        0 0          0 wlan0
nikkiclau at ubuntu:~$ ping google.is
PING google.is (72.14.221.104) 56(84) bytes of data.
64 bytes from fg-in-f104.google.com (72.14.221.104): icmp_seq=1 ttl=247 time=72.3 ms
64 bytes from fg-in-f104.google.com (72.14.221.104): icmp_seq=2 ttl=247 time=63.8 ms
^C
--- google.is ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 63.801/68.068/72.335/4.267 ms
nikkiclau at ubuntu:~$

-- 
network-manager-vpnc produces incorrect routing table
https://bugs.launchpad.net/bugs/364844
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list