Table of Contents

Ubuntu - Networking - IPv6 - Cheatsheet

Find the route decision for a given address

ip route get 2a00:1450:4001:820::200e
 
ip -6 route
route -A inet6 (apt-get install net-tools) # equivalent to netstat -rn -A inet6
netstat -A inet6 -rn
netstat -r
ip -6 route show table 51820
ip -6 neigh
ip -6 neigh show proxy

DHCPv6 release / renew

dhclient -6 -r ens18
dhclient -6 ens18

Flush IPv6 neighbors cache

ip -family inet6 neigh flush any

Request a router advertisement

apt-get install -y ndisc6
rdisc6 eth0

Perform a Neighbor Solicitation (arp IPv4 equivalent)

apt-get install -y ndisc6
ndisc6 2001:db8::42 eth0

ping ff02::1%eth0

References

https://www.mediawiki.org/wiki/Help:Range_blocks/IPv6

https://menandmice.com/blog/ipv6-reference-multicast