Here are some great MAC OSx command line entries you can make to examine and configure IPv6.
Let's start with some simple ones.
Since too many years ago, OSx has supported IPv6 so it is very likely to be turned on.
First, let's check the IFCONFIG -A from the Terminal Window (partial output shown):
You can see my machine is running "Dual Stack" since it has both IPv4 (inet) and IPv6 (inet6). Yours should be as well.
Next, let's take a slightly deeper dive with netstat.
The "netstat -r -f inet6" command displays the routing table in your computer (this may take some time to completely finish):
We can clearly see the IPv6 Routing table with the Link Local addresses, Global Unicast addresses (in my case), and the IPv6 Multicast groups.
Let's see if there has been any general IPv6 traffic on the interfaces. Now this next command will output a ton of statistics, and we only show a partial output here.
Try netstat -s -f inet6:
Near the bottom of the output will show various packet counts.
How about PING and TRACE ROUTE for IPv6? Sure. Here is how you Ping in IPv6:
Here are the ping6 options:
And here is the Trace route command:
Here are the Tracert options:
We hope this helps you get started on IPv6 on your MAC OSx machine.