Lines Matching refs:ipaddr
2990 ipaddr=
2995 ipaddr=${1%/*}
2996 if [ "$1" != "$ipaddr" ]; then
3001 pfx="${ipaddr}/${pfxlen}"
3021 if [ "$ipaddr" != "" -a "$ipaddr" != "127.0.0.1" ]; then
3022 ip address add $ipaddr dev $dev
3043 if [ "$ipaddr" = "" ]; then
3057 if ! arping -q -c 2 -w 3 -D -I $dev $ipaddr ; then
3058 echo "Address $ipaddr is busy, trying DHCP..." 1>&2
3079 arping -A -c 1 -I $dev $ipaddr
3082 arping -U -c 1 -I $dev $ipaddr ) >& /dev/null </dev/null &
3236 ipaddr=
3239 ipaddr=${1%/*}
3240 if [ "$1" != "$ipaddr" ]; then
3243 if [ "$ipaddr" = "" ]; then
3261 pfx="$ipaddr peer $peer"
3264 ABCMaskLen $ipaddr
3267 pfx="$ipaddr/$pfxlen"
3269 if [ "$ldev" = "$dev" -a "$ipaddr" != "" ]; then
3293 if [ "$ipaddr" = "" ]; then exit 0; fi
3302 if ! arping -q -c 2 -w 3 -D -I $dev $ipaddr ; then
3303 echo "Error: some host already uses address $ipaddr on $dev." 1>&2
3320 arping -q -A -c 1 -I $dev $ipaddr
3323 arping -q -U -c 1 -I $dev $ipaddr ) >& /dev/null </dev/null &