JP2006050405A - Communication network system, communication terminal and nat solving method - Google Patents

Communication network system, communication terminal and nat solving method Download PDF

Info

Publication number
JP2006050405A
JP2006050405A JP2004230761A JP2004230761A JP2006050405A JP 2006050405 A JP2006050405 A JP 2006050405A JP 2004230761 A JP2004230761 A JP 2004230761A JP 2004230761 A JP2004230761 A JP 2004230761A JP 2006050405 A JP2006050405 A JP 2006050405A
Authority
JP
Japan
Prior art keywords
communication
address
terminal
packet
communication network
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.)
Pending
Application number
JP2004230761A
Other languages
Japanese (ja)
Inventor
Takeshi Hori
健 堀
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 Platforms Ltd
Original Assignee
NEC Infrontia Corp
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 Infrontia Corp filed Critical NEC Infrontia Corp
Priority to JP2004230761A priority Critical patent/JP2006050405A/en
Publication of JP2006050405A publication Critical patent/JP2006050405A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that a burden is applied to management of a router if a configuration of a network connected to the router including a NAT function is changed. <P>SOLUTION: There are provided a first communication network that uses a first IP address, a second communication network that uses a second IP address, and a communication control unit that performs NAT processing between both the communication networks. Each of communication terminals of the first communication network includes: a message generation unit that generates a communication start request message containing a first IP address of the present terminal and described in a data region of an IP packet when starting communicating with another terminal; a route search unit that searches for a transmission route to the other terminal; and an address conversion unit that determines whether the communication control unit is included in the transmission route, and converts the first IP address in the communication start request message into a second IP address of the communication control unit if the communication control unit is included. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、NAT(Network Address Translation)あるいはNAPT(Network Address Port Translation)機能を有するルータを介して接続された複数の通信ネットワークを含むシステムに関する。   The present invention relates to a system including a plurality of communication networks connected via a router having a NAT (Network Address Translation) or NAPT (Network Address Port Translation) function.

従来、インターネットのようなグローバルネットワークと、社内ネットワークのようなローカルネットワークとの間でIPパケットを交信させる際、両ネットワーク間にNAT機能を有するルータを介在させ、このルータにより、IPパケットのアドレス変換を行うことが知られている。NAT機能は、受信したIPパケットにおけるIPレイヤーに関する情報、すなわち該IPパケットのヘッダ領域に記述されている情報に着目し、その情報中の送信元および宛先のIPアドレスを、送信先のネットワークに対応したIPアドレスに統一するための変換を行うものである。   Conventionally, when IP packets are communicated between a global network such as the Internet and a local network such as an in-house network, a router having a NAT function is interposed between the two networks, and this router converts the IP packet address. Is known to do. The NAT function focuses on information related to the IP layer in the received IP packet, that is, information described in the header area of the IP packet, and corresponds the source and destination IP addresses in the information to the destination network. The conversion is performed to unify the IP addresses.

ところで、VoIP(Voice over IP)を利用したIP電話サービスや、動画配信サービスなどの通信サービスでは、音声通信用のプロトコルとして、SIP(Session Initiation Protocol)あるいはH.323等が用いられ、例えばSIPの場合、上記の通話開始要求メッセージとしてInviteメッセージが作成される。このInviteメッセージは、宛先に送信されるIPパケットのデータ領域に記述され、メッセージ内には、送信元および宛先のIPアドレスが含まれる。   By the way, in an IP telephone service using VoIP (Voice over IP) and a communication service such as a moving image distribution service, SIP (Session Initiation Protocol) or H.264 is used as a voice communication protocol. For example, in the case of SIP, an Invite message is created as the call start request message. This Invite message is described in the data area of the IP packet transmitted to the destination, and the source and destination IP addresses are included in the message.

しかしながら、上記のInviteメッセージが記述されたIPパケットを、NAT機能を持つルータを介して交信すると、該パケットのヘッダ領域のアドレス変換は行われるものの、データ領域内のInviteメッセージのIPアドレスは変換されないことから、適正な交信を行うことができないという不都合が生じる。   However, when an IP packet in which the above Invite message is described is exchanged via a router having a NAT function, the address of the header area of the packet is converted, but the IP address of the Invite message in the data area is not converted. For this reason, there arises a disadvantage that proper communication cannot be performed.

この不都合を解消するための手法が、例えば、後述の特許文献1及び2に記載されている。特許文献1には、NAT機能を持ち、内部および外部ネットワーク間を接続するルータが、内部ネットワークに接続された装置に対して外部ネットワークで用いられるパブリックIPアドレスと同一アドレスを割り振るという手法が開示されている。   Techniques for eliminating this inconvenience are described in, for example, Patent Documents 1 and 2 described later. Patent Document 1 discloses a method in which a router having a NAT function and connecting between an internal network and an external network allocates the same address as a public IP address used in the external network to a device connected to the internal network. ing.

また、特許文献2には、IPv4を適用するネットワークと、IPv6を適用するネットワークとを接続するIPアドレス変換装置に、RFC3303等で規定されているALG(Application Level Gateway)機能を与え、送信元から受信したSIPメッセージ内にIPアドレスがあるとき、これを送信先のネットワークに対応したIPアドレス形式に変換するという手法が開示されている。
特開2003−273891号公報 特開2004−165823号公報
Further, in Patent Document 2, an ALG (Application Level Gateway) function defined in RFC 3303 or the like is given to an IP address translation apparatus that connects a network to which IPv4 is applied and a network to which IPv6 is applied. A technique is disclosed in which when an IP address is present in a received SIP message, it is converted into an IP address format corresponding to a destination network.
JP 2003-238991 A JP 2004-165823 A

上記の特許文献1及び2によれば、それぞれの手法により、NAT機能に係る上述の不都合が解消されることを期待できる。しかしながら、これらの手法では、アドレスの割り振りあるいはアドレス変換といった解決手段が、両ネットワーク間を接続するルータに与えることから、例えば、端末数の増減により各ネットワーク内の構成が変化する場合、ルータの管理者は、その都度、変化した構成についての情報を再設定するという作業を必要とされる。また、再設定作業の間、ネットワーク間の通信サービスが停止されることから、ユーザにとっても不都合が生じる。   According to the above Patent Documents 1 and 2, it can be expected that the above-described inconveniences related to the NAT function are solved by the respective methods. However, in these methods, since the solution means such as address allocation or address conversion is given to the routers connecting the two networks, for example, when the configuration in each network changes due to the increase or decrease in the number of terminals, the router management Each time, the person is required to reset the information about the changed configuration. Further, the communication service between the networks is stopped during the resetting operation, which causes inconvenience for the user.

本発明は、上記課題に鑑みてなされたものであり、複数のネットワークがNAT機能を有するルータにより接続されたシステムにおいて、SIPあるいはH.323等の音声通信用のプロトコルが用いられる際の不都合を解消すると共に、ルータの管理にかかる負担を軽減し得る手法を提供することを目的とする。   The present invention has been made in view of the above problems. In a system in which a plurality of networks are connected by a router having a NAT function, the SIP or H.264 network is used. An object of the present invention is to provide a technique capable of reducing the burden on router management while eliminating the inconvenience when a voice communication protocol such as H.323 is used.

