difference between "ping -I INTERFACE" and "ping -I IPADDRESS" ?

JB jb.1234abcd at gmail.com
Thu Sep 29 13:23:23 UTC 2011


Frantisek Hanzlik <franta <at> hanzlici.cz> writes:

> ...

Just a wild guess if you want to try.

Turn off ICMP redirect:
# echo "0' > /proc/sys/net/ipv4/conf/all/accept_redirects
# echo "0" > /proc/sys/net/ipv4/conf/all/send_redirects

Flush arp cache:
# ip neigh flush all

Flush the route cache:
# ip route flush cache
 
Now try *separate* entries:
# ping -n -c 2 -I source_ip target_ip     
# ping -n -c 2 -I source_if target_ip

JB




More information about the users mailing list