JP3808471B2 - Network and router apparatus and address notification method used therefor - Google Patents

Network and router apparatus and address notification method used therefor Download PDF

Info

Publication number
JP3808471B2
JP3808471B2 JP2004027429A JP2004027429A JP3808471B2 JP 3808471 B2 JP3808471 B2 JP 3808471B2 JP 2004027429 A JP2004027429 A JP 2004027429A JP 2004027429 A JP2004027429 A JP 2004027429A JP 3808471 B2 JP3808471 B2 JP 3808471B2
Authority
JP
Japan
Prior art keywords
wan
lan
upnp
address
logical port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004027429A
Other languages
Japanese (ja)
Other versions
JP2005223464A (en
Inventor
博之 木下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC AccessTechnica Ltd
Original Assignee
NEC AccessTechnica Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2004027429A priority Critical patent/JP3808471B2/en
Publication of JP2005223464A publication Critical patent/JP2005223464A/en
Application granted granted Critical
Publication of JP3808471B2 publication Critical patent/JP3808471B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明はネットワーク及びルータ装置並びにそれらに用いるアドレス通知方法に関し、特にUPnP(Universal Plug and Play)機能付きNAT(Network Address Translation)ルータに関する。   The present invention relates to a network and a router device, and an address notification method used therefor, and more particularly, to a NAT (Network Address Translation) router with a UPnP (Universal Plug and Play) function.

従来、この種のUPnP機能付きNATルータにおいては、図6に示すように、NAT処理部81と、WAN(Wide Area Network)側論理ポート821〜823からなるWAN側論理ポート群82と、LAN(Local Area Network)ポート83と、WANポート84とを備えている。   Conventionally, in this type of NAT router with UPnP function, as shown in FIG. 6, a NAT processing unit 81, a WAN side logical port group 82 composed of WAN (Wide Area Network) side logical ports 821 to 823, a LAN ( (Local Area Network) port 83 and WAN port 84 are provided.

WAN側論理ポート821〜823はWANポート84を介して図示せぬ複数の接続先への通信を行う。NAT処理部81は図示せぬLAN−WAN間のNAT(アドレス変換)を行い(例えば、非特許文献1参照)、LANポート83からはUPnP通知メッセージを送信する。   The WAN-side logical ports 821 to 823 communicate with a plurality of connection destinations (not shown) via the WAN port 84. The NAT processing unit 81 performs NAT (address conversion) between a LAN and a WAN (not shown) (see, for example, Non-Patent Document 1), and transmits a UPnP notification message from the LAN port 83.

NATルータ8ではLAN側ホストに対してUPnPデバイス(device)になることによって、NATルータ8のWAN側IP(Internet Protocol)アドレスを通知することができるようになり、LAN側ホストはNATルータ8越しに接続が難しかったアプリケーションを容易に動作させることが可能となる。   The NAT router 8 can notify the WAN side IP (Internet Protocol) address of the NAT router 8 by becoming a UPnP device (device) to the LAN side host, and the LAN side host can pass through the NAT router 8. It is possible to easily operate an application that was difficult to connect to.

しかしながら、昨今、ブロードバンドサービスが多様化し、各キャリアやISP(Internet Service Provider)はインタネット接続網(図示せず)のほか、自社のクローズドネットワーク(図示せず)をユーザに提供し、クローズドネットワーク側で独自サービスを展開する傾向がでてきている。   However, in recent years, broadband services have diversified, and each carrier and ISP (Internet Service Provider) provides users with their own closed network (not shown) in addition to the Internet connection network (not shown). There is a tendency to develop original services.

NATルータ8はインタネット接続網とクローズドネットワークとの二つのコネクションを保持することとなり、それぞれのネットワークを宛て先IPアドレスによるルーティング等でそれぞれのパケットの転送先を決定する機能を持っている。   The NAT router 8 holds two connections of an Internet connection network and a closed network, and has a function of determining the transfer destination of each packet by routing or the like based on the destination IP address.

ところが、UPnPデバイス機能には、宛て先ホストと接続先ネットワーク対応関係を通知するテンプレートが用意されておらず、LAN側ホストのUPnPコントロールポイント(Control Point)から複数の接続先のうち、どの接続先を使用すればよいかを判断する術が存在していない。   However, in the UPnP device function, a template for notifying the correspondence relationship between the destination host and the connection destination network is not prepared, and any connection destination among a plurality of connection destinations from the UPnP control point (Control Point) of the LAN side host is prepared. There is no way to determine what to use.

“Traditional IP Network Address Translator(Traditional NAT)[RFC(Request for Comments)3022,January 2001]“Traditional IP Network Address Translator (Traditional NAT) [RFC (Request for Comments) 3022, January 2001]

しかしながら、上述した従来のUPnP機能付きNATルータでは、UPnPに宛て先情報を通知する機能がないため、UPnPコントロールポイントから実際の通信で使用されるWANインタフェースがどれになるかを判断することができないという問題がある。   However, since the conventional NAT router with UPnP function does not have a function of notifying destination information to UPnP, it is impossible to determine which WAN interface is used in actual communication from the UPnP control point. There is a problem.

また、従来のUPnP機能付きNATルータでは、UPnP機能を使用するWAN接続先を固定的に設定する実装が多いため、各々のUPnPコントロールポイントで異なる接続先をUPnPの対象とすることができないという問題がある。   Further, in the conventional NAT router with UPnP function, there are many implementations in which the WAN connection destination using the UPnP function is fixedly set, and therefore, a different connection destination cannot be targeted for UPnP at each UPnP control point. There is.

すなわち、UPnPコントロールポイントは、UPnPを利用したWAN側IPアドレスを取得し、ポートマッピング等の要求をUPnPデバイスに対して発行することができず、どちらか片方のネットワークでしかUPnPを使用することができない。   That is, the UPnP control point acquires the WAN side IP address using UPnP, cannot issue a request for port mapping or the like to the UPnP device, and can use UPnP only in one of the networks. Can not.

そこで、本発明の目的は上記の問題点を解消し、複数の接続先に対してUPnP機能を同時に利用することができるネットワーク及びルータ装置並びにそれらに用いるアドレス通知方法を提供することにある。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to solve the above-described problems and provide a network and router apparatus that can simultaneously use the UPnP function for a plurality of connection destinations, and an address notification method used for them.

本発明によるネットワークは、WAN(Wide Area Network)側に複数の接続先を保持するUPnP(Universal Plug and Play)デバイス機能と、前記WAN側とLAN(Local Area Network)側との間のアドレス変換を行うNAT(Network Address Translation)機能とを持つルータ装置を含むネットワークであって、
WANインタフェースで受信するパケットをその内容に応じて受信する複数のWAN論理ポートと、
前記複数のWAN論理ポートに対応して配設されたLAN論理ポートと、
前記WAN側論理ポートと前記LAN側論理ポートとを対応付けしかつ前記LAN側論理ポート毎に独立したUPnPデバイスとして通知を行う手段とを前記ルータ装置に備えている。
The network according to the present invention performs a UPnP (Universal Plug and Play) device function that holds a plurality of connection destinations on a WAN (Wide Area Network) side, and performs address conversion between the WAN side and a LAN (Local Area Network) side. A network including a router device having a NAT (Network Address Translation) function to perform,
A plurality of WAN logical ports for receiving packets received by the WAN interface according to their contents;
LAN logical ports arranged corresponding to the plurality of WAN logical ports;
The router apparatus includes means for associating the WAN side logical port with the LAN side logical port and notifying each LAN side logical port as an independent UPnP device.

本発明によるルータ装置は、WAN(Wide Area Network)側に複数の接続先を保持するUPnP(Universal Plug and Play)デバイス機能と、前記WAN側とLAN(Local Area Network)側との間のアドレス変換を行うNAT(Network Address Translation)機能とを持つルータ装置であって、
WANインタフェースで受信するパケットをその内容に応じて受信する複数のWAN論理ポートと、
前記複数のWAN論理ポートに対応して配設されたLAN論理ポートと、
前記WAN側論理ポートと前記LAN側論理ポートとを対応付けしかつ前記LAN側論理ポート毎に独立したUPnPデバイスとして通知を行う手段とを備えている。
The router device according to the present invention includes a UPnP (Universal Plug and Play) device function that holds a plurality of connection destinations on a WAN (Wide Area Network) side, and address conversion between the WAN side and a LAN (Local Area Network) side A router device having a NAT (Network Address Translation) function for performing
A plurality of WAN logical ports for receiving packets received by the WAN interface according to their contents;
LAN logical ports arranged corresponding to the plurality of WAN logical ports;
And a means for associating the WAN side logical port with the LAN side logical port and notifying each LAN side logical port as an independent UPnP device.

本発明によるアドレス通知方法は、WAN(Wide Area Network)側に複数の接続先を保持するUPnP(Universal Plug and Play)デバイス機能と、前記WAN側とLAN(Local Area Network)側との間のアドレス変換を行うNAT(Network Address Translation)機能とを持つルータ装置を含むネットワークにおいて前記UPnPデバイスのアドレスを通知するアドレス通知方法であって、
WANインタフェースで受信するパケットをその内容に応じて受信する複数のWAN論理ポートと前記複数のWAN論理ポートに対応して配設されたLAN論理ポートと対応付けし、前記LAN側論理ポート毎に独立したUPnPデバイスとして通知を行っている。
An address notification method according to the present invention includes a UPnP (Universal Plug and Play) device function that holds a plurality of connection destinations on a WAN (Wide Area Network) side, and an address between the WAN side and a LAN (Local Area Network) side. An address notification method for notifying an address of the UPnP device in a network including a router device having a NAT (Network Address Translation) function for performing conversion,
A plurality of WAN logical ports that receive packets received by the WAN interface according to their contents are associated with LAN logical ports arranged corresponding to the plurality of WAN logical ports, and are independent for each LAN-side logical port. Notification as a UPnP device.

すなわち、本発明のルータ装置は、WAN(Wide Area Network)側に複数の接続先を保持するUPnP(Universal Plug and Play)デバイス(device)機能を持つNAT(Network Address Translation)ルータにおいて、UPnPデバイスを管理するUPnPコントロールポイント(Control Point)機能を持つホストがUPnPを使用する接続先を選択可能としている。   That is, the router device of the present invention includes a UPnP device in a NAT (Network Address Translation) router having a UPnP (Universal Plug and Play) device (device) function that holds a plurality of connection destinations on a WAN (Wide Area Network) side. A host having a UPnP control point (Control Point) function to be managed can select a connection destination using UPnP.

より具体的に説明すると、本発明のルータ装置は、WAN側論理ポートがWANインタフェースで受信するパケットを、その内容に応じてそれぞれのWAN側論理ポートで受信する。また、本発明のルータ装置は、NAT処理部から送信要求されたパケットをWAN側インタフェースを使用して送信する。   More specifically, the router device of the present invention receives a packet received by the WAN logical port at the WAN interface according to the content of each packet. Also, the router device of the present invention transmits a packet requested to be transmitted from the NAT processing unit using the WAN side interface.

本発明のルータ装置は、WAN側論理ポートと同数のLAN(Local Area Network)側論理ポートを設け、LAN側論理ポートが同一サブネットのIPアドレスをそれぞれ保持し、LANインタフェースで送受信するパケットをNAT処理部へ送受信する。   The router device of the present invention has the same number of LAN (Local Area Network) side logical ports as the WAN side logical port, the LAN side logical port holds the IP address of the same subnet, and performs NAT processing on packets transmitted and received by the LAN interface Send and receive.

NAT処理部はWAN側に保持した複数のWAN側論理ポートを同数用意したLAN側論理ポートと1対1に対応させ、それぞれのLAN側論理ポートの接続先に論理ポートが1つずつ存在するかのように振舞い、LAN側のUPnPコントロールポイントに対してあたかも複数のUPnPデバイスであるかのように振舞う。   The NAT processing unit has a one-to-one correspondence with the LAN side logical ports prepared for the same number of WAN side logical ports held on the WAN side, and whether there is one logical port at the connection destination of each LAN side logical port. Behave as if there are a plurality of UPnP devices with respect to the UPnP control point on the LAN side.

上記のように、本発明のルータ装置では、WAN側インタフェースの論理ポート毎にLANインタフェースを用意し、LAN側に対してはあたかも複数のUPnPデバイスであるかのように振舞っているので、LAN側に存在するUPnPコントロールポイントは自ホストでルーティングテーブルを持つことによって、使用するUPnPを自ホストから選択することが可能となる。   As described above, in the router device of the present invention, a LAN interface is prepared for each logical port of the WAN side interface, and the LAN side acts as if it is a plurality of UPnP devices. Since the UPnP control point existing in the local host has a routing table in its own host, it is possible to select the UPnP to be used from the local host.

WAN側論理ポートに接続される複数の接続先は、キャリアやISP(Internet Service Provider)の提供するインタネット接続網やクローズドネットワークである。   The plurality of connection destinations connected to the WAN side logical port are an Internet connection network or a closed network provided by a carrier or ISP (Internet Service Provider).

LAN側論理ポートはWAN側論理ポートに対して1対1に対応するが、LAN側IPサブネットのIPアドレスをそれぞれ1つずつ保持する。NAT処理部はLAN側ネットワークに対してUPnPデバイスの通知を行うが、LAN側論理ポートそれぞれのIPアドレスを使用して通知を行うため、UPnPコントロールポイントでは複数のUPnPデバイスを検出し、ネクストホップのIPアドレスを複数入手することが可能となる。   The LAN side logical port has a one-to-one correspondence with the WAN side logical port, but holds one IP address of the LAN side IP subnet. The NAT processing unit notifies the LAN side network of the UPnP device. However, since the notification is performed using the IP address of each LAN side logical port, the UPnP control point detects a plurality of UPnP devices and determines the next hop. It becomes possible to obtain a plurality of IP addresses.

一般に、IPホストはルーティングテーブルを保持して宛て先アドレスとネクストホップのIPアドレスとを組みにして管理しており、ネクストホップルータを使い分けることが可能である。すなわち、UPnPコントロールポイントはルーティングテーブルによって、どのUPnPデバイスを使用すればよいかが判断可能となっている。   Generally, an IP host maintains a routing table and manages a destination address and a next-hop IP address in combination, and can use different next-hop routers. That is, the UPnP control point can determine which UPnP device should be used by the routing table.

これによって、本発明のルータ装置では、WAN側接続先毎にUPnPデバイスの通知を行っているので、LAN側のUPnPコントロールポイントのホストが複数の接続先のUPnPデバイスを使い分けことが可能となる。   Thus, in the router device of the present invention, UPnP devices are notified for each WAN connection destination, so that the host of the UPnP control point on the LAN side can use a plurality of connection destination UPnP devices.

また、本発明のルータ装置では、複数存在するWAN側接続先毎のUPnPデバイスを通知しているので、LAN側に複数のUPnPコントロールポイントが存在する場合に、各PC(パーソナルコンピュータ)が別の接続先でUPnP機能を使用することが可能になる。   In addition, since the router apparatus of the present invention notifies a plurality of UPnP devices for each WAN side connection destination, each PC (personal computer) is different when there are a plurality of UPnP control points on the LAN side. The UPnP function can be used at the connection destination.

さらに、本発明のルータ装置では、複数存在するWAN側接続先毎のUPnPデバイスを常時通知しているので、UPnP機能を一つの接続先でしか使用することができない場合にも、NATルータの設定を変更せずに、PC側で選択可能となる。   Further, since the router device of the present invention constantly notifies the UPnP device for each of the plurality of WAN side connection destinations, even when the UPnP function can be used only by one connection destination, the setting of the NAT router is possible. Can be selected on the PC side without changing.

本発明は、以下に述べるような構成及び動作とすることで、複数の接続先に対してUPnP機能を同時に利用することができるという効果が得られる。   With the configuration and operation described below, the present invention provides an effect that the UPnP function can be used simultaneously for a plurality of connection destinations.

次に、本発明の実施例について図面を参照して説明する。図1は本発明の一実施例によるルータ装置の構成を示すブロック図である。図1において、本発明の一実施例によるルータ装置は、WAN(Wide Area Network)側に複数の接続先を保持するUPnP(Universal Plug and Play)デバイス(device)機能を持つNAT(Network Address Translation)ルータ1である。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a router device according to an embodiment of the present invention. Referring to FIG. 1, a router apparatus according to an embodiment of the present invention includes a NAT (Network Address Translation) having a UPnP (Universal Plug and Play) device (device) function that holds a plurality of connection destinations on a WAN (Wide Area Network) side. Router 1.

NATルータ1はNAT処理部2と、LAN(Local Area Network)論理ポート31〜33からなるLAN側論理ポート群3と、WAN論理ポート41〜43からなるWAN側論理ポート群4と、LANポート5と、WANポート6とを備えている。   The NAT router 1 includes a NAT processing unit 2, a LAN side logical port group 3 including LAN (Local Area Network) logical ports 31 to 33, a WAN side logical port group 4 including WAN logical ports 41 to 43, and a LAN port 5. And a WAN port 6.

WAN側論理ポート41〜43はWANポート6で受信するパケットを、その内容に応じてそれぞれのポートで受信する。また、WAN側論理ポート41〜43はNAT処理部2から送信要求されたパケットを、WANポート6を使用して送信する。   The WAN logical ports 41 to 43 receive the packets received at the WAN port 6 at the respective ports according to the contents. Further, the WAN side logical ports 41 to 43 use the WAN port 6 to transmit the packet requested to be transmitted from the NAT processing unit 2.

LAN側論理ポート31〜33はWAN側論理ポート41〜43と同数存在し、同一サブネットのIP(Internet Protocol)アドレスをそれぞれ保持する。また、LAN側論理ポート31〜33はLANポート5で送受信するパケットを、NAT処理部2へ送受信する。   The same number of LAN side logical ports 31 to 33 as the WAN side logical ports 41 to 43 exist, and hold IP (Internet Protocol) addresses of the same subnet. Further, the LAN side logical ports 31 to 33 transmit / receive packets transmitted / received by the LAN port 5 to / from the NAT processing unit 2.

NAT処理部2はWAN側に保持した複数のWAN側論理ポート41〜43を、それらと同数用意したLAN側論理ポート31〜33と1対1に対応させ、それぞれのLAN側論理ポート31〜33の接続先に論理ポートが1つずつ存在するかのように振舞い、UPnPデバイスを管理するLAN側のUPnPコントロールポイント(Control Point)(図示せず)に対して、あたかも複数のUPnPデバイスであるかのように振舞う。   The NAT processing unit 2 has a plurality of WAN side logical ports 41 to 43 held on the WAN side corresponding to the LAN side logical ports 31 to 33 prepared in the same number as the LAN side logical ports 31 to 33. Whether there are multiple UPnP devices for the LAN side UPnP control point (Control Point) (not shown) that manages UPnP devices. Behave like

このように、本実施例では、WAN側論理ポート41〜43毎にLAN側論理ポート31〜33を用意し、LAN側に対してあたかも複数のUPnPデバイスであるかのように振舞っているので、LAN側に存在するUPnPコントロールポイントが自ホストでルーティングテーブルを持つことによって使用するUPnPを自ホストから選択することができる。   As described above, in this embodiment, the LAN side logical ports 31 to 33 are prepared for the WAN side logical ports 41 to 43, and the LAN side behaves as if it is a plurality of UPnP devices. Since the UPnP control point existing on the LAN side has a routing table in its own host, UPnP to be used can be selected from the own host.

WAN側論理ポート41〜43に接続される複数の接続先は、キャリアやISP(Internet Service Provider)の提供するインターネット接続網(図示せず)やクローズドネットワーク(図示せず)である。LAN側論理ポート31〜33はWAN側論理ポート41〜43と1対1に対応するが、LAN側IPサブネット(図示せず)のIPアドレスをそれぞれ1つずつ保持する。   A plurality of connection destinations connected to the WAN side logical ports 41 to 43 are an Internet connection network (not shown) or a closed network (not shown) provided by a carrier or ISP (Internet Service Provider). The LAN side logical ports 31 to 33 correspond to the WAN side logical ports 41 to 43 on a one-to-one basis, but each holds one IP address of a LAN side IP subnet (not shown).

NAT処理部2はLAN側ネットワークに対し、UPnPデバイスの通知を行うが、LAN側論理ポート31〜33それぞれのIPアドレスを使用して通知を行うため、UPnPコントロールポイントでは複数のUPnPデバイスを検出し、ネクストホップのIPアドレスを複数入手することができる。   The NAT processing unit 2 notifies the LAN side network of UPnP devices. However, since the notification is performed using the IP addresses of the LAN side logical ports 31 to 33, the UPnP control point detects a plurality of UPnP devices. A plurality of next-hop IP addresses can be obtained.

一般に、IPホストはルーティングテーブルを保持して宛て先アドレスとネクストホップのIPアドレスとを組みにして管理し、ネクストホップルータを使い分けることが可能である。すなわち、UPnPコントロールポイントではルーティングテーブルによって、どのUPnPデバイスを使用すればよいかが判断可能となる。   In general, an IP host can maintain a routing table and manage a destination address and a next-hop IP address in combination, and can use different next-hop routers. That is, the UPnP control point can determine which UPnP device should be used by the routing table.

図2は本発明の一実施例によるルータ装置の動作を説明するためのブロック図である。図2において、NAT処理部2はWAN側論理ポート41〜43をLAN側論理ポート31〜33に対して1対1に関連付け、各組み合わせ毎にUPnPの通知をLAN側ネットワーク(図示せず)に対して行う。   FIG. 2 is a block diagram for explaining the operation of the router device according to the embodiment of the present invention. In FIG. 2, the NAT processing unit 2 associates the WAN side logical ports 41 to 43 with the LAN side logical ports 31 to 33 on a one-to-one basis, and notifies UPnP notification to the LAN side network (not shown) for each combination. Against.

WAN側論理ポート41〜43はそれぞれで異なるサブネットのIPアドレスを保持し、NAT処理部2の行うパケットの送受信のインタフェースの役割を果たす。   The WAN side logical ports 41 to 43 hold IP addresses of different subnets, respectively, and serve as an interface for packet transmission / reception performed by the NAT processing unit 2.

LAN側論理ポート31〜33はそれぞれで同一サブネットのIPアドレスを保持し、NAT処理部2の行うパケットの送受信のインタフェースの役割を果たす。   Each of the LAN side logical ports 31 to 33 holds an IP address of the same subnet and serves as an interface for packet transmission / reception performed by the NAT processing unit 2.

NAT処理部2は接続先毎に存在するWAN側論理ポート41〜43及びLAN側論理ポート31〜33を経由してパケットを送受信する。NAT処理部2はWAN側論理ポート41〜43とLAN側論理ポート31〜33とを対応付けし、LAN側論理ポート31〜33の論理ポート毎に独立したUPnPデバイスとして通知を行う。WAN側論理ポート41〜43のコネクションはLAN側論理ポート31〜33に関連付けられている。   The NAT processing unit 2 transmits and receives packets via the WAN side logical ports 41 to 43 and the LAN side logical ports 31 to 33 existing for each connection destination. The NAT processing unit 2 associates the WAN side logical ports 41 to 43 with the LAN side logical ports 31 to 33, and notifies the logical ports of the LAN side logical ports 31 to 33 as independent UPnP devices. The connections of the WAN side logical ports 41 to 43 are associated with the LAN side logical ports 31 to 33.

LAN側論理ポート31〜33から送信されるUPnP通知メッセージには、それぞれ対応付けられているWAN側論理ポート41〜43のコネクションが記載されている。   The UPnP notification messages transmitted from the LAN side logical ports 31 to 33 describe the connections of the associated WAN side logical ports 41 to 43, respectively.

尚、上記の説明において、NAT処理部2は、当業者にとってよく知られており、また本発明とは直接関係しないので、その詳細な構成についての説明は省略する。また、上記の説明において、WAN側論理ポート41〜43とLAN側論理ポート31〜33とはそれぞれ3個でなくてもよく、2つ以上であればいくつでも構成が可能である。また、LAN側ポート5及びWAN側ポート6は1つしかないが、それぞれ複数あってもよい。   In the above description, the NAT processing unit 2 is well known to those skilled in the art and is not directly related to the present invention. In the above description, the WAN side logical ports 41 to 43 and the LAN side logical ports 31 to 33 do not have to be three, and any number of configurations can be used as long as there are two or more. Moreover, although there is only one LAN side port 5 and WAN side port 6, there may be a plurality of each.

図3は図2のNATルータ1の初期動作を示すフローチャートである。これら図2及び図3を参照して本発明の一実施例によるNATルータ1の初期動作について説明する。   FIG. 3 is a flowchart showing an initial operation of the NAT router 1 of FIG. The initial operation of the NAT router 1 according to an embodiment of the present invention will be described with reference to FIGS.

NATルータ1はWAN側論理ポート41〜43を保持し(図3ステップS1)、これに対応する同数のLAN側論理ポート31〜33を自動的に生成する(図3ステップS2)。WAN側論理ポート41〜43のIPアドレスはWAN側から動的に割り当てられたり、予め決められたアドレスが割り当てられたりする。LAN側論理ポート31〜33それぞれのIPアドレスは、同一IPサブネットであり、他のホストと重複しないアドレスであればなんでもよく、ユーザが設定する。   The NAT router 1 holds the WAN side logical ports 41 to 43 (step S1 in FIG. 3), and automatically generates the same number of LAN side logical ports 31 to 33 corresponding thereto (step S2 in FIG. 3). The IP addresses of the WAN side logical ports 41 to 43 are dynamically assigned from the WAN side, or predetermined addresses are assigned. The IP addresses of the LAN side logical ports 31 to 33 are the same IP subnet, and any IP addresses that do not overlap with other hosts may be set by the user.

NAT処理部2はWAN側論理ポート41〜43とLAN側論理ポート31〜33とを1対1に対応付け、UPnPデバイスの通知メッセージを送信する(図3ステップS3)。この通知メッセージは、LAN側論理ポート31〜33それぞれ別のUPnPデバイスIDを使用し、それぞれのポートのIPアドレスでUPnP Discovery,Description,Contorol,EventingそれぞれのステージのUPnPシーケンスが実行される(図3ステップS4)。   The NAT processing unit 2 associates the WAN side logical ports 41 to 43 with the LAN side logical ports 31 to 33 one-to-one, and transmits a UPnP device notification message (step S3 in FIG. 3). This notification message uses different UPnP device IDs for the respective LAN side logical ports 31 to 33, and UPnP sequences of UPnP Discovery, Description, Control, and Eventing are executed with the IP addresses of the respective ports (FIG. 3). Step S4).

したがって、LAN100側に存在するPC(パーソナルコンピュータ)(図示せず)等のUPnPコントロールポイントは、複数のUPnPデバイスを検出する。   Therefore, a UPnP control point such as a PC (personal computer) (not shown) on the LAN 100 side detects a plurality of UPnP devices.

図4は本発明の一実施例によるネットワークの構成を示すブロック図である。図4において、本発明の一実施例によるネットワークはNATルータ1にLAN100、インタネット200、クローズドネットワークA300、クローズドネットワークB400を接続して構成されており、LAN100はNATルータ1のLAN側に、インタネット200とクローズドネットワークA300とクローズドネットワークB400とはNATルータ1のWAN側にそれぞれ接続されている。   FIG. 4 is a block diagram showing a network configuration according to an embodiment of the present invention. In FIG. 4, a network according to an embodiment of the present invention is configured by connecting a LAN 100, a LAN 200, a closed network A 300, and a closed network B 400 to a NAT router 1, and the LAN 100 is connected to the LAN side of the NAT router 1 on the Internet 200 side. The closed network A300 and the closed network B400 are connected to the WAN side of the NAT router 1, respectively.

また、LAN100にはPC7等のUPnPコントロールポイントが接続されており、PC7にはルーティングテーブル7aが保持されている。ルーティングテーブル7aはWAN側ネットワーク(インタネット200、クローズドネットワークA300、クローズドネットワークB400)のIPアドレス(「172.16.1.0/24」.「172.16.2.0/24」,「default」)と、ネクストホップのIPアドレス(「IPアドレス1」,「IPアドレス2」,「IPアドレス3」)とを対応付けるデータベースである。   Further, a UPnP control point such as a PC 7 is connected to the LAN 100, and the PC 7 holds a routing table 7a. The routing table 7a includes IP addresses (“172.16.1.0/24”, “172.16.2.0/24”, “default”) of the WAN side network (Internet 200, closed network A300, closed network B400). ) And the next hop IP address ("IP address 1", "IP address 2", "IP address 3").

