Patent ID: 8208383

Claim:
A modem comprising: a storage card; at least one processor; and one or more programs stored in the storage card to be executed by the at least one processor, the one or more programs comprising: a receiving module operable to receive a data packet sent by a first computer connected to the modem; a checking module operable to check if an original media control access (MAC) address in the received data packet is identical with a MAC address of a second computer, which is connected to the modem and has an IP address allocated by a network server connected to the modem via the Internet, and determine the first computer and the second computer are the same computer if the original MAC address is identical with the MAC address of the second computer; a transmitting module operable to transmit the received data packet to the Internet in response that the first computer and the second computer are the same computer; the transmitting module further operable to transmit an address resolution protocol (ARP) request to the second computer in response to the original MAC address not being identical with the MAC address of the second computer; the checking module further operable to drop the received data packet if an ARP reply is received from the second computer, or determine the second computer is shut down if no ARP reply is received from the second computer; and a replacing module operable to replace the original MAC address in the received data packet by the MAC address of the second computer if the second computer is shut down, wherein the received data packet is regarded as being sent from the second computer and the first computer that sends the received data packet is connected to the Internet using the IP address of the second computer.