网络地址转换
目的:解决ip稀缺
三个专用地址块
原理:本地网络中的所有计算机在访问Internet时使用同一个IP地址
,within the local network, computers use private addresses for
routing intramural traffic在本地网络中,计算机使用专用地址
进行路由。对于目的地址是专用地址的数据报,路由器一律
不予转发。
本质:通过端口号区分主机
IPV6
同样是为了改变缺少ip地址的问题
源ip:128位
目的ip:128位
隧道技术
解决ipv4和ipv6共存
ipv6作为ipv4的payload(数据)发送