本発明に係る通信ネットワークシステムは、第1の通信ネットワークと、該第1の通信ネットワークと異なる通信プロトコルを適用される第2の通信ネットワークと、該第1および第2の両通信ネットワークに接続され且つ該両通信ネットワーク間にて交信されるIPパケットのヘッダ領域のアドレス変換を行う通信制御装置とを備え、前記第1の通信ネットワークは、第1のIPアドレスを割り当てられた複数の通信端末を有する複数の内部ネットワークと、該複数の内部ネットワーク間を接続する接続装置とを有し、前記第2の通信ネットワークは、第2のIPアドレスを割り当てられた通信端末を有し、前記第1の通信ネットワークの各通信端末は、他端末との通信開始時に、自端末の第1のIPアドレスを含み且つIPパケットのデータ領域に記述される通信開始要求メッセージを生成するメッセージ生成部と、前記他端末への伝送経路を検索する経路検索部と、前記経路検索部が検索した伝送経路に前記通信制御装置が含まれるか否かを判定し、前記通信制御装置が含まれるとき、前記メッセージ生成部が生成した通信開始要求メッセージにおける前記第1のIPアドレスを前記通信制御装置の第2のIPアドレスに変換するアドレス変換部と、前記通信開始要求メッセージが記述されたIPパケットを当該伝送経路へ出力するパケット送信部とを有する。   A communication network system according to the present invention is connected to a first communication network, a second communication network to which a communication protocol different from that of the first communication network is applied, and both the first and second communication networks. And a communication control device that performs address conversion of a header area of an IP packet communicated between the two communication networks, wherein the first communication network includes a plurality of communication terminals assigned with a first IP address. A plurality of internal networks, and a connection device for connecting the plurality of internal networks, wherein the second communication network includes a communication terminal assigned with a second IP address, Each communication terminal of the communication network includes the first IP address of its own terminal when it starts communication with other terminals, and the IP packet A message generation unit that generates a communication start request message described in a data area, a route search unit that searches for a transmission route to the other terminal, and the communication control device is included in the transmission path searched by the route search unit Address conversion for converting the first IP address in the communication start request message generated by the message generation unit into the second IP address of the communication control device when the communication control device is included. And a packet transmission unit that outputs an IP packet in which the communication start request message is described to the transmission path.

本発明に係るNAT解決方法は、第1の通信ネットワークと、該第1の通信ネットワークと異なる通信プロトコルを適用される第2の通信ネットワークと、該第1および第2の両通信ネットワークに接続され且つ該両通信ネットワーク間にて交信されるIPパケットのヘッダ領域のアドレス変換を行う通信制御装置とを備え、前記第1の通信ネットワークが、第1のIPアドレスを割り当てられた複数の通信端末を有する複数の内部ネットワークと、該複数の内部ネットワーク間を接続する接続装置とを有し、前記第2の通信ネットワークが、第2のIPアドレスを割り当てられた通信端末を有するシステムにおいて、前記第1の通信ネットワークの各通信端末が、他端末との通信開始時に、自端末の第1のIPアドレスを含み且つIPパケットのデータ領域に記述される通信開始要求メッセージを生成し、前記他端末への伝送経路を検索し、検索した伝送経路に前記通信制御装置が含まれるか否かを判定し、前記通信制御装置が含まれるとき、前記生成した通信開始要求メッセージにおける前記第1のIPアドレスを前記通信制御装置の第2のIPアドレスに変換し、前記通信開始要求メッセージを記述したIPパケットを当該伝送経路へ出力するという方法である。   The NAT solution according to the present invention is connected to a first communication network, a second communication network to which a communication protocol different from that of the first communication network is applied, and both the first and second communication networks. And a communication control device that performs address conversion of a header area of an IP packet communicated between the two communication networks, wherein the first communication network includes a plurality of communication terminals to which a first IP address is assigned. A system having a plurality of internal networks and a connection device for connecting the plurality of internal networks, wherein the second communication network includes a communication terminal to which a second IP address is assigned. Each communication terminal of the communication network includes the first IP address of its own terminal and the IP packet at the start of communication with another terminal. Generating a communication start request message described in a data area of the network, searching for a transmission path to the other terminal, determining whether or not the communication control apparatus is included in the searched transmission path, and the communication control apparatus Is included, the first IP address in the generated communication start request message is converted into a second IP address of the communication control device, and an IP packet describing the communication start request message is output to the transmission path It is a method of doing.

本発明によれば、各通信端末に、IPパケットのデータ領域に対するIPアドレス変換機能を与えたことにより、第1及び第2の各通信ネットワーク内の構成に変化があっても、通信制御装置の管理上の負担を与え難くすることができる。また、各通信端末は、通信に利用する伝送経路に応じて、IPアドレス変換の実行の要否を判断することから、通信相手が自端末と同一ネットワークか否かに拘わらず、該通信相手に対し適切なIPパケットを送信することができる。   According to the present invention, by providing each communication terminal with the IP address conversion function for the data area of the IP packet, even if there is a change in the configuration in each of the first and second communication networks, It can make it difficult to give administrative burden. In addition, each communication terminal determines whether or not IP address conversion needs to be performed according to the transmission path used for communication. Therefore, regardless of whether or not the communication partner is the same network as its own terminal, An appropriate IP packet can be transmitted.

[実施例1]
以下、本発明の実施例について図面を用いて詳細に説明する。図1は、実施例のシステム構成を示すブロック図である。実施例のシステムは、インターネットのようなグローバルエリアネットワーク10と、社内ネットワークのようなローカルエリアネットワーク20と、これらの両ネットワーク10及び20に接続され、従来知られたNAT機能を有する通信制御装置であるルータ101とを備える。グローバルエリアネットワーク10では、本発明の第1または第2のIPアドレスとなるグローバルIPアドレスを用い、ローカルエリアネットワーク20では、グローバルエリアネットワーク10が用いるものと異なる第1または第2のIPアドレスとなるローカルIPアドレスを用いる。
[Example 1]
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram illustrating a system configuration of the embodiment. The system of the embodiment is a global area network 10 such as the Internet, a local area network 20 such as an in-house network, and a communication control apparatus connected to both the networks 10 and 20 and having a conventionally known NAT function. A router 101 is provided. The global area network 10 uses a global IP address that is the first or second IP address of the present invention, and the local area network 20 has a first or second IP address different from that used by the global area network 10. Use local IP address.

グローバルエリアネットワーク10には、図1に示すように、複数の内部ネットワークであるLAN200およびLAN201と、これらの両LANを接続するルータ100と、LAN200に接続された通信端末であるIP電話300とが設けられている。LAN200は、グローバルIPアドレスが「11.22.0.0/16」のネットワーク体系を持ち、LAN201は「10.10.0.0/16」のネットワーク体系を持つ。IP電話300は、SIPやH.323等の音声通信用のプロトコルを利用可能な電話機であり、自端末のグローバルIPアドレスとして「11.22.33.10」を有し、デフォルトゲートウェイとしてルータ100が設定されている。   As shown in FIG. 1, the global area network 10 includes a plurality of internal networks LAN 200 and LAN 201, a router 100 that connects these two LANs, and an IP phone 300 that is a communication terminal connected to the LAN 200. Is provided. The LAN 200 has a network system with a global IP address of “11.2.0.0/16”, and the LAN 201 has a network system of “10.10.0.0/16”. The IP telephone 300 is a telephone that can use a protocol for voice communication such as SIP or H.323, has “11.22.33.30” as the global IP address of its own terminal, and the router 100 as a default gateway. Is set.

