JP2017208718A - Communication device and communication method - Google Patents
Communication device and communication method Download PDFInfo
- Publication number
- JP2017208718A JP2017208718A JP2016100061A JP2016100061A JP2017208718A JP 2017208718 A JP2017208718 A JP 2017208718A JP 2016100061 A JP2016100061 A JP 2016100061A JP 2016100061 A JP2016100061 A JP 2016100061A JP 2017208718 A JP2017208718 A JP 2017208718A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- mtu
- packet
- network
- length
- 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.)
- Granted
Links
- 230000006854 communication Effects 0.000 title claims abstract description 157
- 238000004891 communication Methods 0.000 title claims abstract description 156
- 238000000034 method Methods 0.000 title claims description 32
- 238000013467 fragmentation Methods 0.000 abstract description 8
- 238000006062 fragmentation reaction Methods 0.000 abstract description 8
- 238000005538 encapsulation Methods 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 239000012634 fragment Substances 0.000 description 5
- 238000012546 transfer Methods 0.000 description 4
- 238000007596 consolidation process Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/64—Routing or path finding of packets in data switching networks using an overlay routing layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/36—Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、通信装置および通信方法に関し、特に、レイヤ3ネットワークへレイヤ2ネットワークのオーバーレイを行う通信装置および通信方法に関する。
The present invention relates to a communication apparatus and a communication method, and more particularly, to a communication apparatus and a communication method for overlaying a
近年、ネットワークの仮想化によるサーバの集約・統合、クラウド化などにより、データセンターなどにおいて複数のテナント(ユーザー組織やそのシステム)を大規模かつ効率的に収容するインフラへの要望が高まっている。複数のテナントを大規模かつ効率的に収容するインフラを実現する方法の1つとして、既存のレイヤ3ネットワーク上に論理的なレイヤ2ネットワークを構築するオーバーレイ方法がある。オーバーレイ方法はレイヤ2のイーサネット(登録商標)フレームをレイヤ3のIPパケットにカプセル化するトンネル通信を仮想スイッチ間で行う。このようなオーバーレイ方法にはVXLAN(Virtual Extensible VLAN)、GRE(Generic Routing Encapsulation)等がある。
In recent years, there has been an increasing demand for infrastructure that can accommodate multiple tenants (user organizations and their systems) on a large scale and efficiently in a data center or the like due to server consolidation / consolidation and cloudization. As one of methods for realizing an infrastructure that accommodates a plurality of tenants on a large scale and efficiently, there is an overlay method for constructing a
オーバーレイ等の仮想ネットワークにより、企業やグループ等の利用者毎にネットワークを区別して管理する通信システムとして、特許文献1に開示されたような技術がある。オーバーレイ等の仮想ネットワークを利用する場合に、パケットのMTU(Maximum Transmission Unit)を調整することで、カプセル化処理を実行すべきパケット数を調整し、性能ボトルネックが改善される可能性もあるが、コンピューティングユニットがVPN(Virtual Private Network)に接続する度に、ネットワーク接続機器が、ネットワーク制御装置に、VPNに対応するMTUを問合せると、MTUの問合せにより生じるボトルネックが問題になる。
As a communication system that distinguishes and manages a network for each user such as a company or a group using a virtual network such as an overlay, there is a technique disclosed in
特許文献1は、この性能ボトルネックを低減することを目的としたもので、通信データを複数のパケットにより送信するコンピューティングユニットと、仮想ネットワークを介して前記パケットを伝送するためのパケット処理を実行する通信ユニットとを備える通信システムにおいて、コンピューティングユニットは、複数のパケットサイズの候補から、通信ユニットに送信する送信パケットの転送経路に関する情報に基づいて選択されたパケットサイズにより、送信パケットのサイズを調整する技術が開示されている。
引用文献1に記載された発明は、コンピューティングユニットがVPN(Virtual Private Network)に接続する度に行ってしまうMTUの問合せを低減することを目的とした発明であり、フラグメントを抑止することは目的としていない。
The invention described in the cited
例えば、イーサネット(登録商標)フレームにより通信を行うレイヤ2ネットワークをレイヤ3ネットワークにオーバーレイを行う場合には、通常、仮想スイッチにおいてカプセル化処理を行う際に、ホストから送信されたイーサネット(登録商標)
フレームに対してトンネル用のカプセル化ヘッダー情報を付加する。このため、ホストが送信するフレームは、ホストに設定された通信経路のMTU長を超えていなくても、仮想スイッチにおいてヘッダー情報を付加することで通信経路のMTU長を超えてしまい、仮想スイッチにおいてパケットのフラグメントが発生する場合がある。フラグメントとは、ネットワーク上で一度に送信するできるパケット長であるMTUをオーバーした際、元のパケットをMTUに収まるように分割して送信することである。
For example, when a
Encapsulation header information for tunnel is added to the frame. For this reason, even if the frame transmitted by the host does not exceed the MTU length of the communication path set for the host, the header information is added in the virtual switch to exceed the MTU length of the communication path. Packet fragmentation may occur. Fragment means that when an MTU, which is a packet length that can be transmitted at a time on the network, is exceeded, the original packet is divided and transmitted so as to fit in the MTU.
このように、ホストが、仮想スイッチなどの通信装置においてトンネル用のカプセル化ヘッダー情報が付加されることを知らずに、通信経路のMTU長のフレームを送信してくると、そのようなフレームを受信する度に、通信装置は、ヘッダー情報付加後のフレームに対してフラグメント処理を行う必要が生じ、通信装置においてパケットの分割・再構築を頻繁に繰り返すため通信装置の処理負荷が増大してしまい通信装置の性能が低下する恐れがある。また、パケットを分割するためパケット数の増加によりパケット転送効率が低下する恐れがある。また、分割したパケットのいずれかが破損した場合はパケットの再構築が不可能となる。さらには、パケット分割禁止(パケット内のDF(Don’t Fragment)ビットが有効)の場合には、通信装置においてフラグメント処理が行えずにパケットの転送が行えない結果となる。しかし、レイヤ3ネットワークにレイヤ2ネットワークをオーバーレイしている場合には、通信装置においてカプセル化ヘッダー情報が付加されるためにMTUを超えてパケットが送信できないということをホストが知る手段がなく、ホストから見ると何度フレームを送信しても相手側に届かない原因を知ることができない。
In this way, when a host sends a frame with the MTU length of the communication path without knowing that the tunnel encapsulation header information is added in a communication device such as a virtual switch, such a frame is received. Each time the communication device needs to perform fragment processing on the frame after the header information is added, the communication device frequently repeats packet division / reconstruction. The performance of the device may be reduced. Further, since the packet is divided, the packet transfer efficiency may be reduced due to an increase in the number of packets. Further, when any of the divided packets is damaged, it is impossible to reconstruct the packet. Further, when packet division is prohibited (DF (Don't Fragment) bit in the packet is valid), the result is that the packet cannot be transferred without performing fragment processing in the communication device. However, when the
このような問題を回避するためには、ネットワーク環境構築時に、通信装置のすべての通信経路に対して予めさまざまなケースを想定してMTUを設定しておくという構築方法もあるが、ネットワークの構築を複雑化し難しくする要因となってしまう。 In order to avoid such a problem, there is a construction method in which an MTU is set in advance assuming various cases for all communication paths of the communication device when the network environment is constructed. It becomes a factor which makes it complicated and difficult.
フラグメントを避ける別の方法として、レイヤ3ネットワーク上のMTUを増やすことが考えられるが、公共的なネットワークの場合、MTU変更はリスクが高い。また、一般的なイーサネット(登録商標)環境の場合、レイヤ2ネットワーク内の通信装置はジャンボフレームに対応していることが必要となる場合もある。
Another way to avoid fragmentation is to increase the MTU on the
一方、レイヤ3ネットワーク上のMTUを変更せずにMTUをオーバーしないようにパケット長を減らす場合、通信経路毎にMTUが異なるため、ネットワーク管理者・利用者に、通信経路毎にMTUの管理を行わせるとネットワーク管理者・利用者の負担が大きくなる。
On the other hand, when the packet length is reduced so as not to exceed the MTU without changing the MTU on the
本発明は、上記課題を解決するためになされたもので、レイヤ2ネットワークからレイヤ3ネットワークへオーバーレイする場合に、ネットワーク管理者・利用者の負担を増やすことなく通信装置におけるフラグメントを防ぐことを目的とする。
The present invention has been made to solve the above-described problem, and it is an object of the present invention to prevent fragmentation in a communication apparatus without increasing the burden on a network administrator / user when overlaying from a
上記課題を解決するために、本発明は一例として、レイヤ2ネットワークのホスト間の通信をレイヤ3ネットワークにオーバーレイする通信装置において、レイヤ3ネットワークにおける複数の通信経路について、通信経路毎の第1のMTU長を管理するとともに、レイヤ2ネットワークのホスト間の通信を複数の通信経路を介してオーバーレイする場合に付加する情報に基づき第2のMTU長を求め、求めた第2のMTU長をホストに通知するようにしたものである。
In order to solve the above-described problem, the present invention, as an example, in a communication apparatus that overlays communication between hosts of a
また、通信装置においてホストから受信したパケットに付加する情報を付加後のパケット長が第1のMTU長を超えていた場合に、パケットを送信してきたホストに対し、第2のMTU長を通知するようにしたものである。 In addition, when the packet length after adding information to be added to the packet received from the host in the communication apparatus exceeds the first MTU length, the second MTU length is notified to the host that has transmitted the packet. It is what I did.
また、より詳しくは、第2のMTU長を、ICMP(Internet Control Message Protocol)のフォーマットに基づいて作成したメッセージに含めて通知するようにしたものである。 More specifically, the second MTU length is included in a message created based on the ICMP (Internet Control Message Protocol) format and notified.
また、第2のMTU長は、第1のMTU長から、前記付加する情報を減算した値としたものである。 The second MTU length is a value obtained by subtracting the information to be added from the first MTU length.
本発明によれば、レイヤ2ネットワークからレイヤ3ネットワークへオーバーレイする際、ネットワーク管理者・利用者の負担を増やすことなく通信装置におけるフラグメントを防ぐことができる。
According to the present invention, when overlaying from a
以下、本発明の実施の形態について、図1〜図6を用いて説明する。なお、実質同一部位には、同じ参照番号を振り、説明は繰り返さない。 Hereinafter, embodiments of the present invention will be described with reference to FIGS. Note that the same reference numerals are assigned to substantially the same parts, and description thereof will not be repeated.
図1は、レイヤ2ネットワークからレイヤ3ネットワークへオーバーレイする通信ネットワークの構成を説明する図である。
図1を参照してレイヤ2ネットワークからレイヤ3ネットワークへオーバーレイする構成を説明する。
図1は、レイヤ2ネットワーク120からレイヤ3ネットワーク130へオーバーレイする通信ネットワークを示しており、レイヤ2ネットワークのホスト101−1〜ホスト101−nと通信装置111が、レイヤ3ネットワークをオーバーレイすることで、通信装置112およびホスト102−1〜ホスト102−nを有するレイヤ2ネットワークと接続されている。
FIG. 1 is a diagram illustrating a configuration of a communication network that overlays a
A configuration for overlaying a
FIG. 1 shows a communication network overlaid from the
ホスト101と通信装置111、ホスト102と通信装置112は共に接続されており、レイヤ2ネットワーク120に属している。通信装置111はレイヤ3ネットワーク130を介して送信先の通信装置112と接続されている。
The
ホスト101および102は、それぞれ通信装置111および通信装置112と通信をするPC(パーソナル・コンピューター)などのコンピューター装置である。通信装置111は仮想スイッチなどのレイヤ3ネットワーク130へのゲートウェイ装置である。通信装置111、通信装置112は、レイヤ3ネットワーク130を介してホスト101、102から受信したフレームを送信先の通信装置112に転送する。なお、通信装置111および112は、レイヤ3ネットワーク130を介する際、オーバーレイ方式を用いてトンネル通信を行う。
The
図2は、本発明の一実施例における通信装置の構成を説明する図である。
図2を参照して、通信装置111の構成を説明する。図1の通信装置112も同様の構成である。
通信装置111は、パケット通信部200、通信制御部240、パケット編集部210、MTU管理部220、MTU管理テーブル250、MACアドレステーブル260、およびパケット編集結果ログ230から構成されている。
FIG. 2 is a diagram for explaining the configuration of a communication apparatus according to an embodiment of the present invention.
The configuration of the communication device 111 will be described with reference to FIG. The
The communication device 111 includes a
パケット通信部200はパケット送受信を行う。
通信制御部240は通信に関する制御、例えばスイッチやルータの基本動作の制御に該当する制御を行う。通信制御部240はパケットが送受信されたときにMACアドレステーブル260の作成・更新を行う。
The
The
図8に、本発明の一実施例におけるMACアドレステーブルを示す。
MACアドレステーブル260の構成は、図8に示す通りであり、MACアドレス800、L3ネットワーク側IPアドレス810、ホスト側ポート番号820、ホスト側VLAN ID830で構成される。MACアドレステーブル260はMTU管理テーブル250を作成するときに参照するテーブルである。
FIG. 8 shows a MAC address table in one embodiment of the present invention.
The configuration of the MAC address table 260 is as shown in FIG. 8, and includes a
図2に戻り、パケット編集部210は、パケット通信部200が受信したパケットについて、内容の参照、および編集を行う。また、パケットをカプセル化する場合、適用されるオーバーレイ方式に基づいたヘッダー情報を付加および削除する。また、パケット長が対象経路のMTU長を超えた場合にICMPプロトコル(Internet Control Message Protocol)のフォーマットに基づくエラーメッセージを作成して送信するとともに送信したエラーメッセージの内容をパケット編集結果ログ230へ登録する処理も行う。
Returning to FIG. 2, the
MTU管理部220は通信経路毎に、対象経路のMTU長を管理するMTU管理テーブル250の作成・更新を行うとともに、MTU管理テーブル250で管理されている通信経路毎のMTU長と、パケット編集部210においてパケットに追加されるヘッダー長に基づいて、受信したパケットが満たすべきMTU長(ホスト101、102からの送信パケットが満たすべきMTU長)を計算する。
The MTU management unit 220 creates / updates the MTU management table 250 that manages the MTU length of the target route for each communication path, and the MTU length for each communication path managed by the MTU management table 250 and the packet editing unit. Based on the header length added to the packet in 210, the MTU length to be satisfied by the received packet (the MTU length to be satisfied by the transmission packets from the
図7に、本発明の一実施例におけるMTU管理テーブルの構成を示す。
MTU管理テーブル250の構成は、図7に示す通りであり、宛先IPアドレス710はパケットに保持されている宛先MACアドレスを用いて、MACアドレステーブル260から該当するMACアドレス800を検索してそのMACアドレス800に対応するL3ネットワーク側IPアドレス810を抽出し、宛先IPアドレス710に登録する。MTU長720は対象経路のMTU長を登録する。通信経路上のMTUの内、最小のものを調べる既存技術としてPath MTU Discovery(RFC1191)(以降、PMTUDと記載する)がある。MTU管理部220は、対象経路のMTU長についてPMTUDによるMTU長の通知があればMTU長720を更新する。また、パケット通信部200を介して受信したパケット長にパケット編集部210において追加されるヘッダー長を加えたパケット長と、対象経路のMTU長を比較する。
FIG. 7 shows the configuration of the MTU management table in one embodiment of the present invention.
The configuration of the MTU management table 250 is as shown in FIG. 7, and the
図3は、本発明の一実施例におけるオーバーレイネットワークのホスト間通信の処理を説明するシーケンス図である。
図3を参照して、図1の通信ネットワークにおけるホスト1(101)、ホスト2(102)間通信の処理シーケンスを説明する。なお、ホスト1(101)、通信装置1(111)、通信装置2(112)およびホスト2(102)のそれぞれの通信経路のMTU長は例として1500Byteとする。
FIG. 3 is a sequence diagram for explaining the inter-host communication process of the overlay network in one embodiment of the present invention.
A processing sequence of communication between the host 1 (101) and the host 2 (102) in the communication network of FIG. 1 will be described with reference to FIG. Note that the MTU lengths of the communication paths of the host 1 (101), the communication device 1 (111), the communication device 2 (112), and the host 2 (102) are 1500 bytes as an example.
ホスト1(101)がホスト2(102)へパケット転送する場合、まず通信装置1(111)へパケットが送信される(300)。通信装置1(111)は、MTU管理テーブルを参照し、受信したパケットのパケット長にカプセル化に必要なヘッダー長を足したサイズと、通信経路のMTU長を比較する(310)。比較した結果、受信したパケットのパケット長にカプセル化に必要なヘッダー長を足したサイズが、通信経路のMTU長より大きければ、ICMPプロトコルのフォーマットに従ったメッセージを作成して、ホスト1(101)からの送信パケットが満たすべきMTU長を埋め込んだエラーメッセージをホスト1(101)へ通知する(320)。詳細について図4に示し、後述する。
ホスト1(101)は受け取ったエラーメッセージから抽出したホスト1(101)からの送信パケットが満たすべきMTU長にパケット長をあわせて、通信装置1(111)へパケットを再送する(330)。
When the host 1 (101) transfers a packet to the host 2 (102), the packet is first transmitted to the communication device 1 (111) (300). The communication apparatus 1 (111) refers to the MTU management table, and compares the size of the received packet plus the header length necessary for encapsulation with the MTU length of the communication path (310). As a result of comparison, if the size of the received packet plus the header length necessary for encapsulation is larger than the MTU length of the communication path, a message according to the ICMP protocol format is created, and the host 1 (101 ) Notifies the host 1 (101) of an error message in which the MTU length to be satisfied by the transmission packet from (1) is embedded (320). Details are shown in FIG. 4 and will be described later.
The host 1 (101) retransmits the packet to the communication apparatus 1 (111) by adjusting the packet length to the MTU length to be satisfied by the transmission packet from the host 1 (101) extracted from the received error message (330).
通信装置1(111)は、ホスト1(101)から受信したパケットのパケット長が、そのパケットの送信先の通信経路のMTU長を超えていなければ(340)、パケットのカプセル化処理を行い(350)、通信装置2(112)へパケットが送信する(360)。通信装置2(112)でも処理310、処理340と同様に、MTU管理テーブルを参照して通信経路を介して通信装置1(111)から受信したパケットのパケット長とそのパケットの通信経路のMTU長を比較し(370)、パケット長が通信経路のMTU長を超えていなければカプセル化処理(350)で付加した情報を削除し(380)、ホスト2(102)へパケットを送信する(390)。 If the packet length of the packet received from the host 1 (101) does not exceed the MTU length of the destination communication path of the packet (340), the communication apparatus 1 (111) performs packet encapsulation processing ( 350), the packet is transmitted to the communication apparatus 2 (112) (360). Similarly to the processing 310 and processing 340 in the communication device 2 (112), the packet length of the packet received from the communication device 1 (111) via the communication path with reference to the MTU management table and the MTU length of the communication path of the packet (370), if the packet length does not exceed the MTU length of the communication path, the information added in the encapsulation process (350) is deleted (380), and the packet is transmitted to the host 2 (102) (390). .
図4は、本発明の一実施例における通信装置のMTU管理部の処理を説明するフローチャートである。
図4を参照して、通信装置111または通信装置112のMTU管理部220における受信パケット長にパケット編集部210で付加するヘッダー情報を追加後のパケット長と通信経路のMTU長の比較、および受信パケット長にパケット編集部210で付加するヘッダー情報を追加後のパケット長が通信経路のMTU長をオーバーする時のパケット編集部210のエラー通知の処理フローを説明する。
FIG. 4 is a flowchart for explaining the processing of the MTU management unit of the communication apparatus according to an embodiment of the present invention.
Referring to FIG. 4, the packet length after adding header information added by
MTU管理部220は、まず、図7に示すMTU管理テーブル250から受信パケットの宛先IPアドレスに該当する通信経路のMTU長を抽出する(S400)。
MTU管理部220は、受信したパケットのパケット長と、パケット編集部210でパケットのカプセル化を行う際に追加する必要があるヘッダー長を足したサイズと抽出したMTU長を比較して(S410)、受信したパケットのパケット長とヘッダー長を足したサイズが抽出した通信経路のMTU長以下であれば、そのままパケットを転送可能とする(S420)。
First, the MTU management unit 220 extracts the MTU length of the communication path corresponding to the destination IP address of the received packet from the MTU management table 250 shown in FIG. 7 (S400).
The MTU management unit 220 compares the extracted MTU length with the packet length of the received packet and the size obtained by adding the header length that needs to be added when the
MTU管理部220において、受信したパケットのパケット長とヘッダー長を足したサイズが、抽出した通信経路のMTU長より大きいと判断した場合には、パケット編集部210は、ICMPプロトコルのフォーマットを用いて、ホスト1(101)へエラーメッセージを通知する。パケット編集部210は、ICMPプロトコルのフォーマットを用いて、以下のようなエラーメッセージを作成する。まず、ICMPのTypeフィールドには3(Destination Unreachable)、Codeフィールドには4(Fragmentation needed and Don’t Fragment was set)を設定する。Next−Hop MTUフィールドには通信装置1(111)のMTU管理テーブル250に格納された該当する通信経路のMTU長から、パケット編集部210においてパケットのカプセル化に必要なヘッダー長を引いたパケット長を、ホスト1(101)に通知する、ホスト1(101)が満たすべきMTU長として算出し、設定する。
If the MTU management unit 220 determines that the size of the received packet plus the header length is larger than the MTU length of the extracted communication path, the
通信装置1(111)のパケット編集部(210)がICMPプロトコルのフォーマットを用いて作成したエラーメッセージにより、ホスト1(101)は、送信したパケットが、MTU長(ホスト1(101)の送信パケットが満たすべきMTU長)をオーバーしていたことが分かり、ホスト1(101)は、ホスト1(101)の送信パケットが満たすべきMTU長を超えないパケット長にすることが可能となる。さらに、パケット編集部210は、このICMPプロトコルのフォーマットを用いたエラーメッセージのIPヘッダーの送信元IPアドレスフィールドにホスト2(102)のIPアドレスを設定することで、ホスト1(101)はあたかもホスト2(102)から通知を受け取ったみなし、経路途中にある通信装置(111)をレイヤ3の装置として見せないように隠蔽することが可能となる(S430)。最後に、パケット編集部210は、パケット編集結果ログ230に送信したエラーメッセージの内容を登録する(S440)。パケット編集結果ログ230の詳細については図6に示し、後述する。
In response to an error message created by the packet editing unit (210) of the communication apparatus 1 (111) using the ICMP protocol format, the transmitted packet of the host 1 (101) is the transmission packet of the MTU length (host 1 (101)). Therefore, the host 1 (101) can set the packet length not exceeding the MTU length to be satisfied by the transmission packet of the host 1 (101). Further, the
なお、図4のS400のMTU長は、MTU管理テーブル250からパケットの宛先IPアドレスに該当する通信経路のMTU長を抽出するのではなく、予め固定値を設定することも可能である。通信経路のMTU長を固定値とすることで、通信経路に設定されているMTU長を抽出する処理が不要となり、通信装置(111)の処理効率が向上される。 Note that the MTU length in S400 of FIG. 4 can be set in advance instead of extracting the MTU length of the communication path corresponding to the destination IP address of the packet from the MTU management table 250. By setting the MTU length of the communication path to a fixed value, the process of extracting the MTU length set in the communication path becomes unnecessary, and the processing efficiency of the communication apparatus (111) is improved.
図5は、本発明の一実施例における通信装置のMTU管理部の処理を説明するフローチャートである。
図5に通信経路のMTU長を固定値とした処理フローを示し、説明する。
MTU長は固定値を設定する(S500)。固定値については、例えば通信装置(111)のコンフィグレーションなどに設定させることが可能である。以降のS510からS540の動作については、図4のS410からS440と同じである。
FIG. 5 is a flowchart for explaining the processing of the MTU management unit of the communication apparatus according to an embodiment of the present invention.
FIG. 5 shows and describes a processing flow in which the MTU length of the communication path is a fixed value.
A fixed value is set for the MTU length (S500). The fixed value can be set, for example, in the configuration of the communication device (111). The subsequent operations from S510 to S540 are the same as S410 to S440 in FIG.
図6は、本発明の一実施例におけるパケット編集結果ログを示す図である。
図6を参照して、パケット編集結果ログ230の構成を説明する。
日時600はパケット編集結果ログ230に登録した日付と時間、パケット長610は通信装置(111)に送信されたパケットのパケット長、カプセル化ヘッダー長620はパケットのカプセル化に必要なヘッダー長、MTU長630はパケット送信先経路のMTU長、送信元IPアドレス640は図4のS430にて設定した送信元IPアドレス、宛先IPアドレス650は図4のS430にて設定した宛先IPアドレス、Next−Hop MTU長660は図4のS430にて設定したNext−Hop MTU長(ホストの送信パケットが満たすべきMTU長)を登録する。これらのログ情報はネットワーク上で何かしらの不具合が発生した際に、原因解析の情報として利用することが可能である。
FIG. 6 is a diagram showing a packet editing result log in one embodiment of the present invention.
The configuration of the packet editing result log 230 will be described with reference to FIG.
The date and
以上説明した実施例による効果としては、以下が挙げられる。
通信経路上のMTUの内、最小のものを調べる既存技術としてPath MTU Discovery(RFC1191)(PMTUD)があるが、オーバーレイネットワークのレイヤ2ネットワークの通信装置に対しては、本来PMTUDを用いることができない。しかし、本発明においては、上記構成とすることにより、ホストに対してホストが送信するパケットが満たすべきMTU長を通知することができる。
The effects of the embodiment described above include the following.
Path MTU Discovery (RFC 1191) (PMTUD) is an existing technique for examining the smallest MTU on a communication path. However, a PMTUD cannot be originally used for a communication device in a
また、本発明は、通信経路のMTU長そのものではなく、トンネル用カプセル化ヘッダー情報の付加分を考慮したMTU長を、ホストが送信するパケットが満たすべきMTU長としてホストに通知することで、通信装置におけるパケットのフラグメントを防ぐことが可能になる。 Further, the present invention notifies the host not of the MTU length of the communication path itself but of the MTU length considering the addition of the tunnel encapsulation header information as the MTU length to be satisfied by the packet transmitted by the host. Packet fragmentation in the device can be prevented.
MTU長をホストに通知する際、パケットの送信元IPアドレスを送信先ホストのIPアドレスに設定することで、ホストからみると経路途中にある通信機器の存在を表面化させずに、オーバーレイ方式によるメリットを生かしたまま、ホストに対してホストが送信するパケットが満たすべきMTU長を通知することができる。 When notifying the host of the MTU length, by setting the source IP address of the packet to the IP address of the destination host, the advantages of the overlay method without revealing the presence of communication devices in the middle of the path when viewed from the host The MTU length to be satisfied by the packet transmitted by the host can be notified to the host while keeping the above.
また、パケットの編集結果を保存することで、不具合が発生した際の解決手段に備えることが可能となる。 Further, by saving the packet editing result, it is possible to prepare for a solution means when a problem occurs.
101、102・・・ホスト
111、112・・・通信装置
120・・・レイヤ2ネットワーク
130・・・レイヤ3ネットワーク
200・・・パケット通信部
210・・・パケット編集部
220・・・MTU管理部
230・・・パケット編集結果ログ
240・・・通信制御部
250・・・MTU管理テーブル
260・・・MACアドレステーブル
101, 102 ... hosts 111, 112 ...
Claims (12)
前記通信装置は、レイヤ3ネットワークにおける複数の通信経路について、前記通信経路毎の第1のMTU長を管理するとともに、前記レイヤ2ネットワークのホスト間の通信を前記複数の通信経路を介してオーバーレイする場合に付加する情報に基づき第2のMTU長を求め、
前記第2のMTU長を前記ホストに通知することを特徴とする通信装置。 A communication device that overlays communication between hosts in a layer 2 network on a layer 3 network,
The communication device manages a first MTU length for each communication path for a plurality of communication paths in a layer 3 network, and overlays communication between hosts of the layer 2 network via the plurality of communication paths. A second MTU length is determined based on the information to be added
A communication apparatus that notifies the host of the second MTU length.
前記通信装置は、前記通信装置において、前記ホストから受信したパケットに前記付加する情報を付加後のパケット長が前記第1のMTU長を超えていた場合に、前記パケットを送信してきたホストに対し、前記第2のMTU長を通知することを特徴とする通信装置。 The communication device according to claim 1,
In the communication device, when the packet length after adding the information to be added to the packet received from the host exceeds the first MTU length in the communication device, to the host that has transmitted the packet A communication apparatus that notifies the second MTU length.
前記通信装置は、前記第2のMTU長を、ICMP(Internet Control Message Protocol)のフォーマットに基づいて作成したメッセージに含めて通知することを特徴とする通信装置。 The communication device according to claim 2,
The communication apparatus notifies the second MTU length included in a message created based on an ICMP (Internet Control Message Protocol) format.
前記第2のMTU長は、前記第1のMTU長から、前記付加する情報を減算した値であることを特徴とする通信装置。 The communication device according to any one of claims 1 to 3,
The second MTU length is a value obtained by subtracting the information to be added from the first MTU length.
前記通信装置は、前記レイヤ3ネットワークを介して前記第1のMTU長に関する情報を受信すると、前記第1のMTU長を更新することを特徴とする通信装置。 The communication device according to any one of claims 1 to 4,
The communication apparatus updates the first MTU length when receiving information on the first MTU length via the layer 3 network.
前記第1のMTU長は、予め設定された値であることを特徴とする通信装置。 The communication device according to any one of claims 1 to 4,
The communication apparatus characterized in that the first MTU length is a preset value.
レイヤ3ネットワークにおける複数の通信経路について、前記通信経路毎の第1のMTU長を管理するとともに、前記レイヤ2ネットワークのホスト間の通信を前記複数の通信経路を介してオーバーレイする場合に付加する情報に基づき第2のMTU長を求め、
前記第2のMTU長を前記ホストに通知することを特徴とする通信方法。 A communication method for overlaying communication between hosts of a layer 2 network on a layer 3 network,
Information added when managing the first MTU length for each communication path and overlaying communication between hosts of the layer 2 network via the plurality of communication paths for a plurality of communication paths in the layer 3 network To obtain a second MTU length based on
A communication method of notifying the host of the second MTU length.
前記ホストから受信したパケットに前記付加する情報を付加後のパケット長が前記第1のMTU長を超えていた場合に、前記パケットを送信してきたホストに対し、前記第2のMTU長を通知することを特徴とする通信方法。 The communication method according to claim 7, wherein
When the packet length after adding the information to be added to the packet received from the host exceeds the first MTU length, the second MTU length is notified to the host that has transmitted the packet. A communication method characterized by the above.
前記第2のMTU長を、ICMP(Internet Control Message Protocol)のフォーマットに基づいて作成したメッセージに含めて通知することを特徴とする通信方法。 The communication method according to claim 8, comprising:
A communication method comprising: notifying the second MTU length in a message created based on an ICMP (Internet Control Message Protocol) format.
前記第2のMTU長は、前記第1のMTU長から、前記付加する情報を減算した値であることを特徴とする通信方法。 The communication method according to any one of claims 7 to 9,
The second MTU length is a value obtained by subtracting the information to be added from the first MTU length.
前記レイヤ3ネットワークを介して前記第1のMTU長に関する情報を受信すると、前記第1のMTU長を更新することを特徴とする通信方法。 The communication method according to any one of claims 7 to 10,
The communication method according to claim 1, wherein the first MTU length is updated when information on the first MTU length is received via the layer 3 network.
前記第1のMTU長は、予め設定された値であることを特徴とする通信方法。 The communication method according to any one of claims 7 to 10,
The communication method according to claim 1, wherein the first MTU length is a preset value.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016100061A JP6718739B2 (en) | 2016-05-19 | 2016-05-19 | Communication device and communication method |
US15/495,060 US10257087B2 (en) | 2016-05-19 | 2017-04-24 | Communication device and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016100061A JP6718739B2 (en) | 2016-05-19 | 2016-05-19 | Communication device and communication method |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2017208718A true JP2017208718A (en) | 2017-11-24 |
JP2017208718A5 JP2017208718A5 (en) | 2018-08-30 |
JP6718739B2 JP6718739B2 (en) | 2020-07-08 |
Family
ID=60330662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016100061A Active JP6718739B2 (en) | 2016-05-19 | 2016-05-19 | Communication device and communication method |
Country Status (2)
Country | Link |
---|---|
US (1) | US10257087B2 (en) |
JP (1) | JP6718739B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10992590B2 (en) * | 2018-04-09 | 2021-04-27 | Nicira, Inc. | Path maximum transmission unit (PMTU) discovery in software-defined networking (SDN) environments |
CN109379301A (en) * | 2018-12-19 | 2019-02-22 | 安徽皖通邮电股份有限公司 | A method of communication path MTU is detected using CFM |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7555548B2 (en) * | 2004-04-07 | 2009-06-30 | Verizon Business Global Llc | Method and apparatus for efficient data collection |
JP4222353B2 (en) * | 2005-09-16 | 2009-02-12 | ヤマハ株式会社 | IP communication apparatus and IP communication system |
JP5241247B2 (en) * | 2008-01-17 | 2013-07-17 | キヤノン株式会社 | Relay device, information notification method, and program |
WO2012124035A1 (en) * | 2011-03-11 | 2012-09-20 | 富士通株式会社 | Communication device and communication method |
JP2015533045A (en) | 2012-09-26 | 2015-11-16 | 日本電気株式会社 | Communication system, communication method, information processing apparatus, communication control method, and program |
JP2015023329A (en) * | 2013-07-17 | 2015-02-02 | 富士通株式会社 | Notification method, apparatus and program |
US10164892B2 (en) * | 2013-12-31 | 2018-12-25 | Red Hat Israel, Ltd. | Overhead management for virtual machines |
-
2016
- 2016-05-19 JP JP2016100061A patent/JP6718739B2/en active Active
-
2017
- 2017-04-24 US US15/495,060 patent/US10257087B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US10257087B2 (en) | 2019-04-09 |
JP6718739B2 (en) | 2020-07-08 |
US20170339055A1 (en) | 2017-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113812126B (en) | Message transmission method, device and system, readable storage medium | |
US11411770B2 (en) | Virtual port channel bounce in overlay network | |
US12040968B2 (en) | Flow modification including shared context | |
US10116559B2 (en) | Operations, administration and management (OAM) in overlay data center environments | |
CN109218178B (en) | Message processing method and network equipment | |
EP2579544B1 (en) | Methods and apparatus for a scalable network with efficient link utilization | |
JP5991424B2 (en) | Packet rewriting device, control device, communication system, packet transmission method and program | |
US9444642B2 (en) | LAN multiplexing apparatus | |
KR101900536B1 (en) | Implementing a 3g packet core in a cloud computer with openflow data and control planes | |
CN104954245B (en) | Business function chain processing method and device | |
US20140153577A1 (en) | Session-based forwarding | |
EP3069471B1 (en) | Optimized multicast routing in a clos-like network | |
US9311123B2 (en) | Distributed virtual security appliance and flow-based forwarding system using virtual machines | |
JP2020520612A (en) | Packet transmission method, edge device, and machine-readable storage medium | |
JPWO2013141340A1 (en) | Control device, communication device, communication system, communication method, and program | |
US8675669B2 (en) | Policy homomorphic network extension | |
US20240340163A1 (en) | Inline security key exchange | |
JP6718739B2 (en) | Communication device and communication method | |
US10848414B1 (en) | Methods and apparatus for a scalable network with efficient link utilization | |
JP2006279771A (en) | Method and program for packet transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160520 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20170120 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20170126 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20180223 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20180314 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180717 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180717 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190515 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190521 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190711 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191119 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20200117 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200207 |
|
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: 20200602 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200615 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6718739 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |