网络地址转换

网络地址转换

目的:解决ip稀缺

三个专用地址块

image-20211118100015197

原理:本地网络中的所有计算机在访问Internet时使用同一个IP地址
,within the local network, computers use private addresses for
routing intramural traffic在本地网络中,计算机使用专用地址
进行路由。对于目的地址是专用地址的数据报,路由器一律
不予转发。

本质:通过端口号区分主机

IPV6

同样是为了改变缺少ip地址的问题

源ip:128位

目的ip:128位

image-20211118111114068

隧道技术

解决ipv4和ipv6共存

ipv6作为ipv4的payload(数据)发送

image-20211118111549533

Author

YSH

Posted on

2021-12-09

Updated on

2022-10-12

Licensed under