摘要 |
An apparatus for IPv6 tunneling and a method thereof are provided to divide inputted packets into an IPv4 packet and an IPv6 packet using version information in the header information of the inputted packets, divide and decapsulate the IPv4 packet according to protocol information in the header information of the IPv4 packet, thereby increasing a decapsulation rate to improve system performance and a packet transfer rate. An apparatus for IPv6(Internet Protocol version6) tunneling comprises a packet header analyzing unit(51), a capsulating unit(52), a capsule removing unit(53), and a header arranging unit(54). The packet header analyzing unit analyzes the header of a packet to transfer the destination address of an IPv6 packet to the capsulating unit, and transfers an IPv4 packet and the destination address and header check information of the IPv4 packet to the capsule removing unit. The capsulating unit determines a received packet as a tunneling packet if three is the destination address received from the packet header analyzing unit in a first look-up table, and generates an IPv4 header, and inserts the generated IPv4 header to the IPv6 packet. The capsule removing unit deletes the IPv4 header of the IPv4 packet and deletes a UDP(User Datagram Protocol) port number with the IPv4 header according to the look-up table research result using the destination address of the IPv4 packet received from the packet header analyzing unit. The header arranging unit arranges the packet capsulated in the capsulating unit and the header field of a packet of which the capsule is removed by the capsule removing unit.
|