Patent ID: 8605582

Claim:
An IP address generating device comprising: an address generation request receiving unit which receives a request to generate an IP address from a terminal device; an IP address generating unit which sets a specific area in a node identifier of the IP address as an access control data area, and generates the IP address including a communication policy which is embedded in the access control data area and indicates whether a packet is to be admitted or not, wherein the IP address generating unit generates the IP address in response to the request; and a communication policy searching unit which determines the communication policy based on user information for a terminal device to which the IP address is distributed, when the IP address is generated, and wherein the access control data area is located at a following bit of a PrefixID field which is included in the request and containing data identifying a network to which the address is to be distributed, and wherein the communication policy consists of a single bit, and the access control data area is located at a leading bit of an interface ID (IFID) when the IP address is an IPv6 address, and the access control data area is located at a host unit when the IP address is an IPv4 address.