Ping from a Specific NIC
typesh
Member Posts: 168
Hey everyone,
I was wondering if there is a command to allow a ping from a specific interface?
If a PC has 2 NICs and you want to have a ping come from a specific one, how would you do this from the command prompt (using XP).
I came across the command ping x.x.x.x -s [number of interface]
This does not seem to work though..
Thank you.
I was wondering if there is a command to allow a ping from a specific interface?
If a PC has 2 NICs and you want to have a ping come from a specific one, how would you do this from the command prompt (using XP).
I came across the command ping x.x.x.x -s [number of interface]
This does not seem to work though..
Thank you.
Comments
-
casper_online1 Member Posts: 1 ■□□□□□□□□□enter of 1NIC any IP From Any class, and enter of 2NIC any IP From Another class ,and Ping From 1NIC To 2NIC and opesict
-
JDMurray Admin Posts: 13,090 AdminThe ping will be sent over the NIC that matches the network destination in your PC's routing table. Therefore, the IP address given to the ping command will determine the NIC used to send the ping. Use the ROUTE PRINT command to check the NIC it will be sent from. You can also use two instances of Wireshark to montor each NIC and observe the ping traffic.