さらに、PC7はルーティングテーブル7aに基づいて送信先を選択する機能を一般的に保持しているので、この機能を使用して予め登録を行っておけば、UPnPコントロールポイント(PC7)で動作するUPnPアプリケーションは容易に使用すべきUPnPデバイスを判断することができ、ユーザ自身がUPnPデバイスを選択する手間を省くことが可能となる。また、UPnPアプリケーションはそれぞれで使用したいUPnPデバイスを使用して通信を行うことが可能となる。   Further, since the PC 7 generally has a function of selecting a transmission destination based on the routing table 7a, if the registration is performed in advance using this function, the UPnP operating at the UPnP control point (PC 7). The application can easily determine the UPnP device to be used, and the user can save the trouble of selecting the UPnP device. Further, UPnP applications can communicate using UPnP devices that are desired to be used.

例えば、図3のクローズドネットワークA300に対して通信を行うUPnPアプリケーションがPC7で実行された場合、UPnPコントロールポイントであるPC7はルーティングテーブル7aを見て、「IPアドレス2」のUPnPデバイスを利用すればよいことがわかるので、UPnP機能を利用して、「IPアドレス2」のUPnPデバイスからWAN側IPアドレスを取得したり、クローズドネットワークA300向けにポートマッピング機能を実行したりすることが可能である。   For example, when a UPnP application that communicates with the closed network A300 in FIG. 3 is executed on the PC 7, the PC 7 that is the UPnP control point looks at the routing table 7a and uses the UPnP device of “IP address 2”. Since it is understood that it is good, it is possible to acquire the WAN side IP address from the UPnP device of “IP address 2” by using the UPnP function or to execute the port mapping function for the closed network A300.

