通过分析网络地址转换(NAT)会话信息,并结合对比协议分析的方法,跟踪IP数据报文在NAT两端的变化,直观、详细地展现了静态、动态及端口3类地址转换的工作原理。该实验不仅可以使学生直观、深入地理解NAT的原理,同时也增强了学生对各类协议原理及其工作过程的自我研究能力,提高了网络实验的教学质量。
Network Address Translation(NAT)is an important and difficult content of computer network,network technologies,network management,and other related courses of network engineering.This paper introduced the background and principles of network address translation,and designed the experiment based on protocol analysis and NAT session information.By analyzing NAT session information and the results of protocol analysis,the experiment shows in detail the principle of 3 types of network address translations—static,dynamic,and port-level NAT.This experiment not only allows students to understand the principles of NAT thoroughly,but also enhances their self-study abilities of various protocols,thus improving the teaching quality of network experiment.