NetworkManager add unnecessary route entry for VPN connection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager-OpenVPN |
New
|
Undecided
|
Unassigned | ||
network-manager-pptp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-
On Intrepid:
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
description: | updated |
I'd like to confirm I have the same bug using 64bit Intrepid with all updates as of 11th December 2008.
I can resolve the issue by placing a script in /etc/ppp/ip-up.d/ that removes the erroneous route with "route del foo"