Networking/Computing Tips/Tricks

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):

Screen Shot 2016 11 17 at 3.24.32 PM

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):

Screen Shot 2016 11 17 at 3.30.12 PM

 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:

Screen Shot 2016 11 17 at 3.43.29 PM


Near the bottom of the output will show various packet counts. 

Pretty cool.

How about PING and TRACE ROUTE for IPv6?  Sure.  Here is how you Ping in IPv6:

Screen Shot 2016 11 17 at 3.47.01 PM

Here are the ping6 options:

Screen Shot 2016 11 17 at 3.48.38 PM

And here is the Trace route command:

Screen Shot 2016 11 17 at 4.00.40 PM


Here are the Tracert options:

Screen Shot 2016 11 17 at 4.01.48 PM


We hope this helps you get started on IPv6 on your MAC OSx machine.

Comments powered by CComment

Find by Tag

4G Networks 5G Networks 6LoWLAN 6LoWPAN 802.11 802.11ah 802.11ax 802.11ay 802.11az Addressing Analysis Ansible Architecture ARP AToM Baseline BGP Bloom's Taxonomy Broadband Cable cat CellStream Cellular Central Office Cheat Sheet Chrome Cisco Cloud CMD Coloring Rules Computer Consulting Customer Support Data Center Data Networking DHCPv6 DNS Docker Documentation Dublin-Traceroute dumpcap ECMP Ethernet Ethics Evaluation Field Operations Fragmentation G-MPLS GeoIP Git GNS3 Google GQUIC Hands-On History Home Network ICMP ICMPv6 IEEE 802.11p IEEE 802.15.4 India Interface Control Internet IoT IPsec IPv4 IPv6 IRINN IS-IS L2VPN L3VPN LDP Linux LLN LoL M-BGP MAC Macro Microsoft mininet Monitoring MPLS mtr MTU Multicast Name Resolution Netcat Netmiko NetMon netsh Networking Network Science nmap Npcap NSE Observations Online School OpenFlow OSPF OSPFv2 OSPFv3 OSX OTT Paris-Traceroute Parrot PIM PMTU Policy POTS POTS to Pipes PPP Profile Programming Project Management PW3E Python QoS QUIC Remote Desktop Requirements Resume RIP Routing RPL RSVP Rural SDN Security Service Provider Small Business SONET Speed SS7 SSH SSL Subnetting SYSCTL T-Shark TCP TCP/IP Telco Telecom 101 Telecommunications Telephone termshark Testing TLS Tools Traceroute Traffic Engineering Training Travel Tunnel Ubuntu Utility Video Virtualbox Virtualization VoIP VRF VXLAN Wi-Fi Wi-Fi 4 Wi-Fi 5 Wi-Fi 6 Windows Winpcap Wireless Wireless 5G Wireshark Wireshark Tip WLAN Writing Zenmap ZigBee

Twitter Feed