On 05/22/2017 10:28 AM, James Knott wrote:
When I run route -n, after disconnecting the Ethernet cable, WiFi is still shown with a metric of 600, but Ethernet is no longer listed. I use network manager on my notebook. On my desktop, with static configuration, the Ethernet metric is 0.
Here's what "ip route show" reveals: "> ip route show default via 172.16.1.1 dev eth0 proto static metric 100 default via 172.16.1.1 dev wlan0 proto static metric 600 172.16.1.0/24 dev eth0 proto kernel scope link src 172.16.1.42 metric 100 172.16.1.0/24 dev wlan0 proto kernel scope link src 172.16.1.40 metric 600" At the moment, the default route is via eth0, as it has the lower metric. When I disconnect the Ethernet cable, I get: "> ip route show default via 172.16.1.1 dev wlan0 proto static metric 600 172.16.1.0/24 dev wlan0 proto kernel scope link src 172.16.1.40 metric 600" And now my default route is via WiFi, the only route available. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org