ルータ100は、「11.22.0.0/16」系のLAN200と、「10.10.0.0/16」系のLAN201とを通信可能に接続し、LAN200側のIPアドレスとして「11.22.33.1」、図1に示すように、LAN201側のIPアドレスとして「10.10.0.1」が割り当てられている。また、ルータ100は、NAT機能を有しない接続装置である。   The router 100 connects the “11.2.0.0/16” LAN 200 and the “10.10.0.0/16” LAN 201 so that they can communicate with each other, and sets “11” as the IP address on the LAN 200 side. .22.33.1 ", as shown in FIG. 1," 10.10.0.1 "is assigned as the IP address on the LAN 201 side. The router 100 is a connection device that does not have a NAT function.

他方のローカルエリアネットワーク20には、複数の内部ネットワークであるLAN202およびLAN203と、これらの両LANを接続するルータ102と、LAN202に接続されたIP電話301と、LAN203に接続されたIP電話302とが設けられている。LAN202は、ローカルIPアドレスが「192.168.0.0/16」のネットワーク体系を持ち、LAN203は「172.16.0.0/16」のネットワーク体系を持つ。IP電話301および302は、IP電話300と同様に、SIPやH.323等の音声通信用のプロトコルを利用可能な電話機である。IP電話301は、自端末のローカルIPアドレスとして「192.168.0.10」を有し、IP電話302は、「172.16.0.10」を有する。また、これらのIP電話301およびIP電話302のデフォルトゲートウェイとして、ルータ102が設定されている。   The other local area network 20 includes a plurality of internal networks LAN 202 and LAN 203, a router 102 connecting these two LANs, an IP phone 301 connected to the LAN 202, and an IP phone 302 connected to the LAN 203. Is provided. The LAN 202 has a network system with a local IP address “192.168.0.0/16”, and the LAN 203 has a network system with “172.16.0.0/16”. Similar to IP phone 300, IP phones 301 and 302 are phones that can use voice communication protocols such as SIP and H.323. The IP phone 301 has “192.168.0.10” as the local IP address of its own terminal, and the IP phone 302 has “172.16.0.10”. In addition, the router 102 is set as a default gateway for the IP phone 301 and the IP phone 302.

ルータ102は、「192.168.0.0/16」系のLAN202と、「172.16.0.0/16」系のLAN203とを通信可能に接続し、LAN200側のIPアドレスとして「192.168.0.2」、LAN203側のIPアドレスとして「172.16.0.1」が割り当てられている。このルータ102も、上述のルータ100と同様に、NAT機能を有しない接続装置である。   The router 102 connects the “192.168.0.0/16” LAN 202 and the “172.16.0.0/16” LAN 203 so that they can communicate with each other, and the IP address on the LAN 200 side is “192”. .168.0.2 ”, and“ 172.16.0.1 ”is assigned as the IP address on the LAN 203 side. The router 102 is also a connection device that does not have a NAT function, like the router 100 described above.

ルータ101は、NAT機能を有し、グローバルエリアネットワーク10とローカルエリアネットワーク20との間でやり取りするIPパケットのIPレイヤー部分、すなわち該パケットのヘッダ領域のIPアドレスを、グローバルIPアドレスまたはローカルIPアドレスに変換する。なお、ルータ101は、ローカルIPアドレスとして「192.168.0.1」を持ち、グローバルIPアドレスとして「10.10.0.2」を持つ。   The router 101 has a NAT function, and an IP layer portion of an IP packet exchanged between the global area network 10 and the local area network 20, that is, an IP address in the header area of the packet is changed to a global IP address or a local IP address. Convert to The router 101 has “192.168.0.1” as the local IP address and “10.10.0.2” as the global IP address.

また、ルータ101は、システム内の各ルータ101〜103に対するLANの接続状況、および、各ルータ101〜103におけるNAT機能の有無を表す図2に示すようなテーブルを有する。このテーブルを参照して、ルータ101は、例えば、自装置のグローバルIPアドレス「10.10.0.2」を宛先とするIPパケットを受信した場合、このIPパケットにNAT処理を行い、ローカルエリアネットワーク20の「192.168.0.0/16」系ネットワークにてIPアドレス「192.168.0.10」を持つIP電話301にパケットを転送する機能を持つ。   Further, the router 101 has a table as shown in FIG. 2 indicating the connection status of the LAN to each of the routers 101 to 103 in the system and the presence or absence of the NAT function in each of the routers 101 to 103. With reference to this table, for example, when the router 101 receives an IP packet whose destination is the global IP address “10.10.0.2” of its own device, the router 101 performs NAT processing on the IP packet, and It has a function of transferring a packet to the IP phone 301 having the IP address “192.168.0.10” in the “192.168.0.0/16” network of the network 20.

IP電話300〜IP電話302は、それぞれ同様な構成を成すものであり、例えばIP電話301を例に挙げると、図1に示すように、他端末との通信を開始する際に、自端末のIPアドレスを含み且つIPパケットのデータ領域に記述される通信開始要求メッセージを生成するメッセージ生成部31と、他端末への伝送経路を検索する経路検索部32と、経路検索部32が検索した伝送経路にNAT機能を有するルータが含まれるか否かを判定し、それが含まれるとき、メッセージ生成部31が生成した通信開始要求メッセージに対する後述のアドレス変換処理を行うアドレス変換部33と、通信開始要求メッセージが記述されたIPパケットを当該伝送経路へ出力するパケット送信部34とを備える。本実施例の経路検索部32は、ルータ101が有する図2のテーブルと同様の情報を持ち、このテーブルに基づき伝送経路を検索する。   IP phone 300 to IP phone 302 have the same configuration. For example, taking IP phone 301 as an example, as shown in FIG. 1, when communication with another terminal is started, A message generation unit 31 that generates a communication start request message that includes an IP address and is described in the data area of the IP packet, a route search unit 32 that searches for a transmission route to another terminal, and a transmission searched by the route search unit 32 It is determined whether or not a router having a NAT function is included in the route, and when included, an address conversion unit 33 that performs an address conversion process to be described later on the communication start request message generated by the message generation unit 31, and a communication start A packet transmission unit 34 for outputting an IP packet in which the request message is described to the transmission path. The route search unit 32 of the present embodiment has the same information as the table of FIG. 2 that the router 101 has, and searches for a transmission route based on this table.

図3に示すフローチャートに沿って、実施例のシステムの動作手順を説明する。ここでは、各IP電話300〜IP電話302が、音声通信用のプロトコルとしてSIPを用いるものとする。まず、ローカルエリアネットワーク20のIP電話301が、グローバルエリアネットワーク10のIP電話300と通話する場合を例に挙げて説明する。   The operation procedure of the system of the embodiment will be described with reference to the flowchart shown in FIG. Here, it is assumed that each of IP phone 300 to IP phone 302 uses SIP as a protocol for voice communication. First, the case where the IP phone 301 of the local area network 20 makes a call with the IP phone 300 of the global area network 10 will be described as an example.

