Skip to content

Instantly share code, notes, and snippets.

@cosjef
Created July 1, 2013 03:19
Show Gist options
  • Save cosjef/5898157 to your computer and use it in GitHub Desktop.
Save cosjef/5898157 to your computer and use it in GitHub Desktop.
Disable IPV6 on Mountain Lion (10.8.4)
public
anonymous / gist:5898150
Created just now
Disable IPV6 Mountain Lion (10.8.4)
Gist Detail
Revisions 1
Clone this gist
Embed this gist
Link to this gist
gistfile1.txt
$ ifconfig
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 9000
options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
ether 00:1f:29:58:75:0e
inet6 fe80::21f:29ff:fe58:750e%en0 prefixlen 64 scopeid 0x4
inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
media: 1000baseT <full-duplex,flow-control>
status: active
$ networksetup -listnetworkserviceorder
An asterisk (*) denotes that a network service is disabled.
(1) Ethernet Adaptor (en0)
(Hardware Port: Ethernet, Device: en0)
$ networksetup -setv6off "Ethernet Adaptor (en0)"
$ifconfig
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 9000
options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
ether 00:1f:29:58:75:0e
inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
media: 1000baseT <full-duplex,flow-control>
status: active
This also adds the "Off" drop-down menu item in System Preferences/Network/en0/Advanced/Configure IPV6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment