Patent ID: 8121086

Claim:
A wireless networking device comprising: an address generator generating an address to be used in a predetermined wireless network; a router information setter setting router information of the wireless network based on the router information received from a gateway of a corresponding network; and a controller controlling operation of the address generator and the router information setter according to the router information and performing a hand-off to the gateway of the corresponding wireless network which corresponding to the router information, wherein the controller determines whether the received router information specifies the gateway of a home network comprising a plurality of nodes or a gateway of an external network that comprises a plurality of nodes, and determines initially to perform the hand-off to the gateway of the external network if the received router information specifies the gateway of the external network, wherein if a number of hops to the gateway of the external network is less than a number of hops to the gateway of the current wireless network, the controller calculates a result by adding a predetermined value to the gateway of the external network, and wherein if the calculated result exceeds a predetermined reference value, the controller determines to perform the hand-off to the gateway of the external network.