On 04/02/2017 09:48 PM, James Knott wrote:
On 04/02/2017 08:58 PM, John Andersen wrote:
On 04/02/2017 01:52 PM, James Knott wrote:
So, it appears the ip route metric overrides the ping -I <interface> and chooses the lowest cost path regardless. Nope.
ping -I wlan0 lists.opensuse.org will never go out any other interface than wlan0. Metric plays no part.
Actually, I tried it and watched what happened with Wireshark. I also verified the arp cache to see what MAC address was used. As I mentioned, I tried it first with both interfaces on the same network and even though I specified WiFi, it went via Ethernet. When I put the Ethernet port on a different network, the ping then went via WiFi.
BTW, I agree specifying the interface should take precedence over the metric, but it doesn't appear to. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org