Bug 463340 - NM routed traffic over the slower of two interfaces.
Summary: NM routed traffic over the slower of two interfaces.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-22 22:50 UTC by Dave Jones
Modified: 2015-01-04 22:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-14 20:12:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2008-09-22 22:50:59 UTC
I had my laptop plugged into my router via gigabit ethernet, and started scp'ing ~10GB of data to another machine.  At some point, NM realised it could auth with my access point, and get to the same host via wireless..

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.0.0     U     0      0        0 wlan0
192.168.0.0     *               255.255.0.0     U     0      0        0 eth0
default         firewall.kernel 0.0.0.0         UG    0      0        0 eth0

At this point, the scp slowed to a crawl (measured in KB/s rather than MB/s)

When I did an ifdown wlan0, the speed went back up again.

If we have a routable interface via ethernet, why bother bringing up wireless unless we ask for it?  (especially if they both end up with the same netmask)

Comment 1 Nick Boldt 2008-11-07 19:35:53 UTC
+1. 

See also https://bugzilla.redhat.com/show_bug.cgi?id=454955 for similar request / rationale.

Comment 2 Dan Williams 2009-02-14 20:12:01 UTC
This should be fixed, NM will now use metrics with device routes so that faster devices (Ethernet > Wifi > Mobile Broadband) will have a lower metric, and thus be more preferred.


Note You need to log in before you can comment on or make changes to this bug.