尚、UPnPの具体的なシーケンスやNAT、ポートマッピング技術については、これらが当業者にはよく知られた技術であるので、その詳細な説明について省略する。   The specific sequence of UPnP, the NAT, and the port mapping technique are techniques well known to those skilled in the art, and a detailed description thereof will be omitted.

このように、本実施例では、WAN側接続先毎にUPnPデバイスの通知を行っているので、LAN100側のUPnPコントロールポイントのホスト(PC7)が複数の接続先のUPnPデバイスを使い分けすることができる。   In this way, in this embodiment, since the UPnP device is notified for each WAN connection destination, the host (PC 7) of the UPnP control point on the LAN 100 side can use a plurality of connection destination UPnP devices. .

また、本実施例では、複数存在するWAN側接続先毎のUPnPデバイスを通知しているので、LAN側に複数のUPnPコントロールポイントが存在する場合に、UPnPコントロールポイントであるPC7各々が別の接続先でUPnP機能を使用することができる。   In this embodiment, since a plurality of UPnP devices are notified for each WAN-side connection destination, when there are a plurality of UPnP control points on the LAN side, each of the PCs 7 as UPnP control points is connected separately. The UPnP function can be used first.

さらに、本実施例では、複数存在するWAN側接続先毎のUPnPデバイスを常時通知しているので、UPnP機能を一つの接続先でしか使用することができない場合にも、NATルータ1の設定を変更せずに、PC7側で選択可能となる。   Further, in this embodiment, since a plurality of UPnP devices for each WAN-side connection destination are constantly notified, even when the UPnP function can be used only by one connection destination, the NAT router 1 is set. It can be selected on the PC 7 side without changing.

