Router WAN Port Identification for Automatic IPv4/IPv6 Setup

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing CPE routers face complexity in network configuration due to varying connection capabilities and IPv4/IPv6 setup requirements, necessitating user intervention and differing ISP settings, which complicates the identification and setup of WAN ports.

Innovation Solution

An automatic internet port identification method and device that sends DHCP, PPPoE, and RS packets to network ports, monitoring for specific responses to identify WAN ports and configure LAN ports, with verification steps for IPv4 and IPv6 protocols, including sending additional packets for confirmation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If manual configuration is used for IPv6 setup in CPE routers, then user control over network settings is maintained, but technical barriers increase and setup complexity grows

Engineering Contradiction:
Improveease of IPv6 setupVSAvoidconfiguration complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The router automatically detects WAN ports by sending DHCP Discovery, PPPoE PADI, and RS packets to multiple ports and monitors for responses (DHCP ACK, PPPoE PADO, or RA packets). The system self-configures without requiring user intervention for IPv6 setup, eliminating manual configuration barriers while maintaining control through automated detection mechanisms

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The router performs preliminary packet sending and port monitoring before final configuration is needed. By proactively sending discovery packets and monitoring for responses in advance, the system prepares network identification and configuration data before user interaction is required, streamlining the overall setup process

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If multiple packet types are sent to all ports for detection, then identification accuracy improves, but detection time increases

Engineering Contradiction:
Improveport identification accuracyVSAvoiddetection time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system sends multiple packet types (DHCP Discovery, PPPoE PADI, RS packets) to all ports to ensure comprehensive detection coverage. This excessive action ensures that even if one packet type is blocked or ignored, alternative packet types can still successfully identify the WAN port, maintaining high accuracy while the timeout mechanism prevents excessive time consumption

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If automatic port identification is implemented, then setup efficiency increases, but system complexity increases

Engineering Contradiction:
Improvenetwork setup efficiencyVSAvoididentification system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The router's packet sending and monitoring mechanism serves multiple functions: it identifies WAN ports, detects connection types (DHCP, PPPoE, Static IP), and determines protocol requirements (IPv4/IPv6) all through a single automated process. This multi-functionality increases setup efficiency while the complexity is managed through a unified approach rather than separate mechanisms

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20250373548A1Automatic internet port identification method and device for proceeding the method field of the invention
Publication Date: 2025.12.04 D-LINK CORP
  • US20250373548A1 patent drawing
  • US20250373548A1 patent drawing

AI summary

An automatic internet port identification method executed after being loaded by a system, includes a step 1: sending DHCP Discovery, PPPoE PADI, and RS packets to multiple ports of a physical network by a router, and a step 2: monitoring the ports and identifying the port that first receives one of DHCP ACK, PPPoE PADO, or RA packets as a WAN port, the remaining ports being identified as LAN ports. The method automatically identifies WAN ports with both IPv4 and IPv6 internet connection capabilities. By sending specific packets and continuously monitoring the response packets from each port, the identified results are applied to all ports. This allows users to connect ISP and other users’ equipment based solely on connection speed without needing to consider the type of port. The method automatically determines the port connected to the ISP as WAN, with the remaining ports as LAN.