Quote:
Originally Posted by Poetics
Try ping -I [interface]
|
Note that not all versions of “
ping” support this option. In particular, I don’t think GNU’s own version (à la
inetutils) supports it. Some distros use the version from
inetutils and some use the version from
iputils (which does happen to support the option). The *BSDs support the option to varying degrees. I think Sun’s
ping supports the option as a lowercase “
-i” (opposite from the others).
You might also “create traffic on a second NIC” by temporarily changing the routing tables. Of course this usually requires superuser privileges (but for that matter, so does
ping).