図5は本発明の他の実施例によるネットワークの構成を示すブロック図である。この図5を参照して本発明の他の実施例によるネットワークの動作について説明する。尚、本発明の他の実施例によるNATルータ1の基本的構成は上述した本発明の一実施例によるNATルータ1と同様の構成となっているが、本実施例ではルーティングテーブルの設定についてさらに工夫している。   FIG. 5 is a block diagram showing a network configuration according to another embodiment of the present invention. The operation of the network according to another embodiment of the present invention will be described with reference to FIG. The basic configuration of the NAT router 1 according to another embodiment of the present invention is the same as that of the NAT router 1 according to the embodiment of the present invention described above. Devised.

図5において、NATルータ1はWAN側ネットワーク(インタネット200、クローズドネットワークA300、クローズドネットワークB400)の経路情報をRIP(Routong Information Protocol)等のルーティングプロトコルを使用して通知する。   In FIG. 5, the NAT router 1 notifies the route information of the WAN side network (Internet 200, closed network A300, closed network B400) using a routing protocol such as RIP (Route Information Protocol).

NATルータ1のNAT処理部(図示せず)はWAN側ネットワーク(インタネット200、クローズドネットワークA300、クローズドネットワークB400)の経路情報をルーティングプロトコルを使用して通知する機能を備えている。PC7側では、例えばRIP等のルーティングプロトコルによってルーティングテーブルを得ることができる機能を備えるホストが多く存在する。   The NAT processing unit (not shown) of the NAT router 1 has a function of notifying route information of the WAN side network (Internet 200, closed network A300, closed network B400) using a routing protocol. On the PC 7 side, for example, there are many hosts having a function capable of obtaining a routing table by a routing protocol such as RIP.

