Patent ID: 8040819
Filing Date: 2011-10-18
Classification: H04L

Abstract:
1. A router, comprising: a first communications unit adapted to send messages to an upstream network through a modem and to receive messages from the upstream network through the modem; and a processing unit adapted to control the sending and receiving of messages through the first communications unit; the processing unit being adapted to perform each of a predetermined plurality of first sequence tests including determining whether a WAN IP address of the modem is the same as a WAN IP address for the router and determining whether the router can discover both a PPPoE server and a DHCP server simultaneously, wherein an IP address scheme of the DHCP server is private IP; the processing unit being adapted to perform each of a predetermined plurality of second sequence tests until either one of the second sequence test passes or the second sequence tests are exhausted to determine whether the modem practices NAT, wherein a first test in the second sequence comprises determining whether the modem includes a local domain name server and a second test in the second sequence comprises transmitting an address resolution protocol query to the modem to determine a LAN IP address of the modem; the processing unit being adapted to receive test results from the performed tests to determine a network configuration from the test results, wherein the modem is a bridged DSL modem and the upstream network is a PPPoE DSL network in a first network configuration, and wherein the modem is a bridged modem and the upstream network is a DHCP network in a second network configuration, and wherein the modem does not support both IP passthrough and PPoE passthrough in a third network configuration; the processing unit being further adapted to configure the router according to the determined network configuration, wherein the router is configured into a PPPoE mode if the determined network configuration is the first network configuration, and wherein the router is configured into a DHCP mode if the determined network configuration is the second network configuration, and wherein the router is configured into a bridge mode if the determined network configuration is the third network configuration.