Electronic device, IP address determining method, and recording medium having IP address determining program stored therein
First Claim
1. An electronic device including a processor that generates an interface identifier to determine an IP address to use, comprising:
- an interface identifier generating unit configured to generate the interface identifier using a server based identifier management generating unit or a local interface identifier unit;
a temporary IP address generating unit configured to generate a temporary IP address containing the interface identifier generated by the interface identifier generating unit and a prefix;
a duplication determining unit configured to determine whether the temporary IP address generated by the temporary IP address generating unit is the same as an IP address of another electronic device; and
an IP address determining unit configured to specify the temporary IP address as the IP address to use, when the duplication determining unit determines that the temporary IP address is not the same as the IP address of said another electronic device;
whereinwhen the duplication determining unit determines that the temporary IP address is the same as the IP address of said another electronic device, the interface identifier generating unit generates another interface identifier by using the local interface identifier unit for a pre-determined number of attempts,when the pre-determined number of attempts is reached, the interface identifier generating unit generates the another interface identifier by using the server based identifier management generating unit, andwherein the another interface identifier generated by local interface identifier unit is generated using a MAC address of the electronic device in which values excluding FFFE are inserted between high 24 bits and low 24 bits.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device is disclosed that generates an interface identifier to determine an IP address to use. The electronic device comprises an interface identifier generating unit to generate the interface identifier, a temporary IP address determining unit to determine a temporary IP address containing the interface identifier and a prefix, a duplication determining unit to determine whether the temporary IP address is the same as an IP address of another electronic device, and an IP address determining unit to specify the temporary IP address as the IP address to use, when the duplication determining unit determines that the temporary IP address is not the same as the IP address of another electronic device, wherein the interface identifier generating unit generates another interface identifier when the duplication determining unit determines that the temporary IP address is the same as the IP address of another electronic device.
12 Citations
15 Claims
-
1. An electronic device including a processor that generates an interface identifier to determine an IP address to use, comprising:
-
an interface identifier generating unit configured to generate the interface identifier using a server based identifier management generating unit or a local interface identifier unit; a temporary IP address generating unit configured to generate a temporary IP address containing the interface identifier generated by the interface identifier generating unit and a prefix; a duplication determining unit configured to determine whether the temporary IP address generated by the temporary IP address generating unit is the same as an IP address of another electronic device; and an IP address determining unit configured to specify the temporary IP address as the IP address to use, when the duplication determining unit determines that the temporary IP address is not the same as the IP address of said another electronic device; wherein when the duplication determining unit determines that the temporary IP address is the same as the IP address of said another electronic device, the interface identifier generating unit generates another interface identifier by using the local interface identifier unit for a pre-determined number of attempts, when the pre-determined number of attempts is reached, the interface identifier generating unit generates the another interface identifier by using the server based identifier management generating unit, and wherein the another interface identifier generated by local interface identifier unit is generated using a MAC address of the electronic device in which values excluding FFFE are inserted between high 24 bits and low 24 bits. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An IP address generating method of generating an interface identifier to determine an IP address of an electronic device using a computer, the method comprising:
-
generating an interface identifier using a server based identifier management generating unit or a local interface identifier unit; generating, using the computer, a temporary IP address containing the interface identifier, generated in the step of generating an interface identifier, and a prefix; determining whether the temporary IP address, generated in the step of generating a temporary IP address, is the same as an IP address of another electronic device; and specifying the temporary IP address as the IP address of the electronic device, when it is determined that the temporary IP address is not the same as the IP address of said another electronic device; generating, when it is determined by the determining step that the temporary IP address is the same as the IP address of said another electronic device, another interface identifier by using the local interface identifier unit for a pre-determined number of attempts, the another interface identifier being generated by the local interface identifier unit using a MAC address of the electronic device in which values excluding FFFE are inserted between high 24 bits and low 24 bits; generating, when the pre-determined number of attempts is reached, the another interface identifier by using the server based identifier management generating unit. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable storage medium having stored therein an IP address generating program that when executed by a computer performs a method comprising:
-
generating the interface identifier using a server based identifier management generating unit or a local interface identifier unit; generating a temporary IP address containing the interface identifier, generated in the generating an interface identifier step, and a prefix; determining whether the temporary IP address, generated in the generating a temporary IP address step, is the same as an IP address of another electronic device; and specifying the temporary IP address as the IP address of the electronic device, when it is determined in the determining step that the temporary IP address is not the same as the IP address of said another electronic device; generating, when it is determined that the temporary IP address is the same as the IP address of said another electronic device, another interface identifier by using the local interface identifier unit for a pre-determined number of attempts, the another interface identifier being generated by the local interface identifier unit using a MAC address of the electronic device in which values excluding FFFE are inserted between high 24 bits and low 24 bits; generating, when the pre-determined number of attempts is reached, the another interface identifier by using the server based identifier management generating unit.
-
Specification