First open Network Preferences which could be found under your internet connections.
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 -listallnetworkservices |
...
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
...
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