Posted over 6 years ago. Visible to the public.

Turn of IPv6 on MacOSX (Mountain) Lion using command line

On MacOSX (Mountain) Lion, there is no way to turn IPv6 off using the Network settings.

If you don't know the exact interface name you want to turn IPv6 off, list all of them using:

Copy
networksetup -listallnetworkservices

Most of the time, you can just use the following commands for Ethernet and Wifi interfaces:

Copy
networksetup -setv6off Ethernet networksetup -setv6off Wi-Fi

To enable again, use:

Copy
networksetup -setv6on Ethernet networksetup -setv6on Wi-Fi

Owner of this card:

Avatar
ThEo.GFX
Last edit:
over 6 years ago
Posted by ThEo.GFX to ThEo.GFX's Cards
This website uses cookies to improve usability and analyze traffic.
Accept or learn more