The present invention relates to a communication device having a VPN (virtual private network) accommodation function for use in the Internet.
The Internet is a network enabling worldwide interconnection among users, the number of which is proliferating. In recent years, a variety of techniques have been developed actively to implement a VPN using the Internet.
The VPN, or virtual private network, is a service connecting intranets through the Internet. An example of a network configuration providing VPN is shown in
Network 1 provided by the service provider generally interconnects with other networks provided by other service providers. As a VPN, a network for an organization A, as an example, is exclusively interconnected within this organization A only, separated from organizations B and C, through network 1 by the service provider. In other words, only each network inside organization A, B or C is logically interconnected.
Here, either a global address or a private address is used in an intranet whereas a global address is normally used in the Internet. The private address is an address to be applied in a network which is closed in the scope of an organization, and therefore an identical address may possibly be used in different organizations.
Accordingly, in an device accommodating VPN, it becomes necessary to provide the packet routing function for both Internet and intranet. Normally, in the direction from intranet to Internet, any packet for communication in an intranet is converted to a packet which can be processed in the Internet. In the direction from Internet to intranet, the packet format is converted in an opposite way to the above.
In the prior arts for performing such processing, as a first art, there is a method of either combining an IPv4 (Internet Protocol, version 4) header, the format of which includes a source address 26 and a destination address 27 shown in
Both of the aforementioned prior arts employ a method of establishing a packet path on the boundary between the Internet and the intranet (which is referred to as tunnel).
More specifically, the encapsulation technique shown in
Meanwhile, according to the encapsulation method by a shim header shown in
However, according to the aforementioned prior arts, the number of settings in the device incorporating VPN becomes ‘the number of tunnels×2 (i.e. both end points of the tunnels)’. Therefore, there is a problem that a substantially large number of settings become necessary as the number of sites increases.
The number of the tunnels among N sites is (N-1)×2 in the case of a star connection network in which the number of tunnels is minimized. The number becomes N×(N-1) in case of a full mesh connection. If one site is added, it is necessary to add to two (2) settings in the case of star connection, or N settings in case of the full mesh connection.
In case of the star connection, the performance of a root node may cause a bottleneck. In addition, because a communication between nodes other than root has to be transmitted through the root, an identical packet has to be transmitted twice in the Internet. This raises a problem of additional bandwidth consumption, so use of full mesh connection is desirable.
Accordingly, it is an object of the present invention to provide a VPN service with fully meshed virtual paths obtained with smaller number of settings, thus facilitating expansion of VPN service.
This object is attained by providing a communication device in a virtual private network (VPN) having a VPN accommodation function for connecting an intra-organization network or inter-organization network in accordance with the present invention through the Internet. As a first embodiment of the communication device according to the present invention, the communication device includes;
a first means for generating a VPN address, a format of which includes both a VPN number for uniquely identifying a VPN in a certain scope and a closed address used in an organization or among organizations, either converting a packet header into a header having the above-mentioned VPN address or adding the above-mentioned VPN address to a packet header for transmission; and
a second means for on receiving the packet having a header of the VPN address format, either converting the received packet into a packet format equivalent to an original packet format or removing a header having VPN address format.
Further, as a second preferred embodiment according to the present invention, in the aforementioned first embodiment, the communication device further includes a processing means for on receiving a packet having the VPN address format, extracting a VPN number from the VPN address, comparing to a retained VPN number and discarding the packet when the comparison results in inconsistency.
Still further, as a third preferred embodiment, in the aforementioned first or second embodiment, a protocol used in an organization or among organizations is IPv4 (Internet Protocol, version 4), a packet having a VPN address format conforms to IPv6 (Internet Protocol, version 6), and an IPv6 header is either added to the IPv4 header or substituted for IPv4 header by the above-mentioned first means.
As a fourth preferred embodiment, in the aforementioned third embodiment, the VPN number is included in an NLA-ID (Next-Level Aggregation Identifier) field of the IPv6 aggregatable address format, and an IPv4 address is stored in an SLA-ID (Site-Level Aggregation Identifier) field and an Interface Identifier field.
Further, as a fifth preferred embodiment, in the aforementioned first or second embodiment, a protocol used in an organization or among organizations is IPv4, a packet having a VPN address format conforms to IPv6, and an IPv6 header is added to an IPv4 packet or deleted.
Still further, as a sixth preferred embodiment, in the aforementioned first or second embodiment, a protocol used in an organization or among organizations is IPv6, a packet having VPN address format conforms to IPv6, and a VPN address is generated using a VPN number and an SLA-ID (Site-Level Aggregation Identifier) field and an Interface Identifier field of the site-local address format or an aggregatable global address included in an address of an IP header used in an organization or among organizations, to perform address conversion.
Still further, as a seventh preferred embodiment, in the aforementioned first or second embodiment, VPN address in a VPN network for connecting an intra-organization network or an inter-organization network through the Internet is constituted of a Scope field indicating whether a VPN-ID is either a VPN which is closed inside an ISP or a VPN which is connected through a plurality of ISP, and a VPN number by which a VPN is uniquely identifiable in the Scope concerned.
Still further, as an eighth preferred embodiment, in either of the aforementioned embodiments, a VPN-ID is constituted of an IPv4 address as the VPN address.
Further scopes and features of the present invention will become more apparent by the following description of the embodiments with the accompanied drawings.
The preferred embodiment of the present invention is described hereinafter referring to the charts and drawings, wherein like numerals or symbols refer to like parts. It is to be noted that these charts and drawings illustrating the embodiments are attached for explaining the present invention. The scope of the protection in the present invention is not to be limited to these illustrations.
This VPN accommodation function portion 32 has a function of either converting a header of a packet for transmission into a header having a VPN address format, or encapsulating by including a header of the VPN address format. VPN accommodation function portion 32 also has a function of converting a packet to an identical format of an original packet or deleting a header having the VPN address format on receiving a packet having the VPN address format.
In the description of the present invention, a VPN address format shown in
VPN number 34 is a number uniquely assigned in a certain region. This region may be the whole region of the Internet or a region of an Internet service provider (ISP). The address in the structure according to the present invention is distinguished from an address of other type by an FP (Format Prefix) 35.
According to the present invention, when compared to the case of a full mesh network producing better efficiency, the number of settings required for performing VPN can be reduced to N in contrast to N×(N-1) in the prior art. For the reference, the number required for a star connection in the prior art is (N-1)×2. Namely, according to the present invention, a full mesh network can be obtained with the number of settings smaller than in the case of star connection in the prior art.
Also, in the case of adding a site in a full mesh network, according to the present invention, only one setting is need, in contrast to N settings required in the prior art.
In regard to processing for performing normal routing in the Internet, path establishment on a link-by-link basis is necessary in the method employing MPLS shim header. In contrast, according to the present invention, it is only necessary for route switching to use an existing protocol like RIP (Routing Information Protocol) widely in use having abundant operational results, as well as OSPF (Open Shortest Path First), IS-IS (Intermediate System-Intermediate System) or BGP (Border gateway Protocol), which are modified so as to conform to the Internet protocol IPv6.
Therefore, such a protocol as employed in MPLS which requires to set label value is not needed. Here, by combining the technique of encapsulating an IPv6 packet with an IPv4 header, it becomes not necessary that all network device of service provider conform to IPv6.
Now, a typical embodiment of the present invention is described hereafter referring to the example shown in
In the example shown in this
VPN router function portion 31 has a routing table 501, while router function portion 30 and router 300 have routing tables 502 and 503, respectively. A destination address and a source address are described in an IPv4 packet header referring to these routing tables.
When packet communication is carried out from one site in a VPN to another site in the VPN, an IPv4 packet for use in the originating site is transmitted to VPN accommodation function portion 32 in VPN edge router 20.
In VPN accommodation function portion 32, IP addresses (both source address and destination address) included in the IPv4 packet are extracted in an IPv4 address extraction portion 320.
Using a VPN-ID (number) being set in a VPN-ID retention portion 321 in advance for identifying the VPN of interest, a VPN address in the form of IPv6 for the Internet is generated by combining a VPN-ID 40 with an IPv4 address 41 in a VPN address generation portion 322, as shown in
The IPv6 VPN address thus generated is used for an IPv6 header address to be added in an IPv6 header addition portion 324 after an IPv4 header is deleted in an IPv4 header deletion portion 323, as shown in
The IPv6 packet thus converted is transferred to VPN accommodation function portion 32 in VPN edge router 20 to which the destination site is connected through the Internet 1. This VPN accommodation function portion 32 is explained also referring to
The IPv6 address extracted in IPv6 address extraction portion 325 is input to VPN-ID/IPv4 address separation portion 326 to separate the IPv4 address. The separated IPv4 address is then used as an address in the IPv4 header to be added in IPv4 header addition portion 328 to a packet of which IPv6 header is deleted in an IPv6 header deletion portion 327. Thus the packet concerned is returned to an IPv4 packet.
In the above description, it may also be possible to check whether the VPN-ID of the packet input to VPN accommodation function portion 32 coincides with a predetermined VPN-ID. In such a case, VPN accommodation function portion 32 is configured as shown in
Using this comparison circuit 329, a predetermined VPN number corresponding to the VPN of interest retained in VPN-ID retention portion 321 is compared to the VPN-ID separated in VPN-ID/IPv4 address separation portion 326.
As the result of this comparison, if the VPN numbers are different, the packet is discarded in an IPv4 header addition portion because the packet has no relation with the VPN of interest. This enables to prevent any packet from flowing in or flowing out from/to a different VPN, thus enabling to improve security.
Further, as a result of VPN accommodation function portion 32 outputting a route including up to an IPv4 prefix shown in
In the above description, a case of converting an IPv4 header into an IPv6 header is shown. However, in place of this conversion processing, it is also possible to employ the aforementioned encapsulation method.
In such a case, the configurations of VPN accommodation function portion 32 shown in
Namely, an IPv6 VPN address generated in VPN address generation portion 322 is added to an IPv4 packet in IPv6 header addition portion 324 to encapsulate. Therefore, IPv4 header deletion portion 323 is not required in
Also, in
This situation is shown in
The foregoing description is based on the intranet employing IPv4. When IPv6 is employed in the intranet, a similar operation can be achieved by handling as an IPv4 address a subnet ID, or a data under a site prefix, included in a site-local address (i.e. a local address not connected to the Internet).
This address conversion is performed in address substitution portion 331 shown in
Here, an exemplary address in the site-local address format is shown in
Further, as an application of the present invention, it is possible to use VPN address shown in
In
As another application of the present invention, a VPN address shown in
As having been described, according to the pre sent invention, a VPN service can be achieved with a remarkably reduced number of settings compared to other methods. This brings about less possibility of setting errors or operational mistake and therefore an operator may provide the service safely.
Because of the reduced number of settings against end user demands, the service may be provided in a short preparation period. In addition, according to the present invention, a simple functional addition in an edge router is only required. For routers on users' side and routers not located on user boundary, routers for general use may be used without need of modification, thus facilitating installation.
Further, when considering multi-vender connection using routers of multi-vender products, the method requires only a unicast routing protocol of general use having sufficient actual operation results, such as RIP, OSPF, IS-IS or BGP. Any peculiar protocol such as MPLS label distribution protocol is not necessary. Therefore, multi-vender connection may be achieved easily.
Moreover, the service may be introduced even when addresses assigned in an organization is overlapped.
To conclude, the present invention brings about a large effect, greatly contributing for the expansion of VPN services on the Internet.
The foregoing description of the embodiments is not intended to limit the invention to the particular details of the examples illustrated. Any suitable modification and equivalents may be resorted to the scope of the invention. All features and advantages of the invention which fall within the scope of the invention are covered by the appended claims.
Number | Date | Country | |
---|---|---|---|
Parent | 12777313 | May 2010 | US |
Child | 13921754 | US | |
Parent | 10319930 | Dec 2002 | US |
Child | 12777313 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP00/03980 | Jun 2000 | US |
Child | 10319930 | US |