[Bug 376392] [NEW] Enabling VPN connection in NetworkManager messes up routing table

Roger Froysaa roger at froysaa.no
Thu May 14 08:44:05 UTC 2009


Public bug reported:

Binary package hint: openvpn

When I enable a VPN connection using the NetworkManager, my routing
table gets all messed up (the default gateway is wrong - it worked in
8.10). If I disable the VPN connection it's ok again.

I'm using the network-manager-openvpn and openvpn packages.

The Ubuntu version is 9.04.
Eth0 is the wired NIC which is not used, eth1 is the wireless which is used.


NO VPN:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     2      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 eth1
0.0.0.0         0.0.0.0         0.0.0.0         U     1000   0        0 eth0

VPN ENABLED:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
85.19.79.136    192.168.2.1     255.255.255.255 UGH   0      0        0 eth1
192.168.200.21  0.0.0.0         255.255.255.255 UH    0      0        0 tun0
192.168.2.0     0.0.0.0         255.255.255.0   U     2      0        0 eth1
192.168.0.0     192.168.200.21  255.255.255.0   UG    0      0        0 tun0
192.168.200.0   192.168.200.21  255.255.255.0   UG    0      0        0 tun0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.200.21  0.0.0.0         UG    0      0        0 tun0
0.0.0.0         0.0.0.0         0.0.0.0         U     1000   0        0 eth0

========================================
ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:16:36:93:58:12  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 00:18:de:79:fd:e2  
          inet addr:192.168.2.113  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::218:deff:fe79:fde2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13493 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8702 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17903546 (17.9 MB)  TX bytes:1003923 (1.0 MB)

eth0:avahi Link encap:Ethernet  HWaddr 00:16:36:93:58:12  
          inet addr:169.254.3.246  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:224 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:16636 (16.6 KB)  TX bytes:16636 (16.6 KB)

wmaster0  Link encap:UNSPEC  HWaddr 00-18-DE-79-FD-E2-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: firefox-3.0 3.0.10+nobinonly-0ubuntu0.9.04.1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.28-11-generic i686

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Enabling VPN connection in NetworkManager messes up routing table
https://bugs.launchpad.net/bugs/376392
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