...
...
...
...
...
...
...
Disable
Open Network Preferences through: Applications > System Preferences > Network
Disabling IPv6 on macOS
To disable IPv6 on your machine with the following commands in Terminal (Accessible through /Applications/Terminal.app)
To Get List of Hardware
Code Block |
---|
networksetup -listallhardwareports |
To Disable IPv6 on WiFi Adapter
Code Block |
---|
sudo networksetup -setv6off wi-fi |
...
listallnetworkservices |
This is to double check the interface names recognized by the operating system matches those in Network Preferences.
To Disable IPv6 on Desired Interface
Code Block |
---|
sudo networksetup -setv6off Ethernet |
To Disable IPv6 on Thunderbolt-base Ethernet Adapter
Code Block |
---|
sudo networksetup -setv6off "Thunderbolt Ethernet" |
...
"Interface_Name" |
Note: Change "Interface_Name" to the name of the desired interface you wish to disable. (NOT case sensitive)
Enabling IPv6 on macOS
Enable IPv6 on your machine with the following commands in Terminal (Accessible through /Applications/Terminal.app)
To Enable IPv6 on
...
Desired Interface
Code Block |
---|
sudo networksetup -setv6automatic wi-fi |
To Enable IPv6 on Built-in Ethernet Adapter
Code Block |
---|
sudo networksetup -setv6automatic Ethernet |
To Enable IPv6 on Thunderbolt-base Ethernet Adapter
Code Block |
---|
sudo networksetup -setv6automatic "Thunderbolt Ethernet""Interface_Name" |
Note: Change "Interface_Name" to the name of the desired interface you wish to enable. (NOT case sensitive)
This has been tested to work on v10.12 and v10.13