A summary of various troubleshooting commands for common client operating systems for both IPv4 and IPv6.
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
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
Notes:
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
- 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.
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