このように、本実施例では、PC7側で設定する必要のあったルーティングテーブルの設定が不要になり、また動的なルーティングテーブルの変更も可能になるという効果が得られる。   As described above, in this embodiment, it is not necessary to set the routing table that needs to be set on the PC 7 side, and an effect that the dynamic routing table can be changed is obtained.

本発明の別の実施例としては、LAN側に対してDHCP(Dynamic Host Configuration Protocol)サーバを使用して、アドレス管理も行うことによって、LAN側論理ポートに付与するIPアドレスをユーザが手動で設定することなく、自動的に設定することが可能となる。   As another embodiment of the present invention, a user manually sets an IP address to be assigned to a LAN side logical port by performing address management using a DHCP (Dynamic Host Configuration Protocol) server on the LAN side. It becomes possible to set automatically without doing.

本発明の別の実施例によるネットワークの構成は、図2に示す構成と同等であるが、NATルータ1のNAT処理部は、DHCPサーバ機能及びLAN側論理ポートのIPアドレスを自動的に設定する機能を備えている。   The network configuration according to another embodiment of the present invention is equivalent to the configuration shown in FIG. 2, but the NAT processing unit of the NAT router 1 automatically sets the DHCP server function and the IP address of the LAN side logical port. It has a function.

このように、本実施例では、PC7側で設定する必要のあったIPアドレスの設定を自動化しているので、PC7側での設定が簡潔になるという効果が得られる。また、本実施例によるDHCPサーバ機能は、NATルータ1側からアドレスをPC7へ付与する手段であればなんでもよく、bootp(bootstrap protocol)やPPPoE[Point to Point Protocol over Ethernet(R)]等の手段を使用してもよい。   As described above, in this embodiment, since the setting of the IP address that had to be set on the PC 7 side is automated, there is an effect that the setting on the PC 7 side is simplified. The DHCP server function according to the present embodiment may be any means as long as it is a means for assigning an address to the PC 7 from the NAT router 1 side, such as bootp (bootstrap protocol) or PPPoE (Point to Point Protocol over Ethernet (R)). May be used.

