Disable IPv6 Temporarily | Disable IPv6 Temporarily

Terminal

#ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.222 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::2a0:d1ff:fe9c:28c8/64 scopeid 0x20
ether 00:a0:d1:9c:28:c8 txqueuelen 1000 (Ethernet)
RX packets 171 bytes 20101 (19.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 163 bytes 22220 (21.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Get the inet6 address, then

Terminal
#ifconfig eth0 inet6 del fe80::2a0:d1ff:fe9c:28c8/64
 Or
Terminal
#sysctl net.ipv6.conf.all.disable_ipv6=1

Comments

Leave a Reply to Jim Cancel reply

Your email address will not be published. Required fields are marked *

7 + 7 =