--- net.eth0.orig 2004-03-18 09:18:51.000000000 +0300 +++ net.eth0 2004-03-24 15:12:47.778553624 +0300 @@ -139,6 +139,13 @@ then echo 1 > /proc/sys/net/ipv4/conf/${IFACE}/rp_filter fi + + # Add static ARP entries from /etc/ethers + if [ -s /etc/ethers ] + then + gawk '{system("arp -s "$2" "$1)}' /etc/ethers + fi + } iface_stop() { @@ -150,6 +157,12 @@ ebegin "Bringing ${IFACE} down" + # Remove static entries from ARP cache + if [ -s /etc/ethers ] + then + gawk '{system("arp -d "$2)}' /etc/ethers + fi + # Also down the inet6 interfaces if [ -n "${myinet6}" ] then