IP電話301がIP電話300との通話を開始するにあたって、IP電話301のメッセージ生成部31は、SIPに沿った通信開始要求メッセージであるInviteメッセージを生成する(ステップS1)。このとき経路検索部32は、図2のテーブルを参照し、通信相手であるIP電話300への伝送経路を検索する(ステップS2)。その検索手順を、図4に示すフローチャートに沿って説明する。   When IP phone 301 starts a call with IP phone 300, message generator 31 of IP phone 301 generates an Invite message, which is a communication start request message in accordance with SIP (step S1). At this time, the route search unit 32 searches the transmission route to the IP telephone 300 as the communication partner with reference to the table of FIG. 2 (step S2). The search procedure will be described with reference to the flowchart shown in FIG.

IP電話301の経路検索部32は、通信相手となるIP電話機300のIPアドレス「11.22.33.10」に対応した内部ネットワークに接続されているルータを図2のテーブルから検索する(ステップA1)。ここで、IP電話300の「11.22.33.10」に対応する内部ネットワークとは、「11.22.0.0/16」系のLAN200を指し、図2のテーブルから、このLAN200に接続されているルータがルータ100であることがわかる(ステップA2)。   The route search unit 32 of the IP phone 301 searches the table in FIG. 2 for a router connected to the internal network corresponding to the IP address “11.22.33.10” of the IP phone 300 that is the communication partner (step A1). Here, the internal network corresponding to “11.22.3.10” of the IP phone 300 refers to the LAN 11.2 of the “11.22.0.0/16” system, and from the table of FIG. It can be seen that the connected router is the router 100 (step A2).

続いて、経路検索部32は、ルータ100に接続されている他の内部ネットワークが「10.10.0.0/16」系のLAN201であることと(ステップA3)、このLAN201に対し上記のルータ100以外に接続しているルータは、ルータ101であることとを検出する(ステップA4)。   Subsequently, the route search unit 32 confirms that the other internal network connected to the router 100 is the “10.10.0.0/16/16”-system LAN 201 (step A3). A router connected to other than the router 100 detects that it is the router 101 (step A4).

さらに、図2のテーブルより、ルータ101には、自端末であるIP電話301が存在する「192.168.0.0/16」系のLAN202も接続されていることを検出する(ステップA5)。以上の検索結果により、IP電話301の経路検索部32は、自端末からIP電話300への伝送経路が、「LAN202→ルータ101→LAN201→ルータ100→LAN200」であることを認識する(ステップA6)。   Further, it is detected from the table of FIG. 2 that the router 101 is also connected to the “192.168.0.0/16” LAN 202 where the IP phone 301 as its own terminal exists (step A5). . From the above search results, the route search unit 32 of the IP phone 301 recognizes that the transmission route from the own terminal to the IP phone 300 is “LAN 202 → router 101 → LAN 201 → router 100 → LAN 200” (step A6). ).

また、図5に、IP電話301が、同ローカルエリアネットワーク20内のIP電話302と通話する場合の伝送経路の検索手順を示す。IP電話機301の経路検索部32は、通信相手であるIP電話302のIPアドレスである「172.16.0.10」に対応する内部ネットワーク、すなわち「172.16.0.0/16」系のLAN203に接続されているルータを、図2のテーブルから検索する(ステップB1)。   FIG. 5 shows a search procedure for a transmission path when the IP phone 301 makes a call with the IP phone 302 in the local area network 20. The route search unit 32 of the IP telephone 301 is an internal network corresponding to “172.16.0.10” that is the IP address of the IP telephone 302 that is the communication partner, that is, the “172.16.0.0/16” system. The router connected to the LAN 203 is searched from the table of FIG. 2 (step B1).

その結果、LAN203にはルータ102が接続されていることを検出し(ステップB2)、さらに、このルータ102が、自端末であるIP電話301が存在する「192.168.0.0/16」系のLAN202に接続されていることを検出する(ステップB3)。以上の検索結果から、経路検索部32は、IP電話301からIP電話302への伝送経路が、「LAN202→ルータ102→LAN203」であることを認識する(ステップB4)。   As a result, it is detected that the router 102 is connected to the LAN 203 (step B2). Further, the router 102 has “192.168.0.0/16” in which the IP phone 301 as its own terminal exists. A connection to the local LAN 202 is detected (step B3). From the above search results, the route search unit 32 recognizes that the transmission route from the IP phone 301 to the IP phone 302 is “LAN 202 → router 102 → LAN 203” (step B4).

上記のような手順にて、経路検索部32により伝送経路が検索されると、アドレス変換部33が起動し、当該伝送経路にNAT機能を有するルータが含まれるか否かを図2のテーブルに基づき判定する(図3:ステップS3)。ここでは、図2のテーブルから、NAT機能を有するルータはルータ101であることが判ることから、アドレス変換部33は、このルータ101が当該伝送経路上にあるか否かを判定することとなる。   When the transmission route is searched by the route search unit 32 in the above procedure, the address conversion unit 33 is activated, and the table of FIG. 2 indicates whether or not the transmission route includes a router having the NAT function. Based on the determination (FIG. 3: step S3). Here, it can be seen from the table of FIG. 2 that the router having the NAT function is the router 101, so the address translation unit 33 determines whether or not the router 101 is on the transmission path. .

具体的には、例えば、図4に沿って説明したIP電話301とIP電話300との通話においては、その伝送経路にルータ101が含まれていると判定し(ステップS3:Yes)、伝送中にNAT処理が行われると認識する。また、図5に沿って説明したIP電話301とIP電話302との通話の際は、ルータ101を経由しないことから(ステップS3:No)、伝送中にNAT処理が行われないと認識する。   Specifically, for example, in a call between the IP phone 301 and the IP phone 300 described with reference to FIG. 4, it is determined that the router 101 is included in the transmission path (step S3: Yes), and transmission is in progress. That NAT processing is performed. Further, in the case of a call between the IP phone 301 and the IP phone 302 described with reference to FIG. 5, since the router 101 is not passed (step S3: No), it is recognized that NAT processing is not performed during transmission.

IP電話301およびIP電話300間の通信のように、伝送中にNAT処理が行われると認識したとき、アドレス変換部33は、メッセージ生成部31が生成したInviteメッセージに含まれる自端末のIPアドレス、すなわち発呼元のIPアドレスを、ルータ101のグローバルIPアドレスに変換する(ステップS4)。また、IP電話301およびIP電話302間の通信のように、伝送中にNAT処理が行われない場合は、アドレス変換を行うことなく、後述のパケット送信処理へ移行する。   When recognizing that NAT processing is performed during transmission, such as communication between the IP phone 301 and the IP phone 300, the address converting unit 33 uses the IP address of its own terminal included in the Invite message generated by the message generating unit 31. That is, the IP address of the caller is converted to the global IP address of the router 101 (step S4). Further, when the NAT process is not performed during transmission as in the communication between the IP telephone 301 and the IP telephone 302, the process proceeds to a packet transmission process described later without performing address conversion.

図6に示すInviteメッセージの一例を用いて、上記ステップS4によるアドレス変換処理の手順を説明する。図示の例は、IP電話301からIP電話300への通信の際に生成されるInviteメッセージである。上記説明したように、NAT機能を有するルータ101を経由する場合、発呼元について記述された「From:”301”<sip:301@192.168.0.10>」なる情報のIPアドレス「192.168.0.10」を、ルータ101のグローバルIPアドレスである「10.10.0.2」に変換する。なお、仮に、当該伝送経路にてルータ101を経由しない場合、上記の発呼元のIPアドレスは「192.168.0.10」から変換されることはない。   Using the example of the Invite message shown in FIG. 6, the procedure of the address conversion process in step S4 will be described. The illustrated example is an Invite message generated during communication from IP phone 301 to IP phone 300. As described above, in the case of passing through the router 101 having the NAT function, the IP address “192.168..192” of the information “From:” 301 ”<sip: 301@192.168.0.10>” describing the caller is described. 0.10 ”is converted into“ 10.10.0.2 ”which is the global IP address of the router 101. If the transmission path does not pass through the router 101, the IP address of the call source is not converted from “192.168.0.10”.

