DS-Lite Tunnel Maintenance Using Stored AFTR IP Addresses
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing gateway devices struggle to maintain stable Dual-Stack Lite (DS-lite) tunnels, leading to Internet access failures for client devices using only IPv4 addresses, especially when DNS queries fail.
Innovation Solution
The method involves establishing and maintaining a DS-lite tunnel between a gateway device and an AFTR server by using a predetermined or saved IP address of the AFTR server, even if a DNS query fails, ensuring continuous Internet access for IPv4-only client devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If DS-lite tunnel is established using DNS query for AFTR server address, then proper routing is achieved, but Internet access fails when DNS query fails
Solution Approach 1:
The gateway device performs preliminary actions by attempting DNS queries to obtain the AFTR server address before establishing the DS-lite tunnel. Multiple retry attempts are made with exponential backoff timing, preparing the tunnel establishment in advance while handling potential DNS failures gracefully.
Solution Approach 2:
The system cushions against potential DNS query failures by implementing retry logic with exponential backoff timing. When DNS queries fail, the system continues to retry at increasing time intervals, preventing immediate tunnel establishment failure and providing a buffer against transient DNS issues.
2Reliability
If gateway device saves and uses predetermined IP address of AFTR server, then DNS query failure is avoided, but ability to obtain correct updated AFTR address is reduced
Solution Approach 1:
The gateway device performs preliminary DNS queries to obtain the AFTR server address before tunnel establishment. The device attempts multiple DNS queries with exponential backoff timing to ensure the correct current AFTR address is obtained and stored for subsequent tunnel operations.
Solution Approach 2:
The system implements feedback mechanisms where the gateway device continuously attempts DNS queries to detect changes in the AFTR server address. When a successful DNS query returns a different address, the device updates its stored AFTR address and re-establishes the tunnel, ensuring adaptability to network changes.
3Reliability
If multiple DNS query retry attempts are made with exponential backoff timing, then DNS failure impact is reduced, but time consumption increases
Solution Approach 1:
The system cushions against DNS query failures by implementing retry logic with exponential backoff timing. When DNS queries fail, the system continues to retry at increasing time intervals (e.g., 1 second, 2 seconds, 4 seconds), preventing immediate tunnel establishment failure while managing time consumption through progressive delays.
Solution Approach 2:
The gateway device performs periodic DNS query attempts with exponential backoff timing intervals. This periodic action allows the system to balance between obtaining accurate AFTR server addresses and managing time consumption by spacing out retry attempts rather than continuously querying.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
An electronic apparatus for establishing a Dual-Stack Lite (DS-lite) tunnel is provided. The apparatus sends a request for an Internet Protocol (IP) address of a Domain Name System (DNS) server and a domain name of an Address Family Transition Router (AFTR) server to a Dynamic Host Configuration Protocol (DHCP) server using an IP address of the DHCP server, receives the IP address of the DNS server and the domain name of the AFTR server from the DHCP server in response to the request, sends a DNS query including the domain name of the AFTR server to the DNS server using the IP address of the DNS server. In response to the DNS query being successful, the apparatus receives an IP address of the AFTR server from the DNS server, and establishes the DS-lite tunnel between the apparatus and the AFTR server using the IP address of the AFTR server.