User Tools

Site Tools


ubuntu:networking:ipv6:cheatsheet

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

ubuntu/networking/ipv6/cheatsheet.txt · Last modified: 2021/07/09 09:14 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki