You have been subscribed to a public bug:

1) The version and edition of Linux Mint you are using (if you are not
sure, open a terminal and run "mintwelcome").

Release: 1 (debian)
Edition: Debian 64-bit

2) What you did for the problem to happen, and how to reproduce it.

In NetworkManager, I configured both wired and wireless network
interfaces to connect to the same network. I set both interfaces to
"Off" in NetworkManager. I then turned on and connected the wireless
interface. After the wireless interface was connected, I turned on and
connected the wired interface.

3) What happened.

When only the wireless network was connected, both the local subnet
route and default route went over the wireless connect, the only one
available. Upon connection of the wired interface, NetworkManager
properly prioritizes the wired interface for the default route, but left
the wireless network prioritized for the local subnet route. Here is an
example of the improper routing table, notice that the route for wlan0
appears above the route for eth0:

default via 192.168.77.254 dev eth0  proto static 
192.168.77.0/24 dev wlan0  proto kernel  scope link  src 192.168.77.41 
192.168.77.0/24 dev eth0  proto kernel  scope link  src 192.168.77.40 

This is due to the order of the routes in the routing table that results
from the order that the network connects were enabled. If the order of
connection is reversed, so are the local subnet routes, correcting the
issue.

4) What you expected to happen instead.

I expected the wired network to be prioritized for both the default
route and local subnet route, producing a routing table something like
this:

default via 192.168.77.254 dev eth0  proto static 
192.168.77.0/24 dev wlan0  proto kernel  scope link  src 192.168.77.41 metric 1
192.168.77.0/24 dev eth0  proto kernel  scope link  src 192.168.77.40 metric 0

5) If the problem happened once, sometimes, or always.

This problem always happens. At some point in the past the network
routes were handled properly, producing a routing table that looked like
this:

default via 192.168.77.254 dev wlan0  proto static metric 1
default via 192.168.77.254 dev eth0  proto static metric 0
192.168.77.0/24 dev wlan0  proto kernel  scope link  src 192.168.77.41 metric 1
192.168.77.0/24 dev eth0  proto kernel  scope link  src 192.168.77.40 metric 0

6) Possible relevant reference.

I found a NetworkManager a couple of bugs about this issue that indicates this 
is a problem with libnl3. Here is the NetworkManager bug report:
https://bugzilla.gnome.org/show_bug.cgi?id=659983
https://bugzilla.gnome.org/show_bug.cgi?id=659984

The second NetworkManager bug (659984) references a libnl mailing list message 
indicating a fix to the issue. Here is that post:
http://lists.infradead.org/pipermail/libnl/2011-October/000360.html

** Affects: linuxmint
     Importance: Undecided
         Status: New

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: debian
     Importance: Undecided
         Status: New

** Affects: fedora
     Importance: Unknown
         Status: Unknown

-- 
NetworkManager mishandles multiple interfaces on same subnet
https://bugs.launchpad.net/bugs/1012211
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to network-manager in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to