removing legacy net-tools dependency, going to iproute2 tools
This commit is contained in:
parent
d3f593888e
commit
088830f07a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue