aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-eth
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2017-07-10 18:16:35 +0200
committerDee'Kej <deekej@linuxmail.org>2017-07-14 17:22:22 +0200
commita5361886ac6d7b0b72ea5765b175a96a4521dc2a (patch)
tree9701da2c686127d7fdb2fb08051fd9ea525545f3 /sysconfig/network-scripts/ifup-eth
parentdaa222a8d2a3a56837900c2ff3495c6484481370 (diff)
downloadinitscripts-a5361886ac6d7b0b72ea5765b175a96a4521dc2a.tar
initscripts-a5361886ac6d7b0b72ea5765b175a96a4521dc2a.tar.gz
initscripts-a5361886ac6d7b0b72ea5765b175a96a4521dc2a.tar.bz2
initscripts-a5361886ac6d7b0b72ea5765b175a96a4521dc2a.tar.xz
initscripts-a5361886ac6d7b0b72ea5765b175a96a4521dc2a.zip
ARPUPDATE introduced
The ARPUPDATE option has been introduced. It defaults to 'yes'. By setting the ARPUPDATE to 'no', administrator can disable updating neighbouring computers with ARP information about current NIC. This is especially needed when using LVS Load Balancing with Direct routing enabled.
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 3da5c16b..5096a5d8 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -274,7 +274,7 @@ else
fi
# update ARP cache of neighboring computers
- if [ "${REALDEVICE}" != "lo" ]; then
+ if ! is_false "${arpupdate[$idx]}" && [ "${REALDEVICE}" != "lo" ]; then
/sbin/arping -q -A -c 1 -I ${REALDEVICE} ${ipaddr[$idx]}
( sleep 2;
/sbin/arping -q -U -c 1 -I ${REALDEVICE} ${ipaddr[$idx]} ) > /dev/null 2>&1 < /dev/null &