From 43589485257035886580990768def01ece32e486 Mon Sep 17 00:00:00 2001 From: Dimitris Aragiorgis Date: Tue, 4 Mar 2014 14:49:08 +0200 Subject: [PATCH 1/1] Use arpsend instead of arping 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 --- common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.sh b/common.sh index 208ae02..a3b03d8 100755 --- a/common.sh +++ b/common.sh @@ -71,8 +71,8 @@ function routed_setup_ipv4 { # 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 } -- 1.7.10.4