arpsend comes along with ndsend with vzctl package.
We send only one packet in order not to delay ifup script.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
# Send GARP from host to upstream router
get_uplink $TABLE
echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind
- $SNF_NETWORK_LOG $0 "arping -c3 -I $UPLINK -U $IP"
- arping -c3 -I $UPLINK -U $IP
+ $SNF_NETWORK_LOG $0 "arpsend -U -i $IP -c1 $UPLINK"
+ arpsend -U -i $IP -c1 $UPLINK
echo 0 > /proc/sys/net/ipv4/ip_nonlocal_bind
}