Patent ID: 8219694

Claim:
A computer apparatus which is connectable to a first network connection location via a first cable having a first cable length and a second network connection location via a second cable having a second cable length, when the computer apparatus is connected to the first network connection location, the computer apparatus uses a first IP address to communicate via a network, and when the computer apparatus is connected to the second network connection location, the computer apparatus uses a second IP address to communicate via the network, the computer apparatus comprising: a storage unit which stores the first IP address and information relating to the first cable length associated with the first network connection location and the second IP address and information relating to the second cable length associated with the second network connection location; and a control unit, when the computer apparatus is connected to one of the first and second network connection locations, the control unit determines a length of one of the first and second cables connected to the one of the first and second network connection locations and designates one of the first and second IP addresses as a network IP address based on the determined cable length.