为解决IPv4网络和IPv6网络相互通信的问题,介绍了NAT—PT机制的工作原理,提出了一种基于Libnet和Libipq实现NAT—PT机制的方法。实际应用表明,运用这种方法,IPv4主机和IPv6主机可以自由地相互通信。
In order to solve the problem of IPv4 network communicating with IPv6 network, the NAT-PT was introduced. One method that realized NAT-PT based on Libnet as well as Libipq was put forward and implemented, Applications show that through this method IPv4 hosts and IPv6 hosts can freely communicate with each other.