Disabling IPv6 on OS X 10.13
Disable IPv6 on your machine with the following commands in Terminal (Accessible through /Applications/Terminal.app)
To Get List of Hardware
networksetup -listallhardwareports
To Disable IPv6 on WiFi Adapter
sudo networksetup -setv6off wi-fi
To Disable IPv6 on Built-in Ethernet Adapter
sudo networksetup -setv6off Ethernet
To Disable IPv6 on Thunderbolt-base Ethernet Adapter
sudo networksetup -setv6off "Thunderbolt Ethernet"
Enabling IPv6 on OS X 10.13
Enable IPv6 on your machine with the following commands in Terminal (Accessible through /Applications/Terminal.app)
To Enable IPv6 on WiFi Adapter
sudo networksetup -setv6automatic wi-fi
To Enable IPv6 on Built-in Ethernet Adapter
sudo networksetup -setv6automatic Ethernet
To Enable IPv6 on Thunderbolt-base Ethernet Adapter
sudo networksetup -setv6automatic "Thunderbolt Ethernet"