文摘:牛的大腦-IPv6
來源: 牛的大腦-IPv6 http://systw.net/note/af/sblog/more.php?id=60 簡介 IPv6為1995年SIPP更名,原名為IPNG(NextGeneration) IPv5是實驗性 IPv6位址長度128bit(16 bytes), IPv4位址長度32bit(4 bytes) header長度固定320 bits(40 bytes) IPv6位址分類 保留IP ::/0 表示default route (ip -6 route中可用, ipv4是0/0) ::/128表示unspecified address(未知的位置),或無適合ip ::1/128 為loopback位置,等同於ipv4的127.0.0.1 64:ff9b::/96 IPv4/IPv6 translation (NAT64,DNS64) ::ffff:0:0/96 IPv4 mapped addresses. ::ffff:0:0:0/96 IPv4 translated addresses. 可參考wiki https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv6 Ipv6是可以有多種address type, ipv4只能一種type unicast, mutlicast, anycast/cluster, 沒有ipv4的broadcast type 1-to-1, 1-to-many, 1-to-nearest/1-to-1-of-many unicast分為 1. scoped - global unicast 相當於ipv4 public ip ----> 2000::/3 2. no-scoped 2.1 unique local unicast 相當於ipv4 private ip ----> FD00::/8 2.2 link-local unicast ----> FE80::/10 另有不使用的 Site-Local ...