Linux and Windwos - Ping from specific network adapter on Windows
Hi,
we have a problem - we are angry with the internet connection and I don't know if this is a problem with the internet provider or with our network. The laptop is connected via both cable and wifi. If I want to specify that I want to ping via cable and then ping via wifi, then how should I do it? Possible? Thank you
Hello,
on Linux it's very simple if you want to send one ping over the enp0s25 network, so it would be
For windows, this would have to be specified using the source IP address on that network (if I'm not mistaken) as follows:
we have a problem - we are angry with the internet connection and I don't know if this is a problem with the internet provider or with our network. The laptop is connected via both cable and wifi. If I want to specify that I want to ping via cable and then ping via wifi, then how should I do it? Possible? Thank you
REPLY
Hello,
on Linux it's very simple if you want to send one ping over the enp0s25 network, so it would be
ping 8.8.8.8 -I enp0s25
and another ping over the wifi network wlp2s0 would be ping 8.8. 8.8 -I wlp2s0
.For windows, this would have to be specified using the source IP address on that network (if I'm not mistaken) as follows:
ping 8.8.8.8 -S 10.0.0.150
(for ethernet network with IP 10.0.0.150) ping 8.8.8.8 -S 192.168.7.5
(for wifi network with IP 192.168.7.5)