Basic¶
https://en.wikipedia.org/wiki/IPv6_address#Representation
- 16 bits * 8 groups = 128 bits
- prefer lower case letters
- https://[IPv6_addr]:PORT/
- Link Local - fe80::/10…/64 : last 24 bits are MAC address
- Layer 3
Compare with v4¶
https://www.ibm.com/docs/en/i/7.2?topic=6-comparison-ipv4-ipv6
Types & Scopes¶
- unicast: link-local and global
- multicast: 14 scopes
- anycast
LAN¶
::/128
::1/128
::ffff:0:0:0/96
64:ff9b::/96
100::/64
2001::/32
2001:20::/28
2001:db8::/32
2002::/16
fc00::/7 | IP Range: fc00:: - fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
fe80::/10
ff00::/8
NPTv6¶
Network Prefix Translation: https://en.wikipedia.org/wiki/IPv6-to-IPv6_Network_Prefix_Translation
NAT64¶
https://en.wikipedia.org/wiki/NAT64
Tools¶
Linux¶
tcpdump -i any ip6
https://www.kali.org/tools/ipv6toolkit/
apt install ipv6toolkit
Firewall¶
ChinaNet Modem: 安全-防火墙:IPV6 SESSION