gratiutous ARP with arping

From thelinuxwiki
Revision as of 07:40, 9 May 2014 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

to manually send a gratuitous ARP to the broadcast address, run...

# arping -U 192.168.100.50 -I eth1 -c 1

if you receive an error...

bind: Cannot assign requested address

then you need to enable non local ip binding

# echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind

to make the setting permanent,

# echo "net.ipv4.ip_nonlocal_bind = 1" >> /etc/sysctl.conf


links

[1]