removing legacy net-tools dependency, going to iproute2 tools

This commit is contained in:
toby 2019-04-12 05:22:28 +00:00
parent d3f593888e
commit 088830f07a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ gwmac() {
}
ip link set ${IFACE} address $(gwmac $PUBLICMAC) up
arp -i ${IFACE} -s 169.254.0.1 ${PUBLICMAC}
ip neigh add 169.254.0.1 lladdr ${PUBLICMAC} nud permanent dev ${IFACE}
sysctl -w net.ipv4.conf.${IFACE/./\/}.arp_ignore=8
IFS=',' read -ra IPS <<< "$IP"