Skip to content

Instantly share code, notes, and snippets.

@Rupreht
Last active August 22, 2020 23:57
Show Gist options
  • Save Rupreht/74e7993e1084abf5ba67b8ad642993f0 to your computer and use it in GitHub Desktop.
Save Rupreht/74e7993e1084abf5ba67b8ad642993f0 to your computer and use it in GitHub Desktop.
macOS Catalina: How to Disable IPv6

Disable IPv6

sudo networksetup -setv6off Wi-Fi

Enable IPv6

Set the service to get its IPv6 info automatically.

networksetup -setv6automatic <networkservice> 

Set the service to use its IPv6 only for link local.

networksetup -setv6LinkLocal <networkservice> 

Set the service to get its IPv6 info manually.

networksetup -setv6manual <networkservice> <address> <prefixlength> <router>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment