[Bug 328508] [NEW] Wrong route after VPN connection
Fabio Marzocca
thesaltydog at gmail.com
Thu Feb 12 12:55:14 UTC 2009
Public bug reported:
Binary package hint: network-manager-pptp
Intrepid 8.10
No way to use internet external after a VPN connection, due to wrong route table.
When I connect to my VPN using Network Manager, I end up with the wrong
route table. Here's what I start with:
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
After connecting, I get this:
Destination Gateway Genmask Flags MSS Window irtt Iface
65.237.0.254 192.168.0.1 255.255.255.255 UGH 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
I don't think the first entry should appear in my route table. There's
no reason for that. Also, the default route has been changed to ppp0. I
don't want that. From my /var/log/messages file, I can see the endpoint
of the tunnel:
Feb 12 08:13:06 localhost pppd[5046]: local IP address 10.6.250.118
Feb 12 08:13:06 localhost pppd[5046]: remote IP address 10.6.250.25
I would expect the 10.6.250.25 to appear in the route table, if
anything.
Here's what I do manually to get back to normal:
sudo route add -net 10.6.0.0 netmask 255.255.0.0 dev ppp0
sudo route add -net default gw 192.168.0.1
sudo route del -net default dev ppp0
Now I have:
Destination Gateway Genmask Flags MSS Window irtt Iface
64.238.111.254 192.168.0.1 255.255.255.255 UGH 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.6.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ppp0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
and all works fine.
The nm-applet doesn't have a way to control my default route and won't
let me route my private networks via an interface -- the routes I can
add insist on an IP address for the gateway.
** Affects: network-manager-pptp (Ubuntu)
Importance: Undecided
Status: New
--
Wrong route after VPN connection
https://bugs.launchpad.net/bugs/328508
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