2021-05-11 NAT

NAT: network address translation

 

-motivation: local network uses just one IP address as far as outside world is concerned.

 

-implementation: 

NAT router must:

§ outgoing datagrams: replace (source IP address, port #) of every outgoing datagram to (NAT IP address, new port #). . . remote clients/servers will respond using (NAT IP address, new port #) as destination addr

§ remember (in NAT translation table) every (source IP address, port #) to (NAT IP address, new port #) translation pair

§ incoming datagrams: replace (NAT IP address, new port #) in dest fields of every incoming datagram with corresponding (source IP address, port #) stored in NAT table

上一篇:virtual box 静态ip设置


下一篇:mybatis mapper.xml文件 $和#