本発明の一実施例によるルータ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the router apparatus by one Example of this invention. 本発明の一実施例によるルータ装置の動作を説明するためのブロック図である。It is a block diagram for demonstrating operation | movement of the router apparatus by one Example of this invention. 図2のNATルータの初期動作を示すフローチャートである。3 is a flowchart showing an initial operation of the NAT router of FIG. 2. 本発明の一実施例によるネットワークの構成を示すブロック図である。It is a block diagram which shows the structure of the network by one Example of this invention. 本発明の他の実施例によるネットワークの構成を示すブロック図である。It is a block diagram which shows the structure of the network by the other Example of this invention. 従来例によるルータ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the router apparatus by a prior art example.

符号の説明Explanation of symbols

1 NATルータ
2 NAT処理部
3 LAN側論理ポート群
4 WAN側論理ポート群
5 LANポート
6 WANポート
31〜33 LAN論理ポート
41〜43 WAN論理ポート
100 LAN
200 インタネット
300 クローズドネットワークA
400 クローズドネットワークB
1 NAT router
2 NAT processing section
3 LAN side logical port group
4 WAN side logical port group
5 LAN port
6 WAN port 31-33 LAN logical port 41-43 WAN logical port 100 LAN
200 Internet 300 Closed network A
400 Closed network B

