Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

I recently enable IPv6 in my home network. Familiar with IPv4 I detected there are new commands I have to use and also commands I used with IPv4 have to get additional options for IPv6. The following list is just a collection of tools I think are useful for whoever starts to use IPv6.

 

 

 # Query the IPv6 IP via IPv4 and pi-hole

dig -4 aaaa heise.de +short @192.168.0.8

# Ping a dns via IPv6

ping -6 heise.de

# Query the IPv6 routes of a host
route -6

# ping a IPv6 address

ping6 -c 3 2a02:2e0:3fe:1001:302::

# Query the IPV6 route taken by a system
mtr -6nr -c 1 2a02:2e0:3fe:1001:302::

# Query the default IPv6 route of a system
ip -6 r g 2a02:2e0:3fe:1001:302::

# Query the default IPv6 gateways

route -6 | grep gateway

# A nice IPv6 connectivity test website

test-ipv6.com

# Following DNS have no IPv4, just a IPv6 address
ipv6.ident.me
loopsofzen.uk

# reverse IPv6 DNS lookup

getent ahosts heise.de
getent hosts 2a02:2e0:3fe:1001:302::

dig -x 2a02:2e0:3fe:1001:302::

 # Show used IPv4 and IPv6 dns server

nmcli device show | grep -E 'IP4.DNS|IP6.DNS'

# Captcha router IPv6 adverticements
sudo tcpdump -n -vv -i eth0 'icmp6 and icmp6[0] == 134'

# Config file to define prio of ipv4 and 6 usage
/etc/gai.conf

# check if NAT66 is used
traceroute -6 ipv6.ident.me

# test if privacy extensions are active

nmcli connection show <INTERFACE_NAME> | grep ipv6.ip6-privacy
sudo nmcli connection modify <INTERFACE_NAME> ipv6.ip6-privacy 2
ip -i addr