パケット送信部34は、上記ステップS4にてアドレス変換されたInviteメッセージ、あるいは、アドレス変換が不要のInviteメッセージを、IPパケットのデータ領域に記述して、これを当該伝送経路へ出力する(ステップS5)。   The packet transmission unit 34 describes the Invite message whose address has been converted in Step S4 or the Invite message that does not require address conversion in the data area of the IP packet, and outputs this to the transmission path (Step S5). ).

以上説明した実施例によれば、各IP電話300〜302が、Inviteメッセージに対するアドレス変換機能を有することから、グローバルエリアネットワーク10あるいはローカルエリアネットワーク20の内部にてLAN構成の変化があっても、両ネットワーク間でNAT処理を行うルータ101を管理する上での負担を軽減することができる。また、各IP電話300〜302は、当該伝送経路にてNAT処理が行われるか否かを事前に判定することから、伝送経路に応じた適切なアドレス変換が可能となる。これにより、各内部ネットワークにおいて、ルータ100あるいは102のようなNAT機能を有しないルータによるLANの増設を実現し易くなる。   According to the embodiment described above, since each of the IP phones 300 to 302 has an address conversion function for Invite messages, even if there is a change in the LAN configuration within the global area network 10 or the local area network 20, The burden on managing the router 101 that performs NAT processing between both networks can be reduced. In addition, since each IP phone 300 to 302 determines in advance whether or not NAT processing is performed on the transmission path, it is possible to perform appropriate address conversion according to the transmission path. As a result, in each internal network, it becomes easy to realize the addition of a LAN by a router such as the router 100 or 102 that does not have a NAT function.

[実施例2]
上記説明した実施例1では、経路検索部32が図2のテーブルに基づき伝送経路を検索したが、この検索方法に代えて、従来知られたICMP(Internet Control Message Protocol)に基づくトレースルート(Trace Route)コマンドによる検索処理を採用することができる。その手順を実施例2として、以下に説明する。なお、本実施例のシステム構成は図1に示すものと同様であるが、各IP電話300〜302には、図7に示すテーブル、すなわち各ルータ100〜102に割り当てられているIPアドレスおよびNAT機能の有無を示す情報が与えられている。
[Example 2]
In the first embodiment described above, the route search unit 32 searches for a transmission route based on the table of FIG. 2, but instead of this search method, a trace route (Trace Trace) based on a conventionally known ICMP (Internet Control Message Protocol) is used. (Route) command search processing can be employed. The procedure will be described below as a second embodiment. The system configuration of this embodiment is the same as that shown in FIG. 1, but each IP phone 300-302 has the table shown in FIG. 7, that is, the IP address and NAT assigned to each router 100-102. Information indicating the presence or absence of a function is given.

本実施例による経路検索手順を説明する。まず、図8に示すシーケンス図に沿って、ローカルエリアネットワーク20のIP電話301が、他方のグローバルエリアネットワーク10に存在するIP電話300と通話するケースを説明する。IP電話301は、通信相手となるIP電話300のIPアドレスである「11.22.33.10」に宛てて、TTL(Time To Live)値を「1」に設定したIPパケットを送出する。このIPパケットは、IP電話301のデフォルトゲートウェイであるルータ102に送られる(ステップS11)。   A route search procedure according to this embodiment will be described. First, along the sequence diagram shown in FIG. 8, a case will be described in which IP phone 301 in local area network 20 makes a call with IP phone 300 existing in the other global area network 10. IP phone 301 sends an IP packet with a TTL (Time To Live) value set to “1” to “11.22.33.30”, which is the IP address of IP phone 300 that is the communication partner. This IP packet is sent to the router 102 which is the default gateway of the IP telephone 301 (step S11).

ルータ102は、IP電話301から送られたIPパケットを受信すると、設定されているTTL値「1」から「1」を差し引く。これにより、ルータ102でのTTL値は「0」となる。ルータ102は、TTL値が「0」となったことを認識すると、ICMPに従い、このIPパケットを破棄し(ステップS12)、破棄した旨を送信元のIP電話301に通知するために、ICMPにおけるタイプ3のメッセージであるTime Exceeded Messageを、図7のテーブルに基づき、IP電話301のIPアドレス「192.168.0.10」へ送信する(ステップS13)。IP電話301は、ルータ102からのTime Exceeded Messageを受信することにより、通信相手となるIP電話300への伝送経路にルータ102が存在することを把握する(ステップS14)。   When the router 102 receives the IP packet transmitted from the IP telephone 301, it subtracts “1” from the set TTL value “1”. As a result, the TTL value in the router 102 becomes “0”. When the router 102 recognizes that the TTL value has become “0”, it discards the IP packet in accordance with ICMP (step S 12), and notifies the sender of the IP phone 301 of the discard in accordance with ICMP. A Time Exceeded Message, which is a type 3 message, is transmitted to the IP address “192.168.0.10” of the IP phone 301 based on the table of FIG. 7 (step S13). By receiving the Time Exceeded Message from the router 102, the IP phone 301 grasps that the router 102 exists in the transmission path to the IP phone 300 that is the communication partner (step S14).

次に、IP電話301は、TTL値を「1」加算したIPパケット、すなわちTTL値「2」のIPパケットを、通信相手のIP電話300のIPアドレス「11.22.33.10」宛てに送出する。このIPパケットは、上記ステップS11と同様に、まず、デフォルトゲートウェイであるルータ102に送られる(ステップS15)。   Next, IP phone 301 sends an IP packet obtained by adding TTL value “1”, that is, an IP packet having TTL value “2” to IP address “11.22.33.30” of IP phone 300 of the communication partner. Send it out. This IP packet is first sent to the router 102, which is the default gateway, in the same manner as in step S11 (step S15).

ルータ102は、IP電話機301からのIPパケットを受信すると、そのTTL値を「1」差し引き、これによりTTL値「1」となったIPパケットをルータ101に送信する(ステップS16)。ルータ101は、ルータ102から送られたIPパケットを受信すると、そのTTL値を「1」差し引く。これにより、TTL値は「0」となるため、ルータ101は、このIPパケットを破棄し(ステップS17)、上述のTime Exceeded Messageをルータ102を介してIP電話301へ送信する(ステップS18、S19)。   When receiving the IP packet from the IP telephone 301, the router 102 deducts the TTL value by “1”, and transmits the IP packet having the TTL value “1” to the router 101 (step S16). When the router 101 receives the IP packet sent from the router 102, it subtracts “1” from the TTL value. Thereby, since the TTL value becomes “0”, the router 101 discards the IP packet (step S17), and transmits the Time Exceeded Message described above to the IP phone 301 via the router 102 (steps S18 and S19). ).

