Network Troubleshooting Tools, IPv4 and IPv6

A summary of various troubleshooting commands for common client operating systems for both IPv4 and IPv6.

Apple OS X, *BSD

Ping for IPv4 /sbin/ping
Ping for IPv6 /sbin/ping6
Traceroute for IPv4 /usr/sbin/traceroute
Traceroute for IPv6 /usr/sbin/traceroute6
Interface Info /sbin/ifconfig
IPv4 Route table /usr/sbin/netstat -f inet -rn
IPv6 Route table /usr/sbin/netstat -f inet6 -rn
IPv4 arp table /usr/sbin/arp -an
IPv6 ndp table /usr/sbin/ndp -an

Windows: Vista, 7, Server 2008 and higher

Ping for IPv4 ping -4
Ping for IPv6 ping -6
Traceroute for IPv4 tracert -4
Traceroute for IPv6 tracert -6
Interface Info ipconfig /all
IPv4 Route table netsh interface ipv4 show route
IPv6 Route table netsh interface ipv6 show route
IPv4 arp table arp -a
IPv6 ndp table netsh interface ipv6 show neighbors

Linux

Ping for IPv4 ping
Ping for IPv6 ping6
Traceroute for IPv4 traceroute -4
Traceroute for IPv6 traceroute -6
Interface Info ip address show
IPv4 Route table netstat -A inet -rn
IPv6 Route table netstat -A inet6 -rn
IPv4 arp table arp -an
IPv6 ndp table ip -6 neighbor show
Notes:
  • Paths differ between distributions.
  • traceroute6 is usually installed as a hard link to traceroute and defaults to using the -6 flag. Forcing the -4 or -6 options is useful to make sure you are using the correct ip version during troubleshooting.

Solaris

Ping for IPv4 /usr/sbin/ping -A inet
Ping for IPv6 /usr/sbin/ping -A inet6
Traceroute for IPv4 /usr/sbin/traceroute -A inet
Traceroute for IPv6 /usr/sbin/traceroute -A inet6
Interface Info /bin/netstat -ain
IPv4 Route table /bin/netstat -f inet -rn
IPv6 Route table /bin/netstat -f inet6 -rn
IPv4 arp table /bin/netstat -pn -f inet
IPv6 ndp table /bin/netstat -pn -f inet6


Keywordsipv4 ipv6 ping traceroute ping6 traceroute6   Doc ID12364
OwnerMichael H.GroupNetwork Services
Created2009-10-05 19:00:00Updated2017-08-08 14:10:49
SitesNetwork Services, Systems & Network Control Center, Systems Engineering, University of Wisconsin System Network
Feedback  1   0