Claims (15)

WAN(Wide Area Network)側に複数の接続先を保持するUPnP(Universal Plug and Play)デバイス機能と、前記WAN側とLAN(Local Area Network)側との間のアドレス変換を行うNAT(Network Address Translation)機能とを持つルータ装置を含むネットワークであって、
WANインタフェースで受信するパケットをその内容に応じて受信する複数のWAN論理ポートと、
前記複数のWAN論理ポートに対応して配設されたLAN論理ポートと、
前記WAN側論理ポートと前記LAN側論理ポートとを対応付けしかつ前記LAN側論理ポート毎に独立したUPnPデバイスとして通知を行う手段とを前記ルータ装置に有することを特徴とするネットワーク。
A UPnP (Universal Plug and Play) device function that holds a plurality of connection destinations on a WAN (Wide Area Network) side, and a NAT (Network Address Transport Trunk) that performs address conversion between the WAN side and a LAN (Local Area Network) side ) A network including a router device having a function,
A plurality of WAN logical ports for receiving packets received by the WAN interface according to their contents;
LAN logical ports arranged corresponding to the plurality of WAN logical ports;
A network characterized in that the router device has means for associating the WAN side logical port with the LAN side logical port and notifying each LAN side logical port as an independent UPnP device.
前記通知を行う手段は、対応させた論理ポート毎にUPnPメッセージを生成することを特徴とする請求項1記載のネットワーク。   The network according to claim 1, wherein the notification unit generates a UPnP message for each corresponding logical port. 前記WAN側論理ポートのコネクションは、前記LAN側論理ポートに関連付けられていることを特徴とする請求項1または請求項2記載のネットワーク。   3. The network according to claim 1, wherein the WAN logical port connection is associated with the LAN logical port. 前記UPnPコントロールポイントの機能を持つホストがUPnPを使用する接続先を選択自在としたことを特徴とする請求項1から請求項3のいずれか記載のネットワーク。   4. The network according to claim 1, wherein a host having the UPnP control point function can freely select a connection destination using UPnP. 前記WAN論理ポートは前記WAN側の異なるサブネットのIP(Internet Protocol)アドレスを保持し、前記LAN論理ポートは前記LAN側の同一サブネットのIPアドレスを保持することを特徴とする請求項1から請求項4のいずれか記載のネットワーク。   2. The WAN logical port holds an IP (Internet Protocol) address of a different subnet on the WAN side, and the LAN logical port holds an IP address of the same subnet on the LAN side. 4. The network according to any one of 4. WAN(Wide Area Network)側に複数の接続先を保持するUPnP(Universal Plug and Play)デバイス機能と、前記WAN側とLAN(Local Area Network)側との間のアドレス変換を行うNAT(Network Address Translation)機能とを持つルータ装置であって、
WANインタフェースで受信するパケットをその内容に応じて受信する複数のWAN論理ポートと、
前記複数のWAN論理ポートに対応して配設されたLAN論理ポートと、
前記WAN側論理ポートと前記LAN側論理ポートとを対応付けしかつ前記LAN側論理ポート毎に独立したUPnPデバイスとして通知を行う手段とを有することを特徴とするルータ装置。
A UPnP (Universal Plug and Play) device function that holds a plurality of connection destinations on a WAN (Wide Area Network) side, and a NAT (Network Address Transport Trunk) that performs address conversion between the WAN side and a LAN (Local Area Network) side A router device with a function,
A plurality of WAN logical ports for receiving packets received by the WAN interface according to their contents;
LAN logical ports arranged corresponding to the plurality of WAN logical ports;
A router device comprising: means for associating the WAN side logical port with the LAN side logical port and notifying each LAN side logical port as an independent UPnP device.
前記通知を行う手段は、対応させた論理ポート毎にUPnPメッセージを生成することを特徴とする請求項6記載のルータ装置。   The router device according to claim 6, wherein the notification unit generates a UPnP message for each corresponding logical port. 前記WAN側論理ポートのコネクションは、前記LAN側論理ポートに関連付けられていることを特徴とする請求項6または請求項7記載のルータ装置。   8. The router device according to claim 6, wherein the WAN logical port connection is associated with the LAN logical port. 前記UPnPコントロールポイントの機能を持つホストがUPnPを使用する接続先を選択自在としたことを特徴とする請求項6から請求項8のいずれか記載のルータ装置。   9. The router device according to claim 6, wherein a host having the UPnP control point function can freely select a connection destination using UPnP. 前記WAN論理ポートは前記WAN側の異なるサブネットのIP(Internet Protocol)アドレスを保持し、前記LAN論理ポートは前記LAN側の同一サブネットのIPアドレスを保持することを特徴とする請求項6から請求項9のいずれか記載のルータ装置。   7. The WAN logical port holds an IP (Internet Protocol) address of a different subnet on the WAN side, and the LAN logical port holds an IP address of the same subnet on the LAN side. The router device according to any one of 9. WAN(Wide Area Network)側に複数の接続先を保持するUPnP(Universal Plug and Play)デバイス機能と、前記WAN側とLAN(Local Area Network)側との間のアドレス変換を行うNAT(Network Address Translation)機能とを持つルータ装置を含むネットワークにおいて前記UPnPデバイスのアドレスを通知するアドレス通知方法であって、
WANインタフェースで受信するパケットをその内容に応じて受信する複数のWAN論理ポートと前記複数のWAN論理ポートに対応して配設されたLAN論理ポートと対応付けし、前記LAN側論理ポート毎に独立したUPnPデバイスとして通知を行うことを特徴とするアドレス通知方法。
A UPnP (Universal Plug and Play) device function that holds a plurality of connection destinations on a WAN (Wide Area Network) side, and a NAT (Network Address Transport Trunk) that performs address conversion between the WAN side and a LAN (Local Area Network) side An address notification method for notifying the address of the UPnP device in a network including a router device having a function;
A plurality of WAN logical ports that receive packets received by the WAN interface according to the contents thereof are associated with LAN logical ports arranged corresponding to the plurality of WAN logical ports, and independent for each LAN side logical port. An address notification method characterized by performing notification as a UPnP device.
前記通知を行う際に、対応させた論理ポート毎にUPnPメッセージを生成することを特徴とする請求項11記載のアドレス通知方法。   12. The address notification method according to claim 11, wherein when performing the notification, a UPnP message is generated for each corresponding logical port. 前記WAN側論理ポートのコネクションは、前記LAN側論理ポートに関連付けられていることを特徴とする請求項11または請求項12記載のアドレス通知方法。   13. The address notification method according to claim 11, wherein the connection of the WAN side logical port is associated with the LAN side logical port. 前記UPnPコントロールポイントの機能を持つホストがUPnPを使用する接続先を選択自在としたことを特徴とする請求項11から請求項13のいずれか記載のアドレス通知方法。   14. The address notification method according to claim 11, wherein a host having the UPnP control point function can freely select a connection destination using UPnP. 前記WAN論理ポートは前記WAN側の異なるサブネットのIP(Internet Protocol)アドレスを保持し、前記LAN論理ポートは前記LAN側の同一サブネットのIPアドレスを保持することを特徴とする請求項11から請求項14のいずれか記載のアドレス通知方法。
12. The WAN logical port holds an IP (Internet Protocol) address of a different subnet on the WAN side, and the LAN logical port holds an IP address of the same subnet on the LAN side. 14. The address notification method according to any one of 14.
JP2004027429A 2004-02-04 2004-02-04 Network and router apparatus and address notification method used therefor Expired - Fee Related JP3808471B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004027429A JP3808471B2 (en) 2004-02-04 2004-02-04 Network and router apparatus and address notification method used therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004027429A JP3808471B2 (en) 2004-02-04 2004-02-04 Network and router apparatus and address notification method used therefor