ルータ101からのTime Exceeded Messageを受信したIP電話301は、通信相手となるIP電話300への伝送経路上において、ルータ102の次ホップとしてルータ101が存在することと(ステップS20)、図7のテーブルより、このルータ101がNAT機能を持つこととを把握する(ステップS21)。この時点で、IP電話301は、IP電話300へのIPパケットがNAT処理されることを認識するため、上述のトレースルートコマンドによるIPパケットの送出を終了する。その後、IP電話301は、IP電話300へのIPパケットに記述するInviteメッセージに対し、実施例1にて説明したアドレス変換(図3:ステップS4)を行うこととなる。   The IP telephone 301 that has received the Time Exceeded Message from the router 101 has the router 101 as the next hop of the router 102 on the transmission path to the IP telephone 300 that is the communication partner (step S20). From the table, it is understood that this router 101 has the NAT function (step S21). At this point, the IP telephone 301 recognizes that the IP packet to the IP telephone 300 is subjected to NAT processing, and thus ends the transmission of the IP packet by the above-described trace route command. Thereafter, the IP phone 301 performs the address conversion described in the first embodiment (FIG. 3: step S4) on the Invite message described in the IP packet to the IP phone 300.

また、図9のシーケンス図に沿って、IP電話301が、同ローカルエリアネットワーク20のIP電話302と通信するケースを説明する。IP電話301は、まず、通信相手のIP電話302のIPアドレス「172.16.0.10」に宛てて、TTL値を「1」に設定したIPパケットを送信する。このIPパケットは、上述のケースと同様に、IP電話301のデフォルトゲートウェイであるルータ102に送られる(ステップS21)。   A case where the IP phone 301 communicates with the IP phone 302 of the local area network 20 will be described with reference to the sequence diagram of FIG. First, IP phone 301 transmits an IP packet in which the TTL value is set to “1” to IP address “172.16.0.10” of IP phone 302 of the communication partner. This IP packet is sent to the router 102, which is the default gateway of the IP telephone 301, in the same manner as described above (step S21).

IP電話301からのIPパケットを受信したルータ102は、TTL値を「1」差し引き、これによりTTL値は「0」となるため、このIPパケットを破棄し(ステップS22)、IP電話301に対しICMPのTime Exceeded Messageを送信する(ステップS23)。IP電話機301はルータ102からのTime Exceeded Messageを受信することにより、伝送経路にてルータ102を通過することがわかる(ステップS24)。   The router 102 that has received the IP packet from the IP telephone 301 subtracts “1” from the TTL value, so that the TTL value becomes “0”. Therefore, the IP packet is discarded (step S22). ICMP Time Exceeded Message is transmitted (step S23). When the IP telephone 301 receives the Time Exceeded Message from the router 102, it can be seen that the IP telephone 301 passes through the router 102 on the transmission path (step S24).

次に、IP電話301は、TTL値を加算して「2」に設定したIPパケットをIP電話302に宛てて送信する。このパケットも同様にルータ102へ送られ(ステップS25)、これを受信したルータ102が、TTL値を「1」差し引くことによりTTL値「1」となったIPパケットを、IP電話302へ送信する(ステップS26)。   Next, IP phone 301 adds the TTL value and transmits the IP packet set to “2” to IP phone 302. This packet is also sent to the router 102 (step S25), and the router 102 that has received the packet transmits the IP packet having the TTL value “1” by subtracting the TTL value “1” to the IP telephone 302. (Step S26).

ルータ102からのIPパケットを受信したIP電話302は、このパケットが自端末宛てに送られたものと認識すると共に、パケットを破棄し(ステップS27)、ICMPにおけるタイプ0のメッセージであるEcho Reply Messageを、ルータ102を介してIP電話機301に送信する(ステップS28、S29)。IP電話302からのEcho Reply Messageを受信したIP電話301は、IP電話302までの経路ではルータ102のみを経由することと(ステップS30)、図7のテーブルより、このルータ102がNATを使用しないこととを把握する(ステップS31)。これにより、IP電話301は、IP電話302へのIPパケットに記述するInviteメッセージに対し、IPアドレスを変換しないと判断することとなる。   Upon receiving the IP packet from the router 102, the IP phone 302 recognizes that this packet has been sent to its own terminal, discards the packet (step S27), and receives an Echo Reply Message, which is a type 0 message in ICMP. Is transmitted to the IP telephone 301 via the router 102 (steps S28 and S29). The IP phone 301 that has received the Echo Reply Message from the IP phone 302 passes only the router 102 in the route to the IP phone 302 (step S30), and the router 102 does not use NAT from the table of FIG. (Step S31). As a result, IP phone 301 determines not to convert the IP address for the Invite message described in the IP packet to IP phone 302.

実施例2によれば、各電話機の経路検索部32が行う経路検索に、トレースルートコマンドによる上述の手法を採用することから、グローバルエリアネットワーク10やローカルエリアネットワーク20のような内部ネットワークのLAN構成が変化しても、経路検索にあたって、この変化に柔軟に対処することができる。   According to the second embodiment, the route search performed by the route search unit 32 of each telephone employs the above-described method based on the trace route command. Therefore, the LAN configuration of the internal network such as the global area network 10 or the local area network 20 is used. Even if changes, this change can be flexibly dealt with when searching for a route.

上記説明した各実施例では、ルータ101がNAT機能を有するものとして説明したが、NATに限らずNAPT(Network Address Port Translation)であってもよい。   In each of the embodiments described above, the router 101 has been described as having a NAT function. However, the present invention is not limited to NAT but may be NAPT (Network Address Port Translation).

本発明による実施例のシステム構成を示すブロック図である。It is a block diagram which shows the system configuration | structure of the Example by this invention. 実施例1におけるテーブルを説明するための説明図である。It is explanatory drawing for demonstrating the table in Example 1. FIG. 実施例1の動作手順を示すフローチャートである。3 is a flowchart illustrating an operation procedure according to the first exemplary embodiment. 実施例1における経路判定手順を示すフローチャートである。3 is a flowchart illustrating a route determination procedure according to the first embodiment. 実施例1における経路判定手順を示すフローチャートである。3 is a flowchart illustrating a route determination procedure according to the first embodiment. 実施例1のアドレス変換処理を説明するための説明図である。FIG. 6 is an explanatory diagram for explaining an address conversion process according to the first embodiment. 実施例2におけるテーブルを説明するための説明図である。FIG. 10 is an explanatory diagram for explaining a table in the second embodiment. 実施例2における経路判定手順を示すシーケンス図である。It is a sequence diagram which shows the path | route determination procedure in Example 2. FIG. 実施例2における経路判定手順を示すシーケンス図である。It is a sequence diagram which shows the path | route determination procedure in Example 2. FIG.

符号の説明Explanation of symbols

10 グローバルエリアネットワーク
20 ローカルエリアネットワーク
100〜103 ルータ
200〜203 LAN
300〜302 IP電話
31 メッセージ生成部
32 経路検索部
33 アドレス変換部
34 パケット送信部
10 Global Area Network 20 Local Area Network 100-103 Router 200-203 LAN
300 to 302 IP phone 31 Message generation unit 32 Route search unit 33 Address conversion unit 34 Packet transmission unit

Claims (9)

