文档介绍:合肥工业大学
硕士学位论文
动态NAT-PT网关的设计与实现
姓名:李明
申请学位级别:硕士
专业:计算机技术
指导教师:侯整风;易金锁
2010-11
动态 NAT-PT 网关的设计与实现
摘要
随着 IPv6 技术的飞速发展,IPv4 向 IPv6 的过渡逐渐成为 研究领
域的一个重要课题。从 IPv4 到 IPv6 的改变将不可避免的带来 上新的革
命,无论是硬件还是软件都将有全新的发展。如何依赖原有 IPv4 网络的设施
实现 IPv4/IPv6 的互联互通,并对用户隐藏下层细节,已成为当前首要解决的
问题。现已出现多种过渡技术包括双协议栈技术、隧道技术和地址协议转换
(NAT-PT)技术,其中 NAT-PT 是一种重要的过渡技术,通过对数据包进行地址
转换和协议翻译,实现 IPv4 节点和 IPv6 节点之间的通信。
本文介绍了互联网及 IP 协议的产生、发展和研究现状,探讨了 IPv6 的新
特性、编址方法及报文格式,比较了 IPv4 和 IPv6 的报文格式。分析比较了三
种过渡技术,重点分析了动态 NAT-PT 技术,深入研究了 NAT-PT 转换网关的
工作原理和实现流程,在此基础上设计并实现了一种动态 NAT-PT 网关,针对
NAT-PT 网关只能实现 IPv6 到 IPv4 的单向访问,本文结合 DNS-ALG 技术,实
现了 IPv4 和 IPv6 之间的双向通信。
最后,在 Linux 环境中对本文所设计的动态的 NAT-PT 网关予以实现。整
个网关包括三个模块:地址转换 NAT 模块,协议转换 PT 模块,应用层网关
DNS-ALG 模块。
测试表明,该网关可以实现 IPv4 和 IPv6 的双向互访。
关键词:NAT-PT , IPv4/IPv6 过渡, 转换网关
The Design and Implementation on Dynamic NAT-PT
gateway
ABSTRACT
With the rapid development of , It has been an important subject how
to make IPv4 gradually transfer into IPv6 in the study of area. From IPv4
to IPv6, change will inevitably bring a new revolution on the , either
hardware or software will have a new development. How to rely on the existing
work infrastructure to achieve interoperability IPv4/IPv6, so that
communication can be done efficiently, and to hide the underlying details of the
user, has e the primary problem. There are now a variety of transition
techniques including dual stack techniques, tunneling technology and address of the
protocol conversion (NAT-PT) NAT-PT is an important
transitional techniques, which implements IPv4 peer to IPv6 peer through packet
address transferred and protocol interpreted that how to get the transition from the
network based on IPv4 to the next work based on IPv6.
This dissertation describes the emergence of and IP protocols,
development and research. Discusses the new features of IPv6, addressing method
and packet format. Comparing the message format of IP