Teredo Server NAT Port Mapping for IPv6 Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing mechanisms, such as the 6to4 mechanism and Teredo protocol, face challenges in enabling IPv4 clients behind Network Address Translators (NATs) to communicate with IPv6 clients, particularly due to limitations in NAT configurations and the lack of widespread support for hairpinning, which restricts effective communication between IPv4 and IPv6 networks.
Innovation Solution
The implementation of a network device with a port mapping determining module and an advertising module allows IPv6-aware clients behind the same NAT to communicate by determining and advertising network port mappings, enabling direct communication even without hairpinning support in the NATs, and utilizing UPnP for dynamic port mapping discovery.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the 6to4 mechanism is used to enable IPv6 communication over IPv4 networks, then IPv6 packets can be transmitted through IPv4 infrastructure, but communication fails when IPv4 clients are behind NAT devices that do not permit arbitrary payload types
Solution Approach 1:
The patent introduces a Teredo server as an intermediary component that facilitates communication between IPv6 clients behind NAT devices. The server acts as a mediator that receives IPv6 packets from clients, maintains state information about the clients, and forwards packets back to the appropriate clients, thereby enabling reliable communication through NAT devices that would otherwise block direct IPv6 traffic
Solution Approach 2:
The patent changes the protocol parameters by encapsulating IPv6 packets within IPv4 UDP datagrams with specific header modifications. The Teredo mechanism modifies the UDP header and adds a Teredo-specific header structure, changing the payload type parameters to values that NAT devices permit, thereby allowing IPv6 traffic to pass through NAT infrastructure
2Adaptability or versatility
If NAT devices translate private IPv4 addresses to public addresses using port mapping, then multiple devices can share a single public IP address, but direct communication between devices behind the same NAT becomes impossible without hairpinning support
Solution Approach 1:
The patent implements a feedback mechanism where the Teredo server receives communication attempts from external devices, identifies the target client behind NAT, and sends packets back through the server which then forwards them to the appropriate client. This feedback loop through the server enables devices behind the same NAT to communicate even when the NAT lacks hairpinning capability
Solution Approach 2:
The patent segments the communication path by introducing the Teredo server as an intermediate node between devices behind NAT. Instead of direct device-to-device communication through the NAT, the path is segmented into client-server-client segments, allowing communication to proceed through the server which has the necessary state information to route packets correctly
3Adaptability or versatility
If Teredo protocol is used to transport IPv6 packets through NAT, then IPv6 clients behind NAT can communicate with external IPv6 hosts, but rapid NAT type detection is required to establish efficient communication paths
Solution Approach 1:
The patent performs preliminary action by having the Teredo server pre-detect and classify the NAT type before actual client communication begins. The server analyzes the NAT behavior during the connection establishment phase and stores this classification information, so that subsequent communications can use optimized paths without repeated detection delays
Data Source
AI summary
Methods and systems for allowing clients behind a network address translation device to communicate when those clients are assigned Teredo Ipv6 addresses.