第1の通信ネットワークと、該第1の通信ネットワークと異なる通信プロトコルを適用される第2の通信ネットワークと、該第1および第2の両通信ネットワークに接続され且つ該両通信ネットワーク間にて交信されるIPパケットのヘッダ領域のアドレス変換を行う通信制御装置とを備え、
前記第1の通信ネットワークは、第1のIPアドレスを割り当てられた複数の通信端末を有する複数の内部ネットワークと、該複数の内部ネットワーク間を接続する接続装置とを有し、
前記第2の通信ネットワークは、第2のIPアドレスを割り当てられた通信端末を有し、
前記第1の通信ネットワークの各通信端末は、
他端末との通信開始時に、自端末の第1のIPアドレスを含み且つIPパケットのデータ領域に記述される通信開始要求メッセージを生成するメッセージ生成部と、
前記他端末への伝送経路を検索する経路検索部と、
前記経路検索部が検索した伝送経路に前記通信制御装置が含まれるか否かを判定し、前記通信制御装置が含まれるとき、前記メッセージ生成部が生成した通信開始要求メッセージにおける前記第1のIPアドレスを前記通信制御装置の第2のIPアドレスに変換するアドレス変換部と、
前記通信開始要求メッセージが記述されたIPパケットを当該伝送経路へ出力するパケット送信部とを有することを特徴とする通信ネットワークシステム。
A first communication network, a second communication network to which a communication protocol different from that of the first communication network is applied, and communication between the first communication network and the second communication network. A communication control device that performs address conversion of the header area of the IP packet to be performed,
The first communication network includes a plurality of internal networks having a plurality of communication terminals assigned with a first IP address, and a connection device for connecting the plurality of internal networks.
The second communication network has a communication terminal assigned a second IP address;
Each communication terminal of the first communication network is
A message generation unit that generates a communication start request message including the first IP address of the own terminal and described in the data area of the IP packet at the start of communication with another terminal;
A route search unit for searching for a transmission route to the other terminal;
It is determined whether or not the communication control device is included in the transmission route searched by the route search unit, and when the communication control device is included, the first IP in the communication start request message generated by the message generation unit An address conversion unit for converting an address into a second IP address of the communication control device;
A communication network system, comprising: a packet transmission unit that outputs an IP packet in which the communication start request message is described to the transmission path.
前記第2の通信ネットワークは、第2のIPアドレスを割り当てられた複数の通信端末を有する複数の内部ネットワークと、該複数の内部ネットワーク間を接続する接続装置とを有し、
前記第2の通信ネットワークの各通信端末は、
他端末との通信開始時に、自端末の第2のIPアドレスを含み且つIPパケットのデータ領域に記述される通信開始要求メッセージを生成するメッセージ生成部と、
前記他端末への伝送経路を検索する経路検索部と、
前記経路検索部が検索した伝送経路に前記通信制御装置が含まれるか否かを判定し、前記通信制御装置が含まれるとき、前記メッセージ生成部が生成した通信開始要求メッセージにおける前記第2のIPアドレスを前記通信制御装置の第1のIPアドレスに変換するアドレス変換部と、
前記通信開始要求メッセージを記述したIPパケットを当該伝送経路へ出力するパケット送信部とを有することを特徴とする請求項1記載の通信ネットワークシステム。
The second communication network includes a plurality of internal networks having a plurality of communication terminals assigned a second IP address, and a connection device for connecting the plurality of internal networks.
Each communication terminal of the second communication network is
A message generation unit that generates a communication start request message including the second IP address of the own terminal and described in the data area of the IP packet at the start of communication with another terminal;
A route search unit for searching for a transmission route to the other terminal;
It is determined whether the communication control device is included in the transmission route searched by the route search unit, and when the communication control device is included, the second IP in the communication start request message generated by the message generation unit An address conversion unit for converting an address into a first IP address of the communication control device;
The communication network system according to claim 1, further comprising: a packet transmission unit that outputs an IP packet describing the communication start request message to the transmission path.
前記経路検索部は、前記各接続装置および前記通信制御装置と、該各装置に接続されたネットワークとを関連付けた情報に基づき当該伝送経路を検索することを特徴とする請求項1又は2記載の通信ネットワークシステム。   3. The route search unit according to claim 1, wherein the route search unit searches for the transmission route based on information relating the connection devices and the communication control device to a network connected to the devices. Communication network system. 前記経路検索部は、ICMP(Internet Control Message Protocol)に沿って、前記交信すべき他端末に対しTTL(Time To Live)値を漸増させてIPパケットを順次的に送出すること、および、該送出したIPパケットに対し当該TTL値の時間超過を示すICMPメッセージを受信することにより当該伝送経路を検索することを特徴とする請求項1又は2記載の通信ネットワークシステム。   The path search unit sequentially transmits IP packets by gradually increasing a TTL (Time To Live) value to the other terminals to be communicated in accordance with ICMP (Internet Control Message Protocol), and the transmission 3. The communication network system according to claim 1, wherein the transmission path is searched by receiving an ICMP message indicating that the TTL value exceeds the time for the IP packet that has been transmitted. 第1の通信ネットワークと、該第1の通信ネットワークと異なる通信プロトコルを適用される第2の通信ネットワークと、該第1および第2の両通信ネットワークに接続され且つ該両通信ネットワーク間にて交信されるIPパケットのヘッダ領域のアドレス変換を行う通信制御装置とを備えるシステムにおいて前記第1の通信ネットワークにて第1のIPアドレスを割り当てられた通信端末であって、
他端末との通信開始時に、自端末の第1のIPアドレスを含み且つIPパケットのデータ領域に記述される通信開始要求メッセージを生成するメッセージ生成部と、
前記他端末への伝送経路を検索する経路検索部と、
前記経路検索部が検索した伝送経路に前記通信制御装置が含まれるか否かを判定し、前記通信制御装置が含まれるとき、前記メッセージ生成部が生成した通信開始要求メッセージにおける前記第1のIPアドレスを前記通信制御装置の第2のIPアドレスに変換するアドレス変換部と、
前記通信開始要求メッセージを記述したIPパケットを当該伝送経路へ出力するパケット送信部とを有することを特徴とする通信端末。
A first communication network, a second communication network to which a communication protocol different from that of the first communication network is applied, and communication between the first communication network and the second communication network. A communication terminal assigned with a first IP address in the first communication network in a system comprising a communication control device that performs address conversion of a header area of an IP packet to be performed,
A message generation unit that generates a communication start request message including the first IP address of the own terminal and described in the data area of the IP packet at the start of communication with another terminal;
A route search unit for searching for a transmission route to the other terminal;
It is determined whether or not the communication control device is included in the transmission route searched by the route search unit, and when the communication control device is included, the first IP in the communication start request message generated by the message generation unit An address conversion unit for converting an address into a second IP address of the communication control device;
A communication terminal, comprising: a packet transmission unit that outputs an IP packet describing the communication start request message to the transmission path.
第1の通信ネットワークと、該第1の通信ネットワークと異なる通信プロトコルを適用される第2の通信ネットワークと、該第1および第2の両通信ネットワークに接続され且つ該両通信ネットワーク間にて交信されるIPパケットのヘッダ領域のアドレス変換を行う通信制御装置とを備え、前記第1の通信ネットワークが、第1のIPアドレスを割り当てられた複数の通信端末を有する複数の内部ネットワークと、該複数の内部ネットワーク間を接続する接続装置とを有し、前記第2の通信ネットワークが、第2のIPアドレスを割り当てられた通信端末を有するシステムにおいて、
前記第1の通信ネットワークの各通信端末が、
他端末との通信開始時に、自端末の第1のIPアドレスを含み且つIPパケットのデータ領域に記述される通信開始要求メッセージを生成し、前記他端末への伝送経路を検索し、検索した伝送経路に前記通信制御装置が含まれるか否かを判定し、前記通信制御装置が含まれるとき、前記生成した通信開始要求メッセージにおける前記第1のIPアドレスを前記通信制御装置の第2のIPアドレスに変換し、前記通信開始要求メッセージを記述したIPパケットを当該伝送経路へ出力することを特徴とするNAT解決方法。
A first communication network, a second communication network to which a communication protocol different from that of the first communication network is applied, and communication between the first communication network and the second communication network. A communication control device that performs address conversion of the header area of the IP packet to be transmitted, wherein the first communication network includes a plurality of internal networks having a plurality of communication terminals assigned with a first IP address, A connection device for connecting the internal networks of the second communication network, wherein the second communication network includes a communication terminal to which a second IP address is assigned.
Each communication terminal of the first communication network is
At the start of communication with another terminal, a communication start request message including the first IP address of the own terminal and described in the data area of the IP packet is generated, a transmission path to the other terminal is searched, and the searched transmission It is determined whether or not the communication control device is included in the route, and when the communication control device is included, the first IP address in the generated communication start request message is set to the second IP address of the communication control device. A NAT resolution method, wherein the IP packet describing the communication start request message is output to the transmission path.
前記システムの前記第2の通信ネットワークが、第2のIPアドレスを割り当てられた複数の通信端末を有する複数の内部ネットワークと、該複数の内部ネットワーク間を接続する接続装置とを有し、
前記第2の通信ネットワークの各通信端末が、
他端末との通信開始時に、自端末の第2のIPアドレスを含み且つIPパケットのデータ領域に記述される通信開始要求メッセージを生成し、前記他端末への伝送経路を検索し、検索した伝送経路に前記通信制御装置が含まれるか否かを判定し、前記通信制御装置が含まれるとき、前記生成した通信開始要求メッセージにおける前記第2のIPアドレスを前記通信制御装置の第1のIPアドレスに変換し、前記通信開始要求メッセージを記述したIPパケットを当該伝送経路へ出力することを特徴とする請求項6記載のNAT解決方法。
The second communication network of the system has a plurality of internal networks having a plurality of communication terminals assigned a second IP address, and a connection device for connecting the plurality of internal networks;
Each communication terminal of the second communication network is
At the start of communication with another terminal, a communication start request message including the second IP address of the own terminal and described in the data area of the IP packet is generated, a transmission path to the other terminal is searched, and the searched transmission It is determined whether or not the communication control device is included in the path, and when the communication control device is included, the second IP address in the generated communication start request message is set to the first IP address of the communication control device. 7. The NAT resolution method according to claim 6, wherein the IP packet describing the communication start request message is output to the transmission path.
前記各通信端末が、前記各接続装置および前記通信制御装置と、該各装置に接続されたネットワークとを関連付けた情報に基づき当該伝送経路を検索することを特徴とする請求項6又は7記載のNAT解決方法。   The said each communication terminal searches the said transmission path | route based on the information which linked | related the said each connection apparatus and the said communication control apparatus, and the network connected to this each apparatus, The said transmission path | route is characterized by the above-mentioned. NAT resolution method. 前記各通信端末が、ICMP(Internet Control Message Protocol)に沿って、前記交信すべき他端末に対しTTL(Time To Live)値を漸増させてIPパケットを順次的に送出すること、および、該送出したIPパケットに対し当該TTL値の時間超過を示すICMPメッセージを受信することにより当該伝送経路を検索することを特徴とする請求項6又は7記載のNAT解決方法。   Each communication terminal sequentially transmits IP packets by gradually increasing a TTL (Time To Live) value to the other terminals to be communicated in accordance with ICMP (Internet Control Message Protocol), and the transmission 8. The NAT resolution method according to claim 6, wherein the transmission path is searched by receiving an ICMP message indicating that the TTL value exceeds the time for the IP packet that has been transmitted.
JP2004230761A 2004-08-06 2004-08-06 Communication network system, communication terminal and nat solving method Pending JP2006050405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004230761A JP2006050405A (en) 2004-08-06 2004-08-06 Communication network system, communication terminal and nat solving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004230761A JP2006050405A (en) 2004-08-06 2004-08-06 Communication network system, communication terminal and nat solving method