Publications (2)

Publication Number Publication Date
JP2005223464A JP2005223464A (en) 2005-08-18
JP3808471B2 true JP3808471B2 (en) 2006-08-09

Family

ID=34998784

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004027429A Expired - Fee Related JP3808471B2 (en) 2004-02-04 2004-02-04 Network and router apparatus and address notification method used therefor

Country Status (1)

Country Link
JP (1) JP3808471B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008042834A (en) * 2006-08-10 2008-02-21 Nec Access Technica Ltd Network connecting apparatus, network system and network connection method
TWI383649B (en) * 2007-07-27 2013-01-21 Wistron Corp Ip phone system in upnp network protocols

Also Published As

Publication number Publication date
JP2005223464A (en) 2005-08-18

Similar Documents

Publication Publication Date Title
US10469444B2 (en) System and method for direct connections between previously unconnected network devices across one or more unknown networks
EP1441483B1 (en) Gateway for supporting communications between network devices of different private networks
US8050267B2 (en) Simple virtual private network for small local area networks
US8457014B2 (en) Method for configuring control tunnel and direct tunnel in IPv4 network-based IPv6 service providing system
US20070081530A1 (en) Packet relay apparatus
US20050246431A1 (en) Method and apparatus for selecting forwarding modes
US8458303B2 (en) Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset
JP5214402B2 (en) Packet transfer apparatus, packet transfer method, packet transfer program, and communication apparatus
JP4600394B2 (en) Network access router, network access method, program, and recording medium
JP2004357292A (en) System for converting data transferred on ip switched network from ipv4 base into ipv6 base
KR101901341B1 (en) Method and apparatus for supporting mobility of user equipment
Rodriguez-Natal et al. Programmable overlays via openoverlayrouter
US8873569B2 (en) User centric virtual network and method of establishing the same
JP3858884B2 (en) Network access gateway, network access gateway control method and program
US20150032898A1 (en) Method for establishing a virtual community network connection and a system for implementing said method
CN100539551C (en) The implementation method of static network address conversion-protocol conversion and gateway device
JP2005033250A (en) Relaying apparatus and port forward setting method
JP3808471B2 (en) Network and router apparatus and address notification method used therefor
JP2005064570A (en) Network system and internetwork apparatus
JP2006128803A (en) Memory relaying apparatus and network system
JP5054666B2 (en) VPN connection device, packet control method, and program
JP2004135108A (en) Communication control method, communication terminal, router, control program of communication terminal and control program of router
JP2006262352A (en) Mobile terminal, packet relay device, communication system, and communication method
JP2001057572A (en) Access routing method and access providing system
KR100702783B1 (en) System and method for devices with identical MAC address in a subnet in IP based internet access network

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060509

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060517

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100526

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110526

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110526

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120526

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120526

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130526

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees