JP3808471B2 - Network and router apparatus and address notification method used therefor - Google Patents
Network and router apparatus and address notification method used therefor Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 13
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 9
- 238000013519 translation Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
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
WAN側論理ポート821〜823はWANポート84を介して図示せぬ複数の接続先への通信を行う。NAT処理部81は図示せぬLAN−WAN間のNAT(アドレス変換)を行い(例えば、非特許文献1参照)、LANポート83からはUPnP通知メッセージを送信する。
The WAN-side
NATルータ8ではLAN側ホストに対してUPnPデバイス(device)になることによって、NATルータ8のWAN側IP(Internet Protocol)アドレスを通知することができるようになり、LAN側ホストはNATルータ8越しに接続が難しかったアプリケーションを容易に動作させることが可能となる。
The
しかしながら、昨今、ブロードバンドサービスが多様化し、各キャリアや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
ところが、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.
しかしながら、上述した従来の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.
NATルータ1はNAT処理部2と、LAN(Local Area Network)論理ポート31〜33からなるLAN側論理ポート群3と、WAN論理ポート41〜43からなるWAN側論理ポート群4と、LANポート5と、WANポート6とを備えている。
The
WAN側論理ポート41〜43はWANポート6で受信するパケットを、その内容に応じてそれぞれのポートで受信する。また、WAN側論理ポート41〜43はNAT処理部2から送信要求されたパケットを、WANポート6を使用して送信する。
The WAN
LAN側論理ポート31〜33はWAN側論理ポート41〜43と同数存在し、同一サブネットのIP(Internet Protocol)アドレスをそれぞれ保持する。また、LAN側論理ポート31〜33はLANポート5で送受信するパケットを、NAT処理部2へ送受信する。
The same number of LAN side
NAT処理部2はWAN側に保持した複数のWAN側論理ポート41〜43を、それらと同数用意したLAN側論理ポート31〜33と1対1に対応させ、それぞれのLAN側論理ポート31〜33の接続先に論理ポートが1つずつ存在するかのように振舞い、UPnPデバイスを管理するLAN側のUPnPコントロールポイント(Control Point)(図示せず)に対して、あたかも複数のUPnPデバイスであるかのように振舞う。
The
このように、本実施例では、WAN側論理ポート41〜43毎にLAN側論理ポート31〜33を用意し、LAN側に対してあたかも複数のUPnPデバイスであるかのように振舞っているので、LAN側に存在するUPnPコントロールポイントが自ホストでルーティングテーブルを持つことによって使用するUPnPを自ホストから選択することができる。
As described above, in this embodiment, the LAN side
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
NAT処理部2はLAN側ネットワークに対し、UPnPデバイスの通知を行うが、LAN側論理ポート31〜33それぞれのIPアドレスを使用して通知を行うため、UPnPコントロールポイントでは複数のUPnPデバイスを検出し、ネクストホップのIPアドレスを複数入手することができる。
The
一般に、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
WAN側論理ポート41〜43はそれぞれで異なるサブネットのIPアドレスを保持し、NAT処理部2の行うパケットの送受信のインタフェースの役割を果たす。
The WAN side
LAN側論理ポート31〜33はそれぞれで同一サブネットのIPアドレスを保持し、NAT処理部2の行うパケットの送受信のインタフェースの役割を果たす。
Each of the LAN side
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
LAN側論理ポート31〜33から送信されるUPnP通知メッセージには、それぞれ対応付けられているWAN側論理ポート41〜43のコネクションが記載されている。
The UPnP notification messages transmitted from the LAN side
尚、上記の説明において、NAT処理部2は、当業者にとってよく知られており、また本発明とは直接関係しないので、その詳細な構成についての説明は省略する。また、上記の説明において、WAN側論理ポート41〜43とLAN側論理ポート31〜33とはそれぞれ3個でなくてもよく、2つ以上であればいくつでも構成が可能である。また、LAN側ポート5及びWAN側ポート6は1つしかないが、それぞれ複数あってもよい。
In the above description, the
図3は図2のNATルータ1の初期動作を示すフローチャートである。これら図2及び図3を参照して本発明の一実施例によるNATルータ1の初期動作について説明する。
FIG. 3 is a flowchart showing an initial operation of the
NATルータ1はWAN側論理ポート41〜43を保持し(図3ステップS1)、これに対応する同数のLAN側論理ポート31〜33を自動的に生成する(図3ステップS2)。WAN側論理ポート41〜43のIPアドレスはWAN側から動的に割り当てられたり、予め決められたアドレスが割り当てられたりする。LAN側論理ポート31〜33それぞれのIPアドレスは、同一IPサブネットであり、他のホストと重複しないアドレスであればなんでもよく、ユーザが設定する。
The
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
したがって、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
また、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 (
さらに、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 “
尚、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
図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
図5において、NATルータ1はWAN側ネットワーク(インタネット200、クローズドネットワークA300、クローズドネットワークB400)の経路情報をRIP(Routong Information Protocol)等のルーティングプロトコルを使用して通知する。
In FIG. 5, the
NATルータ1のNAT処理部(図示せず)はWAN側ネットワーク(インタネット200、クローズドネットワークA300、クローズドネットワークB400)の経路情報をルーティングプロトコルを使用して通知する機能を備えている。PC7側では、例えばRIP等のルーティングプロトコルによってルーティングテーブルを得ることができる機能を備えるホストが多く存在する。
The NAT processing unit (not shown) of the
このように、本実施例では、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
このように、本実施例では、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
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
400 Closed network B
Claims (15)
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.
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.
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.
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.
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)
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 |
-
2004
- 2004-02-04 JP JP2004027429A patent/JP3808471B2/en not_active Expired - Fee Related
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 | |
JP5214402B2 (en) | Packet transfer apparatus, packet transfer method, packet transfer program, and communication apparatus | |
US8458303B2 (en) | Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset | |
CN102171986B (en) | A method and a gateway for providing multiple internet access | |
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 | |
JP3858884B2 (en) | Network access gateway, network access gateway control method and program | |
CN103999494A (en) | Wireless network system, wireless communication device and program of wireless communication device | |
US20130163601A1 (en) | User centric virtual network and method of establishing the same | |
JP4600394B2 (en) | Network access router, network access method, program, and recording medium | |
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 | |
CN1529480B (en) | A method of IP network protocol conversion | |
JP3808471B2 (en) | Network and router apparatus and address notification method used therefor | |
JP2005064570A (en) | Network system and internetwork apparatus | |
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 | |
JP2001057572A (en) | Access routing method and access providing system |
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 |