Prioritizing between wwan and wlan



Hi!

Out of a IRC discussion, I got the impression that NM should prioritize wifi connections over mobile connections, but I don't see it:

Only wlan connected:

marius@marius-T1005:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         129.241.166.1   0.0.0.0         UG    0      0        0 wlan0
129.241.166.0   0.0.0.0         255.255.255.0   U     9      0        0 wlan0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0

Both wlan and 3G connected:

marius@marius-T1005:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         89.9.198.230    0.0.0.0         UG    0      0        0 wwan0
89.9.198.0      0.0.0.0         255.255.255.0   U     7      0        0 wwan0
129.241.166.0   0.0.0.0         255.255.255.0   U     9      0        0 wlan0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0

It seems like the last connected connection clears out the gateway of the old connections, and in the last case here, wwan gets the gateway and lower metric compared to the wwan that should be prioritized less than wifi...

--
Marius



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]