diff options
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 2cf5d6d1..d8f5d132 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -260,6 +260,11 @@ else ( sleep 2; arping -q -U -c 1 -I ${REALDEVICE} ${IPADDR} ) > /dev/null 2>&1 < /dev/null & + # Add Zeroconf route. + if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then + ip route replace 169.254.0.0/16 dev ${REALDEVICE} + fi + # Set a default route. if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${REALDEVICE}" ]; then # set up default gateway. replace if one already exists |