deactivate ipv6
This commit is contained in:
parent
74306b77c5
commit
3ab5964e91
@ -31,6 +31,9 @@ ip addr flush dev "${NIC}"
|
|||||||
ip route flush dev "${NIC}"
|
ip route flush dev "${NIC}"
|
||||||
echo > /etc/resolv.conf
|
echo > /etc/resolv.conf
|
||||||
|
|
||||||
|
# deactivate ipv6
|
||||||
|
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
|
||||||
|
|
||||||
# configure nic without ip address and without arp
|
# configure nic without ip address and without arp
|
||||||
ip addr add 0.0.0.0/32 dev "${NIC}"
|
ip addr add 0.0.0.0/32 dev "${NIC}"
|
||||||
ip link set "${NIC}" arp off up
|
ip link set "${NIC}" arp off up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user