Publications (1)

Publication Number Publication Date
JP2006050405A true JP2006050405A (en) 2006-02-16

Family

ID=36028415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004230761A Pending JP2006050405A (en) 2004-08-06 2004-08-06 Communication network system, communication terminal and nat solving method

Country Status (1)

Country Link
JP (1) JP2006050405A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7912048B2 (en) 2006-04-20 2011-03-22 International Business Machines Corporation Apparatus and method for detecting network address translation device
JP2011182393A (en) * 2010-03-02 2011-09-15 Commissariat A L'energie Atomique Et Aux Energies Alternatives Chip, and integrated circuit comprising such chip

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7912048B2 (en) 2006-04-20 2011-03-22 International Business Machines Corporation Apparatus and method for detecting network address translation device
JP2011182393A (en) * 2010-03-02 2011-09-15 Commissariat A L'energie Atomique Et Aux Energies Alternatives Chip, and integrated circuit comprising such chip

Similar Documents

Publication Publication Date Title
KR100785296B1 (en) Apparatus and Method for Managing Data Transfer in VoIP Gateway
EP1545096B1 (en) Apparatus and method for providing VoIP service
AU2005201075B2 (en) Apparatus and method for voice processing of voice over internet protocol (VOIP)
JP2008177847A (en) Packet transfer device
WO2010044825A1 (en) An improved method and system for ip multimedia bearer path optimization through a succession of border gateways
JP2005236824A (en) IPv6/IPv4 TRANSLATOR
JP2006086800A (en) Communication apparatus for selecting source address
JP5988407B1 (en) Communication path control device, communication path control system, communication path control method, and communication path control program
US7715401B2 (en) Router
WO2006125383A1 (en) A method for traversing the network address conversion/firewall device
AU2005239680B2 (en) VOIP (voice over internet protocol) call processing
US20100135292A1 (en) Apparatus and method for supporting nat traversal in voice over internet protocol system
US20100208734A1 (en) Communications relay device, program and method, and network system
JP2006050006A (en) Network connection setting apparatus and network connection setting method
JP2008258917A (en) Identical nat subordinate communication control system, nat device, identical nat subordinate communication control method, and program
JP2008078822A (en) Management terminal, port open/close control method, and port open/close control program
JP2006050405A (en) Communication network system, communication terminal and nat solving method
JP5609519B2 (en) SIP equipment
JP4889620B2 (en) IP packet relay method and gateway device in communication network
JP2007104676A (en) VoIP TERMINAL AND COMMUNICATING METHOD OF THE TERMINAL
JP2007110727A (en) Session switching method and apparatus in network communication
JP2006050552A (en) Communications system and main apparatus used in the communication system, and communication method used in the communications system
JP2014192742A (en) Image processing device, information processing method, and program
JP2004312392A (en) Multimedia terminal, proxy server, router, and communication control method in multimedia communication system
JP2010226564A (en) Band utilization method in ip telephone network, and ip telephone system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070111

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080513

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090617

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091019