On 04/02/2017 04:15 PM, John Andersen wrote:
On 04/02/2017 12:27 PM, James Knott wrote:
Are the Ethernet and WiFi connections on the same network? If so, only one will be usable. This is entirely normal, due to something called "metric". This represents the cost of using the connection and the lowest cost will be used. Use the "ip route show" command to see what the metrics are. On my notebook, WiFi is 600 and Ethernet 100, so Ethernet will be used. When the Ethernet cable is disconnected, only the WiFi connection is listed, with a metric of 600 and is used. When you tell ping to use a specific interface, you have already overridden metric.
I just tried forcing wlan0 and it went out over Ethernet, when both WiFi and Ethernet are on the same network. When I connect Ethernet to a different network, then the pings go out over the WiFi. So, it appears the ip route metric overrides the ping -I <interface> and chooses the lowest cost path regardless. I created the 2nd network by plugging a NAT router into my network and then connecting the Ethernet port of my notebook to it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org