Patent ID: 8255498

Claim:
A router for connecting to a top-level DHCP server device and connecting with one or more client terminals, said router comprising: a wide area network (WAN) port connected to the top-level DHCP server device and having a DHCP client configured to request a lease of an IP address from the top-level DHCP server device in accordance with the Dynamic Host Configuration Protocol; a local area network (LAN) port connected with the client terminals and having a LAN IP address, an IP pool, and a DHCP server, said DHCP server configured to allocate IP addresses from said IP pool to the client terminals in accordance with the Dynamic Host Configuration Protocol; and a domain conflict prevention program configured to execute the following steps whenever said DHCP client of said WAN port is given a lease of an IP address from said top-level DHCP server device for a WAN IP address of the WAN port: retrieving network bits of said WAN IP address and network bits of said IP pool; determining whether the network bits of said WAN IP address and the network bits of said IP pool are identical, and if yes, modifying the network bits of said IP pool together with said LAN IP address to be different from said WAN IP address, and then transmitting an instruction to all of said client terminals connected with said LAN port to ask each of said client terminals to request a lease of a new IP address from the DHCP server of the LAN port.