JP2007110654A - Bridge device and control method thereof - Google Patents

Bridge device and control method thereof Download PDF

Info

Publication number
JP2007110654A
JP2007110654A JP2005302169A JP2005302169A JP2007110654A JP 2007110654 A JP2007110654 A JP 2007110654A JP 2005302169 A JP2005302169 A JP 2005302169A JP 2005302169 A JP2005302169 A JP 2005302169A JP 2007110654 A JP2007110654 A JP 2007110654A
Authority
JP
Japan
Prior art keywords
value
side network
maximum transfer
transfer unit
frame
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
Application number
JP2005302169A
Other languages
Japanese (ja)
Other versions
JP4660346B2 (en
Inventor
Naoki Ezaka
直紀 江坂
Shigeo Matsuzawa
茂雄 松澤
Takeshi Ishihara
丈士 石原
Yasuhiro Shirasaki
泰弘 白崎
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.)
Toshiba Corp
NTT Communications Corp
Original Assignee
Toshiba Corp
NTT Communications 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 Toshiba Corp, NTT Communications Corp filed Critical Toshiba Corp
Priority to JP2005302169A priority Critical patent/JP4660346B2/en
Publication of JP2007110654A publication Critical patent/JP2007110654A/en
Application granted granted Critical
Publication of JP4660346B2 publication Critical patent/JP4660346B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a bridge device capable of dealing with a problem of MTU unmatching in applying multicast or flooding processing to a frame, and a control method of the bridge device. <P>SOLUTION: The bridge device receives mutlicast frames from a transmission source terminal by a receiver side network interface, and transmits it to a plurality of transmitter side network interfaces. The bridge device is provided with a means for acquiring a value of a first maximum transfer unit owned by the receiver side network interface, and receiving values of a plurality of second maximum transfer units owned by the plurality of the transmitter side network interfaces; and a means for transmitting an ICMP (internet control message protocol) packet including the minimum value of the maximum transfer unit, if the minimum value of the value of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、IPネットワークに適用されるブリッジ装置及びブリッジ装置の制御方法に関する。   The present invention relates to a bridge device applied to an IP network and a bridge device control method.

パケットの送受信によるエンド・ツー・エンド(End-to-End)型の通信を行うインターネットプロトコル(Internet Protocol)では、通信を行っている両端の端末で扱えるパケットサイズは基本的には自由(ただし最大サイズは65535)である。しかし、IPパケットはイーサネット(登録商標)やPPP(Point-to-Point Protocol)といったデータリンク層の上で交換されることから、必然的に、パケットのサイズをデータリンク層で送信可能なサイズの最大数に合わせておくことがもっとも効率よい転送であるといえる。このパケットのサイズのことをMTU(Maximum Transfer Unit;最大転送ユニット)という。   In the Internet Protocol, which performs end-to-end communication by sending and receiving packets, the packet size that can be handled by the terminals at both ends of communication is basically free (but maximum The size is 65535). However, since IP packets are exchanged on a data link layer such as Ethernet (registered trademark) or PPP (Point-to-Point Protocol), the size of the packet is inevitably set to a size that can be transmitted by the data link layer. It can be said that keeping the maximum number is the most efficient transfer. The size of this packet is called MTU (Maximum Transfer Unit).

通常、イーサネットの場合においてMTUの値は1500であり、IP通信を行う場合はこのMTU1500で通信が行われる。例えば、イーサネットで接続されたLANであれば、どの端末もMTU1500で通信することがもっとも効率のよい状態である。なお、この1500という値は通常は変わらないので、イーサネットを延長するために用いられるブリッジやスイッチングハブといった機器はMTUについて特に処理をしない。MTUを超えるサイズのIPパケットはIP層でフラグメント処理されるが、ブリッジやハブといった機器はIPの処理を行う機器ではないので、これらの機器が処理可能なサイズ以上のパケットは廃棄されることになる。   Usually, in the case of Ethernet, the value of the MTU is 1500, and when performing IP communication, communication is performed by the MTU 1500. For example, in the case of a LAN connected by Ethernet, it is the most efficient state that any terminal communicates with the MTU 1500. Since the value of 1500 is not normally changed, devices such as a bridge and a switching hub used for extending the Ethernet do not particularly process the MTU. Although IP packets with a size exceeding the MTU are fragmented at the IP layer, devices such as bridges and hubs are not devices that process IP, so packets larger than those that can be processed by these devices are discarded. Become.

宅内やSOHO(Small Office Home Office)ならびに一般のオフィスにおけるネットワーク環境の充実と、ブロードバンドネットワーク、公衆の無線インターネット接続のインフラの普及に伴い、外出先から安全にインターネットを通じて、これら宅内やSOHOならびにオフィスに接続したいという要求が高まっている。通常、MTUは一律に揃っていることを仮定してもよいが、遠隔のネットワークと同じIPセグメントで通信を行うためにトンネリングを行うような場合、MTUは変わる可能性がある。「トンネリング」とは、一般に、IPパケット(又はイーサネットフレームなど)をさらに別のIPパケットに包んで転送する技術の総称であり、L3VPN(Layer 3 Virtual Private Network),L2VPN(Layer 2 Virtual Private Network)といった技術が知られる。L2VPNについては、より具体的な技術としてL2TP(Layer 2 Tunneling Protocol),MPLS(Multi Protocol Label Switching)などがある。   With the enhancement of the network environment in homes, SOHO (Small Office Home Office) and general offices, and the spread of infrastructure for broadband networks and public wireless Internet connection, these homes, SOHOs and offices can be safely accessed via the Internet. There is an increasing demand for connection. Normally, it may be assumed that the MTUs are uniform, but the MTU may change when tunneling is performed in order to perform communication using the same IP segment as that of the remote network. “Tunneling” is a general term for technologies for generally wrapping IP packets (or Ethernet frames, etc.) in another IP packet and transferring them. L3VPN (Layer 3 Virtual Private Network), L2VPN (Layer 2 Virtual Private Network) Such a technique is known. For L2VPN, more specific techniques include L2TP (Layer 2 Tunneling Protocol) and MPLS (Multi Protocol Label Switching).

例えばレイヤー2(L2)をレイヤー3(L3)でカプセル化し、これによりレイヤー2をエミュレートする場合を考えると、そのパケットフォーマットにおいて、カプセル化のためのヘッダ分だけ最大ペイロードは削減され、レイヤー2のMTUが削減されることになる。このようにエミュレートされたレイヤー2をIEEE802.1Dに基づいてブリッジする際には、ブリッジ装置はMTUが違うことを意識しなければならない。例えばMTU1500とMTU1454との間のL2ブリッジを考える。MTU1455以上のフレームはL2ブリッジではフォワードされず破棄される。このとき、フレームが破棄されたことはレイヤー3には通知されない。   For example, when encapsulating layer 2 (L2) with layer 3 (L3) and emulating layer 2 thereby, the maximum payload is reduced by the header for encapsulation in the packet format. MTU will be reduced. When bridging layer 2 emulated in this way based on IEEE 802.1D, the bridge device must be aware that the MTU is different. For example, consider an L2 bridge between MTU 1500 and MTU 1454. Frames of MTU 1455 and higher are discarded without being forwarded by the L2 bridge. At this time, layer 3 is not notified that the frame has been discarded.

この問題は、ブリッジ装置がマルチキャストフレームを転送する場合や、ユニキャストフレームをフラッディング処理する場合においても考慮する必要がある。   This problem needs to be considered even when the bridge device transfers a multicast frame or when a unicast frame is flooded.

そこで本発明は、フレームをマルチキャストし、又はフラッディングする際におけるMTU不一致の問題に対処することのできるブリッジ装置及びブリッジ装置の制御方法を提供することを目的とする。   Accordingly, an object of the present invention is to provide a bridge device and a control method for the bridge device that can cope with the problem of MTU mismatch when multicasting or flooding a frame.

本発明の一観点に係るブリッジ装置は、送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置において、前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得する手段と、前記複数の第二の最大転送ユニットの値における最小値が前記第一の最大転送ユニットの値よりも小さいならば、該最大転送ユニットの最小値を含んだICMPパケットを前記送信元端末に対して送信する手段とを具備する。   A bridge device according to an aspect of the present invention is a bridge device that receives a multicast frame from a transmission source terminal via a reception-side network interface and transmits the multicast frame to a plurality of transmission-side network interfaces. Means for obtaining a value of a transfer unit and obtaining values of a plurality of second maximum transfer units possessed by the plurality of transmission side network interfaces; and a minimum value among the values of the plurality of second maximum transfer units. And a means for transmitting an ICMP packet including the minimum value of the maximum transfer unit to the transmission source terminal if the value is smaller than the value of one maximum transfer unit.

本発明によれば、フレームをマルチキャストし、又はフラッディングする際におけるMTU不一致の問題に対処することのできるブリッジ装置及びブリッジ装置の制御方法を提供することを目的とする。   According to the present invention, an object of the present invention is to provide a bridge device and a control method for the bridge device that can cope with the problem of MTU mismatch when multicasting or flooding a frame.

以下、図面を参照しながら本発明の実施形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は本発明の実施形態に係るブリッジ装置が適用されたネットワークを示す図である。同図に示すように、端末Aに対しブリッジ装置1を介して端末B〜端末Eが接続されている。ブリッジ装置1は、端末Aから端末B〜端末Eのいずれかに対して送信されたフレームを転送処理し、あるいは逆に、端末B〜端末Eのいずれかから端末Aに対して送信されたフレームを転送処理する。このようなブリッジとしての基本機能を実現するため、ブリッジ装置1はMACアドレス学習部2と、L2ブリッジフレーム転送処理部3とを有する。MACアドレス学習部2は、例えばIEEE802.1Dの仕様に基づいたMACアドレス学習を行う。L2ブリッジフレーム転送処理部3は、IEEE802.1Dの仕様に基づいたブリッジフォワーディング処理を行う。   FIG. 1 is a diagram showing a network to which a bridge device according to an embodiment of the present invention is applied. As shown in the figure, terminal B to terminal E are connected to terminal A via bridge device 1. The bridge device 1 transfers the frame transmitted from the terminal A to any one of the terminals B to E, or conversely, the frame transmitted from any one of the terminals B to E to the terminal A. Transfer process. In order to realize such a basic function as a bridge, the bridge device 1 includes a MAC address learning unit 2 and an L2 bridge frame transfer processing unit 3. The MAC address learning unit 2 performs MAC address learning based on, for example, IEEE 802.1D specifications. The L2 bridge frame transfer processing unit 3 performs a bridge forwarding process based on the IEEE 802.1D specification.

本発明の第一乃至第四の実施形態は、ブリッジ装置1において例えば図1の端末Aに相当する送信元端末からマルチキャストフレームを受信側ネットワークインターフェースのポートにより受信し、このマルチキャストフレームをすべての送信側ネットワークインターフェースのポートに送信する、いわゆるマルチキャストを行う際の、MTU不一致の問題への対処策を講じたブリッジ装置に関する。   In the first to fourth embodiments of the present invention, the bridge device 1 receives, for example, a multicast frame from a transmission source terminal corresponding to the terminal A in FIG. The present invention relates to a bridge device that takes measures against a problem of MTU mismatch when performing so-called multicast transmission to a port of a side network interface.

また、本発明の第五乃至第七の実施形態は、ブリッジ装置1において例えば図1の端末Aに相当する送信元端末から受信側ネットワークインターフェースのポートによりユニキャストフレームを受信したときに該ユニキャストフレームの転送先が未解決ならば、すべての送信側ネットワークインターフェースに対してユニキャストフレームを送信する、いわゆるフラッディング処理を行う際の、MTU不一致の問題への対処策を講じたブリッジ装置に関する。   In the fifth to seventh embodiments of the present invention, when the bridge device 1 receives a unicast frame from a transmission source terminal corresponding to, for example, the terminal A in FIG. The present invention relates to a bridge device that takes measures against a problem of MTU mismatch when performing so-called flooding processing, in which a unicast frame is transmitted to all transmission side network interfaces if the frame transfer destination is unsolved.

(第一の実施形態)
図2は、本発明の第一の実施形態に係わり、図1に示したブリッジ装置における機能拡張部分を示すブロック図である。同図に示すように、本実施形態に係るブリッジ装置1は、図1に示した構成要素に加え、MTU判定部40と、ICMP処理部50と、MTU保持部6と、IP送信元・宛先保持部7とを備える。
(First embodiment)
FIG. 2 is a block diagram showing a function expansion portion in the bridge device shown in FIG. 1 according to the first embodiment of the present invention. As shown in the figure, in addition to the components shown in FIG. 1, the bridge device 1 according to the present embodiment includes an MTU determination unit 40, an ICMP processing unit 50, an MTU holding unit 6, an IP transmission source / destination. And holding unit 7.

MTU判定部40は、マルチキャストフレームを受信したポートのMTU(最大転送ユニット)の値をMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部41と、この受信ポート以外のすべてのポートのMTUの値をそれぞれMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部42と、記憶部41と記憶部42の値の大小を比較する比較器(COMP)43と、比較器43による比較結果に応じて、当該マルチキャストフレームをどのように処理すればよいかを判定する判定部44とを備える。判定部44の具体的な処理内容は後述する。   The MTU determination unit 40 reads the MTU (maximum transfer unit) value of the port that has received the multicast frame from the MTU holding unit 6 and stores it, for example, a storage unit 41 such as a register, and all ports other than this reception port. Each of the MTU values is read from the MTU holding unit 6 and stored. For example, a storage unit 42 such as a register, a comparator (COMP) 43 that compares the values of the storage unit 41 and the storage unit 42, and a comparator 43 And a determination unit 44 that determines how to process the multicast frame according to the comparison result. Specific processing contents of the determination unit 44 will be described later.

MTU判定部40は、MACアドレス学習部2によりIEEE802.1Dの仕様に基づいたMACアドレスの学習がなされる際に、同時に、当該ネットワークに接続された機器に対応するネットワークインターフェースごとのMTUの値を取得し、MTU保持部6に記憶させる。MTUの値をいかにして取得するかについて本発明は特定の手法に限定されるものではないが、例えば、MTU判定部40がICMP処理部50内のMTU値取得部51に対してMTUの値の取得を指示する。これに応じてMTU値取得部51は例えばICMPに基づくパスMTU検出(path MTU discovery)機能によりネットワーク内の各機器のMTUの値を取得する。   When the MAC address learning unit 2 learns the MAC address based on the IEEE 802.1D specification, the MTU determination unit 40 simultaneously determines the MTU value for each network interface corresponding to the device connected to the network. Acquired and stored in the MTU holding unit 6. The present invention is not limited to a specific method as to how to acquire the MTU value. For example, the MTU determination unit 40 determines the MTU value from the MTU value acquisition unit 51 in the ICMP processing unit 50. The acquisition of is instructed. In response to this, the MTU value acquisition unit 51 acquires the MTU value of each device in the network by, for example, a path MTU discovery function based on ICMP.

L2ブリッジフレーム転送処理部3は、上述したようにIEEE802.1Dの仕様に基づいたブリッジフォワーディング処理を行うものであるが、このフォワーディング処理を実行すべきか否かは、判定部44による処理結果に応じて制御される。   The L2 bridge frame transfer processing unit 3 performs bridge forwarding processing based on the IEEE 802.1D specification as described above. Whether or not this forwarding processing should be executed depends on the processing result of the determination unit 44. Controlled.

ICMP処理部50はMTU値取得部51とICMPパケット送信部52とを備える。   The ICMP processing unit 50 includes an MTU value acquisition unit 51 and an ICMP packet transmission unit 52.

MTU値取得部51は、上述したパスMTU検出機能を実装している。ICMPのパスMTU検出については、IPv4ではRFC1191に定義され、IPv6ではRFC1981に定義されている。パスMTU検出の概略手順としては、IPパケットにDFフラグ(フラグメント禁止フラグ)をセットし、MTUサイズを様々に変化させて該IPパケットを送信する。これに応じて返答されてくるICMP宛先不達(ICMP destination unreachable)メッセージを受信し、該メッセージにセットされているMTU値を得る。   The MTU value acquisition unit 51 has the above-described path MTU detection function. The ICMP path MTU detection is defined in RFC 1191 in IPv4 and in RFC 1981 in IPv6. As a general procedure for path MTU detection, a DF flag (fragment prohibition flag) is set in an IP packet, and the IP packet is transmitted with various changes in the MTU size. In response, an ICMP destination unreachable message is received and an MTU value set in the message is obtained.

ICMPパケット送信部52は、MTU判定部40の判定部44からの制御により、ICMPパケットをマルチキャストフレームの送信元端末に対して送信する。   The ICMP packet transmission unit 52 transmits an ICMP packet to the multicast frame transmission source terminal under the control of the determination unit 44 of the MTU determination unit 40.

IP送信元・宛先保持部7は、当該ブリッジ装置1により過去に行われたフレーム転送の際の送信元IPアドレス(レイヤー3アドレス)と宛先IPアドレスとを対応付けて記憶している。ICMPパケット送信部52は、ICMPパケットをマルチキャストフレームの送信元端末に対して送信する際に、そのIPアドレスをIP送信元・宛先保持部7から求める。   The IP transmission source / destination holding unit 7 stores the transmission source IP address (layer 3 address) and the destination IP address in association with the frame transfer performed in the past by the bridge device 1 in association with each other. The ICMP packet transmission unit 52 obtains the IP address from the IP transmission source / destination holding unit 7 when transmitting the ICMP packet to the transmission source terminal of the multicast frame.

以上のように構成された本実施形態のブリッジ装置1は、マルチキャストフレームを受信して転送する際におけるMTU不一致の問題に対処するものであるが、ここで、MTUの動的な変更について説明する。図1のネットワークにおいて、レイヤー2(L2)をレイヤー3(L3)でカプセル化し、これによりレイヤー2をエミュレートする場合を考える。図3は、L2のエミュレートを行う場合のパケットフォーマットを示している。L2のエミュレートを行う場合、カプセル化のためのヘッダ分Hだけ最大ペイロードPは削減され、レイヤー2のMTUが削減されることになる。このようにエミュレートされたレイヤー2をIEEE802.1Dに基づいてブリッジする際には、ブリッジ装置1はMTUが違うことを意識しなければならない。   The bridge apparatus 1 of the present embodiment configured as described above addresses the problem of MTU mismatch when receiving and forwarding a multicast frame. Here, dynamic change of the MTU will be described. . Consider a case where layer 2 (L2) is encapsulated by layer 3 (L3) in the network of FIG. FIG. 3 shows a packet format when emulating L2. When emulating L2, the maximum payload P is reduced by the header amount H for encapsulation, and the MTU of layer 2 is reduced. When bridging the layer 2 emulated in this way based on IEEE 802.1D, the bridge device 1 must be aware that the MTU is different.

例えばMTU1500(マルチキャストフレームの受信ポート)とMTU1454、MTU1280、MTU1120(送信側の各ポート)の間のL2ブリッジを考える。MTU1455以上のフレームはL2ブリッジではフォワードされず破棄される。このとき、仮にMTU1455以上のフレームが破棄されたことを送信元端末に通知できたとしても、送信元端末がMTU1454のフレームを再送したのでは、依然としてMTU1280、MTU1120の各ポートへはフォワードきないことから問題である。これは、マルチキャストフレームを転送する際に固有の問題である。   For example, consider an L2 bridge between MTU 1500 (multicast frame reception port) and MTU 1454, MTU 1280, and MTU 1120 (transmission side ports). Frames of MTU 1455 and higher are discarded without being forwarded by the L2 bridge. At this time, even if it is possible to notify the transmission source terminal that a frame of MTU 1455 or higher has been discarded, if the transmission source terminal retransmits the frame of MTU 1454, it cannot still forward to each port of MTU 1280 and MTU 1120. It is a problem. This is an inherent problem when forwarding multicast frames.

そこで本実施形態のブリッジ装置1では、マルチキャストフレームを受信した際に、その受信ポートが有するMTUの値を取得して記憶部41に記憶するとともにすべての送信側ポートが有するMTUの値をそれぞれ取得して記憶部42に記憶し、これら記憶部41、42に記憶された値の両者を比較器43により比較する。判定部44は、送信側ポートのMTUの最小値が受信側ポートのMTUの値よりも小さいか否かを判定し、そうであるならば、該MTUの最小値を含んだICMPパケットを送信元端末に対して送信するようICMPパケット送信部52に対して指示する。   Therefore, in the bridge device 1 according to the present embodiment, when a multicast frame is received, the MTU value of the reception port is acquired and stored in the storage unit 41, and the MTU values of all transmission ports are acquired. The values are stored in the storage unit 42, and both of the values stored in the storage units 41 and 42 are compared by the comparator 43. The determination unit 44 determines whether or not the minimum value of the MTU of the transmission side port is smaller than the value of the MTU of the reception side port. If so, the ICMP packet including the minimum value of the MTU is transmitted to the transmission source. The ICMP packet transmission unit 52 is instructed to transmit to the terminal.

図4は本発明の第一の実施形態に係るブリッジ装置がマルチキャストフレームを処理する手順を示すフローチャートである。   FIG. 4 is a flowchart showing a procedure for processing a multicast frame by the bridge device according to the first embodiment of the present invention.

まず、送信元端末から送信されたイーサネットマルチキャストフレームがブリッジ装置1において受信される(ステップS101)。このとき、MACアドレス学習部2により例えばIEEE802.1Dの仕様に基づいたMACアドレス学習が行われる。   First, the Ethernet multicast frame transmitted from the transmission source terminal is received by the bridge device 1 (step S101). At this time, the MAC address learning unit 2 performs MAC address learning based on, for example, IEEE 802.1D specifications.

次に、MTU値取得部51は、マルチキャストフレームを受信したポートのMTUの値およびこの受信ポート以外のすべてのポートのMTUの値を取得する(ステップS102)。これらMTUの値はMTU保持部6に格納される。なお、MTUの値の取得は必ずしもマルチキャストフレームの受信の後に行う必要はなく、ステップS101とS102の実行順序を入れ替えてもよい。   Next, the MTU value acquisition unit 51 acquires the MTU value of the port that has received the multicast frame and the MTU values of all ports other than the reception port (step S102). These MTU values are stored in the MTU holding unit 6. Note that acquisition of the MTU value is not necessarily performed after reception of the multicast frame, and the execution order of steps S101 and S102 may be switched.

次に、マルチキャストフレームの受信ポートのMTUの値がMTU保持部6から読み出されて記憶部41に格納され、他の全てのポートのMTUの値が同様にMTU保持部6から読み出されて記憶部42に格納される。ここで判定部44は、マルチキャストフレームを受信したポートよりも小さいMTUを持つポートが存在するか否かを判定する(ステップS103)。記憶部41、42に記憶されたMTUの値の大小比較は比較器43により行われる。そして、マルチキャストフレームの受信ポートよりも小さいMTUを持つポートが存在しないならば、マルチキャストフレームの受信ポートを除くすべてのポートに対して該マルチキャストフレームをフォワードするように、判定部44はL2ブリッジフレーム転送処理部3に対して指示する。   Next, the MTU value of the receiving port of the multicast frame is read from the MTU holding unit 6 and stored in the storage unit 41, and the MTU values of all other ports are similarly read from the MTU holding unit 6. It is stored in the storage unit 42. Here, the determination unit 44 determines whether there is a port having an MTU smaller than the port that has received the multicast frame (step S103). The comparator 43 compares the magnitudes of the MTU values stored in the storage units 41 and 42. If there is no port having an MTU smaller than the multicast frame reception port, the determination unit 44 transfers the L2 bridge frame so that the multicast frame is forwarded to all ports except the multicast frame reception port. An instruction is given to the processing unit 3.

これに対し、ステップS103においてマルチキャストフレームの受信ポートよりも小さいMTUを持つポートが存在すると判定されたならば、ICMPパケット送信部52は、マルチキャストフレームの送信元について、そのIPアドレスをIP送信元・宛先保持部7から取得し、該マルチキャストフレームのプロトコル種別を判別する(ステップS105)。   On the other hand, if it is determined in step S103 that there is a port having an MTU smaller than the multicast frame reception port, the ICMP packet transmission unit 52 sets the IP address of the multicast frame transmission source to the IP transmission source Obtained from the destination holding unit 7, the protocol type of the multicast frame is determined (step S105).

例えばマルチキャストフレームの送信元がIPv6を用いており、IPv6のマルチキャストフレームを送信しているならば、ICMPパケット送信部52は、この送信元に対してICMPv6パケットを送信する(ステップS106)。あるいは、この送信元がIPv4を用いている場合、この送信元に対してICMPv4パケットを送信する(ステップS107)。なお、プロトコル種別に応じたこれらICMPパケットには、送信側ポートのMTUの最小値を含めることが好ましい。   For example, if the transmission source of the multicast frame uses IPv6 and is transmitting an IPv6 multicast frame, the ICMP packet transmission unit 52 transmits an ICMPv6 packet to this transmission source (step S106). Alternatively, when this transmission source uses IPv4, an ICMPv4 packet is transmitted to this transmission source (step S107). Note that it is preferable that these ICMP packets corresponding to the protocol type include the minimum value of the MTU of the transmission side port.

ステップS106又はS107においてICMPパケットを送信した後は、当該マルチキャストフレームを破棄して今回の受信処理を終了する(ステップS108)。   After the ICMP packet is transmitted in step S106 or S107, the multicast frame is discarded and the current reception process is terminated (step S108).

ICMPパケットによる通知を受けた送信元では、ICMPパケットのレイヤー3の処理によって再送等の判定を行うことができる。再送時には、マルチキャストフレームを送信する際のMTUを通知された最小値に一致させることが可能になる。したがって、ブリッジ装置1によるマルチキャストフレームの転送処理時におけるMTUの不一致の問題に適切に対処できる。   The transmission source that has received the notification by the ICMP packet can determine retransmission or the like by layer 3 processing of the ICMP packet. At the time of retransmission, it is possible to match the MTU for transmitting a multicast frame with the notified minimum value. Therefore, it is possible to appropriately cope with the MTU mismatch problem at the time of the multicast frame transfer processing by the bridge device 1.

(第二の実施形態)
図5は、本発明の第二の実施形態に係わり、図1に示したブリッジ装置における機能拡張部分を示すブロック図である。同図に示すように、本実施形態に係るブリッジ装置1は、図1に示した構成要素に加え、マルチキャスト情報学習部8と、マルチキャスト情報保持部9と、MTU判定部40と、ICMP処理部50と、MTU保持部6と、IP送信元・宛先保持部7とを備える。
(Second embodiment)
FIG. 5 is a block diagram showing a function expansion portion in the bridge device shown in FIG. 1 according to the second embodiment of the present invention. As shown in the figure, the bridge device 1 according to the present embodiment includes a multicast information learning unit 8, a multicast information holding unit 9, an MTU determination unit 40, and an ICMP processing unit in addition to the components shown in FIG. 50, an MTU holding unit 6, and an IP transmission source / destination holding unit 7.

マルチキャスト情報学習部8は、IGMP/MLD snoop機能(参考URL<http://www.ietf.org/internet-drafts/draft-ietf-magma-snoop-10.txt>)に基づいたマルチキャスト情報の学習を行ってマルチキャスト情報保持部9に保持させる。マルチキャスト情報によれば、当該マルチキャストグループに参加している端末に向けて、マルチキャストフレームの転送を行うべきポートを特定することができる。   The multicast information learning unit 8 learns multicast information based on the IGMP / MLD snoop function (reference URL <http://www.ietf.org/internet-drafts/draft-ietf-magma-snoop-10.txt>). To be held in the multicast information holding unit 9. According to the multicast information, it is possible to specify a port to which a multicast frame should be transferred toward terminals participating in the multicast group.

尚、図5において、本実施形態のブリッジ装置1において第一の実施形態と実質的に同一の構成要素には第一の実施形態と同一の参照符号が付してあり、その詳細な説明は省略する。   In FIG. 5, in the bridge device 1 of the present embodiment, the same reference numerals as those in the first embodiment are assigned to components that are substantially the same as those in the first embodiment. Omitted.

MTU判定部40は、マルチキャストフレームを受信したポートのMTU(最大転送ユニット)の値をMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部41と、マルチキャスト情報学習部8による学習結果により特定されるマルチキャストフレームの送信対象ポートのMTUの値をそれぞれMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部45と、記憶部41と記憶部45の値の大小を比較する比較器(COMP)43と、比較器43による比較結果に応じて、当該マルチキャストフレームをどのように処理すればよいかを判定する判定部44とを備える。判定部44の具体的な処理内容は後述する。   The MTU determination unit 40 reads out and stores the MTU (maximum transfer unit) value of the port that has received the multicast frame from the MTU holding unit 6, for example, a storage unit 41 such as a register, and a learning result by the multicast information learning unit 8. The MTU value of the transmission target port of the specified multicast frame is read from the MTU holding unit 6 and stored, for example, a storage unit 45 such as a register, and a comparator that compares the values of the storage unit 41 and the storage unit 45 (COMP) 43 and a determination unit 44 that determines how to process the multicast frame according to the comparison result by the comparator 43. Specific processing contents of the determination unit 44 will be described later.

本実施形態のブリッジ装置1は、第一の実施形態と同様にマルチキャストフレームを受信して転送する際におけるMTU不一致の問題に対処するものであるが、マルチキャストフレームのマルチキャストアドレスと該マルチキャストフレームを送信すべきポートとを関連付けるマルチキャスト情報をマルチキャスト情報学習部8により学習し、該マルチキャスト情報に基づいて限定されたポートについてMTUの判定を行う点で第一の実施形態のもとは異なる。   The bridge device 1 according to the present embodiment addresses the problem of MTU mismatch when receiving and forwarding a multicast frame as in the first embodiment, but transmits the multicast address of the multicast frame and the multicast frame. The multicast information learning unit 8 learns multicast information that associates with a port to be used, and the MTU is determined for a limited port based on the multicast information.

本実施形態のブリッジ装置1では、マルチキャストフレームを受信した際に、その受信ポートが有するMTUの値を取得して記憶部41に記憶するとともにマルチキャスト情報学習部8による学習結果により特定されるマルチキャストフレームの送信対象ポートのMTUの値をそれぞれ取得して記憶部45に記憶し、これら記憶部41、45に記憶された値の両者を比較器43により比較する。判定部44は、送信側ポートのMTUの最小値が受信側ポートのMTUの値よりも小さいか否かを判定し、そうであるならば、該MTUの最小値を含んだICMPパケットを送信元端末に対して送信するようICMPパケット送信部52に対して指示する。   In the bridge device 1 of the present embodiment, when a multicast frame is received, the value of the MTU that the receiving port has is acquired and stored in the storage unit 41, and the multicast frame specified by the learning result by the multicast information learning unit 8 The MTU values of the transmission target ports are respectively acquired and stored in the storage unit 45, and both values stored in the storage units 41 and 45 are compared by the comparator 43. The determination unit 44 determines whether or not the minimum value of the MTU of the transmission side port is smaller than the value of the MTU of the reception side port. If so, the ICMP packet including the minimum value of the MTU is transmitted to the transmission source. The ICMP packet transmission unit 52 is instructed to transmit to the terminal.

図6は本発明の第二の実施形態に係るブリッジ装置がマルチキャストフレームを処理する手順を示すフローチャートである。   FIG. 6 is a flowchart showing a procedure for processing a multicast frame by the bridge device according to the second embodiment of the present invention.

まず、送信元端末から送信されたイーサネットマルチキャストフレームがブリッジ装置1において受信される(ステップS201)。このとき、MACアドレス学習部2により例えばIEEE802.1Dの仕様に基づいたMACアドレス学習が行われる。   First, the Ethernet multicast frame transmitted from the transmission source terminal is received by the bridge device 1 (step S201). At this time, the MAC address learning unit 2 performs MAC address learning based on, for example, IEEE 802.1D specifications.

次に、マルチキャスト情報学習部8はIGMP/MLD snoop機能によりマルチキャストフレームの送信対象(転送先)ポートを絞り込む(ステップS202)。   Next, the multicast information learning unit 8 narrows down the transmission target (forwarding destination) ports of the multicast frame by the IGMP / MLD snoop function (step S202).

次に、MTU値取得部51は、マルチキャストフレームを受信したポートのMTUの値および転送先ポートのMTUの値を取得する(ステップS203)。これらMTUの値はMTU保持部6に格納される。なお、MTUの値の取得は必ずしもマルチキャストフレームの受信の後に行う必要はなく、ステップS201とS203の実行順序を入れ替えてもよい。   Next, the MTU value acquisition unit 51 acquires the MTU value of the port that received the multicast frame and the MTU value of the transfer destination port (step S203). These MTU values are stored in the MTU holding unit 6. Note that the acquisition of the MTU value is not necessarily performed after the reception of the multicast frame, and the execution order of steps S201 and S203 may be switched.

次に、マルチキャストフレームの受信ポートのMTUの値がMTU保持部6から読み出されて記憶部41に格納され、転送先ポートのMTUの値が同様にMTU保持部6から読み出されて記憶部45に格納される。ここで判定部44は、マルチキャストフレームを受信したポートよりも小さいMTUを持つポートが存在するか否かを判定する(ステップS204)。記憶部41、45に記憶されたMTUの値の大小比較は比較器43により行われる。そして、マルチキャストフレームの受信ポートよりも小さいMTUを持つポートが存在しないならば、既に特定されている転送先ポートのすべてに対して該マルチキャストフレームをフォワードするように、判定部44はL2ブリッジフレーム転送処理部3に対して指示する。   Next, the MTU value of the receiving port of the multicast frame is read from the MTU holding unit 6 and stored in the storage unit 41, and the MTU value of the transfer destination port is similarly read from the MTU holding unit 6 and stored in the storage unit. 45. Here, the determination unit 44 determines whether there is a port having an MTU smaller than the port that has received the multicast frame (step S204). The comparator 43 compares the magnitudes of the MTU values stored in the storage units 41 and 45. Then, if there is no port having an MTU smaller than the receiving port of the multicast frame, the determination unit 44 transfers the L2 bridge frame so as to forward the multicast frame to all the specified transfer destination ports. An instruction is given to the processing unit 3.

これに対し、ステップS204においてマルチキャストフレームの受信ポートよりも小さいMTUを持つポートが存在すると判定されたならば、ICMPパケット送信部52は、マルチキャストフレームの送信元について、そのIPアドレスをIP送信元・宛先保持部7から取得し、該マルチキャストフレームのプロトコル種別を判別する(ステップS206)。   On the other hand, if it is determined in step S204 that there is a port having an MTU smaller than the multicast frame reception port, the ICMP packet transmission unit 52 sets the IP address of the multicast frame transmission source to the IP transmission source Obtained from the destination holding unit 7, the protocol type of the multicast frame is determined (step S206).

例えばマルチキャストフレームの送信元がIPv6を用いており、IPv6のマルチキャストフレームを送信しているならば、ICMPパケット送信部52は、この送信元に対してICMPv6パケットを送信する(ステップS207)。あるいは、この送信元がIPv4を用いている場合、この送信元に対してICMPv4パケットを送信する(ステップS208)。なお、プロトコル種別に応じたこれらICMPパケットには、転送先ポートのMTUの最小値を含めることが好ましい。   For example, if the transmission source of the multicast frame uses IPv6 and is transmitting an IPv6 multicast frame, the ICMP packet transmission unit 52 transmits an ICMPv6 packet to this transmission source (step S207). Alternatively, when this transmission source uses IPv4, an ICMPv4 packet is transmitted to this transmission source (step S208). Note that it is preferable that these ICMP packets according to the protocol type include the minimum value of the MTU of the transfer destination port.

ステップS207又はS208においてICMPパケットを送信した後は、当該マルチキャストフレームを破棄して今回の受信処理を終了する(ステップS209)。   After transmitting the ICMP packet in step S207 or S208, the multicast frame is discarded and the current reception process is terminated (step S209).

ICMPパケットによる通知を受けた送信元では、第一の実施形態と同様に、ICMPパケットのレイヤー3の処理によって再送等の判定を行うことができる。再送時には、マルチキャストフレームを送信する際のMTUを通知された最小値に一致させることが可能になる。したがって、ブリッジ装置1によるマルチキャストフレームの転送処理時におけるMTUの不一致の問題に適切に対処できる。   The transmission source that has received the notification by the ICMP packet can determine retransmission or the like by layer 3 processing of the ICMP packet, as in the first embodiment. At the time of retransmission, it is possible to match the MTU for transmitting a multicast frame with the notified minimum value. Therefore, it is possible to appropriately cope with the MTU mismatch problem at the time of the multicast frame transfer processing by the bridge device 1.

(第三の実施形態)
図7は、本発明の第三の実施形態に係わり、図1に示したブリッジ装置における機能拡張部分を示すブロック図である。同図に示すように、本実施形態に係るブリッジ装置1は、図1に示した構成要素に加え、MTU判定部40と、MTU値取得部51と、MTU保持部6と、フラグメント処理部100とを備える。
(Third embodiment)
FIG. 7 is a block diagram showing a function expansion portion in the bridge device shown in FIG. 1 according to the third embodiment of the present invention. As shown in the figure, the bridge device 1 according to the present embodiment includes an MTU determination unit 40, an MTU value acquisition unit 51, an MTU holding unit 6, and a fragment processing unit 100 in addition to the components shown in FIG. With.

フラグメント処理部100は、フレームをIPプロトコルのバージョン及びPW fragmentation(参考URL<http://www.ietf.org/internet-drafts/draft-ietf-pwe3-fragmentation-05.txt>)の手順に従った適切なフラグメント処理を行うための、IPフラグメント処理部101及びPWフラグメント処理部102を備える。   The fragment processing unit 100 follows the procedure of the IP protocol version and PW fragmentation (reference URL <http://www.ietf.org/internet-drafts/draft-ietf-pwe3-fragmentation-05.txt>). In addition, an IP fragment processing unit 101 and a PW fragment processing unit 102 are provided for performing appropriate fragment processing.

尚、図7において、本実施形態のブリッジ装置1において第一の実施形態と実質的に同一の構成要素には第一の実施形態と同一の参照符号が付してあり、その詳細な説明は省略する。   In FIG. 7, in the bridge device 1 of the present embodiment, substantially the same components as those of the first embodiment are denoted by the same reference numerals as those of the first embodiment, and detailed description thereof will be given. Omitted.

MTU判定部40は、マルチキャストフレームを受信したポートのMTU(最大転送ユニット)の値をMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部41と、この受信ポート以外のすべてのポートのMTUの値をそれぞれMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部42と、記憶部41と記憶部42の値の大小を比較する比較器(COMP)43と、比較器43による比較結果に応じて、当該マルチキャストフレームをどのように処理すればよいかを判定する判定部44とを備える。判定部44の具体的な処理内容は後述する。   The MTU determination unit 40 reads the MTU (maximum transfer unit) value of the port that has received the multicast frame from the MTU holding unit 6 and stores it, for example, a storage unit 41 such as a register, and all ports other than this reception port. Each of the MTU values is read from the MTU holding unit 6 and stored. For example, a storage unit 42 such as a register, a comparator (COMP) 43 that compares the values of the storage unit 41 and the storage unit 42, and a comparator 43 And a determination unit 44 that determines how to process the multicast frame according to the comparison result. Specific processing contents of the determination unit 44 will be described later.

本実施形態のブリッジ装置1は、第一の実施形態と同様にマルチキャストフレームを受信して転送する際におけるMTU不一致の問題に対処するものであるが、複数の送信側ポートにおいて、受信側ポートと同一又はそれ以上のMTUの値を有する送信側ポートに対してはマルチキャストフレームをそのまま送信し、受信側ポートよりもMTUの値が小さい送信側ポートに対してはマルチキャストフレームにフラグメント処理を施して送信する点で第一の実施形態のもとは異なる。   The bridge device 1 of the present embodiment addresses the problem of MTU mismatch when receiving and forwarding multicast frames as in the first embodiment. A multicast frame is transmitted as it is to a transmission side port having the same or higher MTU value, and the multicast frame is fragmented and transmitted to a transmission side port whose MTU value is smaller than that of the reception side port. This is different from the first embodiment.

本実施形態のブリッジ装置1では、マルチキャストフレームを受信した際に、その受信ポートが有するMTUの値を取得して記憶部41に記憶するとともにすべての送信側ポートが有するMTUの値をそれぞれ取得して記憶部42に記憶し、これら記憶部41、42に記憶された値の両者を比較器43により比較する。判定部44は、複数の送信側ポートにおいて、受信側ポートと同一又はそれ以上のMTUの値を有する送信側ポートに対してはマルチキャストフレームをそのまま送信し、受信側ポートよりもMTUの値が小さい送信側ポートに対してはマルチキャストフレームにフラグメント処理を施して送信するようL2ブリッジフレーム転送処理部3又はフラグメント処理部100に対して指示する。   In the bridge device 1 of the present embodiment, when a multicast frame is received, the MTU value of the reception port is acquired and stored in the storage unit 41, and the MTU values of all transmission ports are acquired. The values are stored in the storage unit 42, and the values stored in the storage units 41 and 42 are compared by the comparator 43. The determination unit 44 transmits the multicast frame as it is to the transmission side port having the same or higher MTU value as the reception side port among the plurality of transmission side ports, and the MTU value is smaller than that of the reception side port. The transmission side port is instructed to the L2 bridge frame transfer processing unit 3 or the fragment processing unit 100 to perform the fragment processing on the multicast frame for transmission.

図8は本発明の第三の実施形態に係るブリッジ装置がマルチキャストフレームを処理する手順を示すフローチャートである。   FIG. 8 is a flowchart showing a procedure for processing a multicast frame by the bridge device according to the third embodiment of the present invention.

まず、送信元端末から送信されたイーサネットマルチキャストフレームがブリッジ装置1において受信される(ステップS301)。このとき、MACアドレス学習部2により例えばIEEE802.1Dの仕様に基づいたMACアドレス学習が行われる。   First, the Ethernet multicast frame transmitted from the transmission source terminal is received by the bridge device 1 (step S301). At this time, the MAC address learning unit 2 performs MAC address learning based on, for example, IEEE 802.1D specifications.

次に、MTU値取得部51は、マルチキャストフレームを受信したポートを含むすべてのポートのMTUの値を取得する(ステップS302)。これらMTUの値はMTU保持部6に格納される。なお、MTUの値の取得は必ずしもマルチキャストフレームの受信の後に行う必要はなく、ステップS301とS302の実行順序を入れ替えてもよい。   Next, the MTU value acquisition unit 51 acquires the MTU values of all ports including the port that has received the multicast frame (step S302). These MTU values are stored in the MTU holding unit 6. Note that acquisition of the MTU value is not necessarily performed after reception of the multicast frame, and the execution order of steps S301 and S302 may be switched.

次に、マルチキャストフレームの受信ポートのMTUの値がMTU保持部6から読み出されて記憶部41に格納され、該受信ポートを除く他のすべてのポートのMTUの値が同様にMTU保持部6から読み出されて記憶部42に格納される。ここで判定部44は、マルチキャストフレームを受信したポートよりも小さいMTUを持つポートが存在するか否かを判定する(ステップS303)。記憶部41、42に記憶されたMTUの値の大小比較は比較器43により行われる。そして、マルチキャストフレームの受信ポートよりも小さいMTUを持つポートが存在しないならば、受信ポートを除く他のポートのすべてに対して該マルチキャストフレームをフォワードするように、判定部44はL2ブリッジフレーム転送処理部3に対して指示する(ステップS304)。   Next, the MTU value of the receiving port of the multicast frame is read from the MTU holding unit 6 and stored in the storage unit 41, and the MTU values of all other ports except the receiving port are similarly set in the MTU holding unit 6. Is stored in the storage unit 42. Here, the determination unit 44 determines whether there is a port having an MTU smaller than the port that has received the multicast frame (step S303). The comparator 43 compares the magnitudes of the MTU values stored in the storage units 41 and 42. Then, if there is no port having an MTU smaller than the reception port of the multicast frame, the determination unit 44 performs the L2 bridge frame transfer process so as to forward the multicast frame to all other ports except the reception port. The unit 3 is instructed (step S304).

これに対し、ステップS303においてマルチキャストフレームの受信ポートよりも小さいMTUを持つポートが存在すると判定されたならば、マルチキャストフレームの受信ポートを除く全てのポートのそれぞれについて、MTUの値の比較判定を行うことにより、そのポートについてマルチキャストフレームをフラグメント処理するか、これをそのままフォワードするかを判定する(ステップS305)。すなわち、当該ポートのMTUの値が受信ポートのMTUの値以上であるならば、そのポートに対してマルチキャストフレームをそのままフォワードする(ステップS306)。一方、当該ポートのMTUの値が受信ポートのMTUの値以上でない場合(ステップS305=NO)、まずフラグメント処理部100は、マルチキャストフレームのプロトコル種別を判別する(ステップS307)。例えばマルチキャストフレームの送信元がIPv6を用いており、IPv6のマルチキャストフレームを送信しているならば、フラグメント処理部100は、マルチキャストフレームにIPv6のフラグメント処理を施して当該ポートに送出する(ステップS308)。一方、送信元がIPv4を用いている場合、フラグメント処理部100は、マルチキャストフレームにIPv4のフラグメント処理を施して当該ポートに送出する(ステップS309)。なお、マルチキャストフレームの種別が上記IPv6でもIPv4でもない場合には、マルチキャストフレームを破棄して処理を終了する(ステップS310)。   On the other hand, if it is determined in step S303 that there is a port having an MTU smaller than the multicast frame reception port, the MTU value is compared and determined for each of all ports except the multicast frame reception port. Thus, it is determined whether the multicast frame is to be fragmented for the port or forwarded as it is (step S305). That is, if the MTU value of the port is greater than or equal to the MTU value of the receiving port, the multicast frame is forwarded to the port as it is (step S306). On the other hand, if the MTU value of the port is not equal to or greater than the MTU value of the receiving port (step S305 = NO), the fragment processing unit 100 first determines the protocol type of the multicast frame (step S307). For example, if the source of the multicast frame uses IPv6 and is transmitting an IPv6 multicast frame, the fragment processing unit 100 performs IPv6 fragment processing on the multicast frame and sends it to the port (step S308). . On the other hand, when the transmission source uses IPv4, the fragment processing unit 100 performs IPv4 fragment processing on the multicast frame and sends it to the port (step S309). If the type of the multicast frame is neither IPv6 nor IPv4, the multicast frame is discarded and the process is terminated (step S310).

本実施形態のように、MTUの値の大小比較に基づき特定のポートに対してマルチキャストフレームをフラグメント処理することにより、MTUの値の不一致に起因するフレーム破棄を防止できる。   As in this embodiment, by performing fragment processing on a multicast frame for a specific port based on the magnitude comparison of MTU values, it is possible to prevent frame discard due to MTU value mismatch.

(第四の実施形態)
図9は、本発明の第四の実施形態に係わり、図1に示したブリッジ装置における機能拡張部分を示すブロック図である。同図に示すように、本実施形態に係るブリッジ装置1は、図1に示した構成要素に加え、マルチキャスト情報学習部8と、マルチキャスト情報保持部9と、MTU判定部40と、MTU値取得部51と、MTU保持部6と、フラグメント処理部100とを備える。
(Fourth embodiment)
FIG. 9 is a block diagram showing a function expansion portion in the bridge device shown in FIG. 1 according to the fourth embodiment of the present invention. As shown in the figure, in addition to the components shown in FIG. 1, the bridge device 1 according to the present embodiment includes a multicast information learning unit 8, a multicast information holding unit 9, an MTU determination unit 40, and an MTU value acquisition. Unit 51, MTU holding unit 6, and fragment processing unit 100.

マルチキャスト情報学習部8は、IGMP/MLD snoop機能(参考URL<http://www.ietf.org/internet-drafts/draft-ietf-magma-snoop-10.txt>)に基づいたマルチキャスト情報の学習を行ってマルチキャスト情報保持部9に保持させる。マルチキャスト情報によれば、当該マルチキャストグループに参加している端末に向けて、マルチキャストフレームの転送を行うべきポートを特定することができる。   The multicast information learning unit 8 learns multicast information based on the IGMP / MLD snoop function (reference URL <http://www.ietf.org/internet-drafts/draft-ietf-magma-snoop-10.txt>). To be held in the multicast information holding unit 9. According to the multicast information, it is possible to specify a port to which a multicast frame should be transferred toward terminals participating in the multicast group.

フラグメント処理部100は、フレームをPW fragmentation(参考URL<http://www.ietf.org/internet-drafts/draft-ietf-pwe3-fragmentation-05.txt>)の手順に従った適切なフラグメント処理を行うための、IPフラグメント処理部101及びPWフラグメント処理部102を備える。   The fragment processing unit 100 performs an appropriate fragment processing according to the procedure of PW fragmentation (reference URL <http://www.ietf.org/internet-drafts/draft-ietf-pwe3-fragmentation-05.txt>). IP fragment processing unit 101 and PW fragment processing unit 102 are provided.

尚、図9において、本実施形態のブリッジ装置1において第一の実施形態と実質的に同一の構成要素には第一の実施形態と同一の参照符号が付してあり、その詳細な説明は省略する。   In FIG. 9, in the bridge device 1 of the present embodiment, substantially the same components as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and detailed description thereof will be given. Omitted.

MTU判定部40はマルチキャストフレームを受信したポートのMTU(最大転送ユニット)の値をMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部41と、マルチキャスト情報学習部8による学習結果により特定されるマルチキャストフレームの送信対象ポートのMTUの値をそれぞれMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部45と、記憶部41と記憶部45の値の大小を比較する比較器(COMP)43と、比較器43による比較結果に応じて、当該マルチキャストフレームをどのように処理すればよいかを判定する判定部44とを備える。判定部44の具体的な処理内容は後述する。   The MTU determination unit 40 reads the MTU (maximum transfer unit) value of the port that received the multicast frame from the MTU holding unit 6 and stores it, for example, by the storage unit 41 such as a register and the learning result by the multicast information learning unit 8 The MTU value of the transmission target port of the multicast frame to be transmitted is read from the MTU holding unit 6 and stored, for example, a storage unit 45 such as a register, and a comparator that compares the values of the storage unit 41 and the storage unit 45 ( COMP) 43 and a determination unit 44 that determines how to process the multicast frame according to the comparison result by the comparator 43. Specific processing contents of the determination unit 44 will be described later.

本実施形態のブリッジ装置1は、第三の実施形態と同様に特定のポートに対してはフラグメント処理を施してマルチキャストフレームを転送処理するものであるが、マルチキャストフレームのマルチキャストアドレスと該マルチキャストフレームを送信すべきポートとを関連付けるマルチキャスト情報をマルチキャスト情報学習部8により学習し、該マルチキャスト情報に基づいて限定されたポートについてMTUの判定を行う点で点で第三の実施形態のもとは異なる。   As in the third embodiment, the bridge device 1 according to the present embodiment performs a fragment process on a specific port to transfer a multicast frame. The multicast address of the multicast frame and the multicast frame are The multicast information learning unit 8 learns multicast information that associates with a port to be transmitted, and the MTU is determined for a limited port based on the multicast information. This is different from the third embodiment.

本実施形態のブリッジ装置1では、マルチキャストフレームを受信した際に、その受信ポートが有するMTUの値を取得して記憶部41に記憶するとともにマルチキャスト情報学習部8による学習結果により特定されるマルチキャストフレームの送信対象ポートのMTUの値をそれぞれ取得して記憶部45に記憶し、これら記憶部41、45に記憶された値の両者を比較器43により比較する。判定部44は、複数の送信側ポートにおいて、受信側ポートと同一又はそれ以上のMTUの値を有する送信側ポートに対してはマルチキャストフレームをそのまま送信し、受信側ポートよりもMTUの値が小さい送信側ポートに対してはマルチキャストフレームにフラグメント処理を施して送信するようL2ブリッジフレーム転送処理部3又はフラグメント処理部100に対して指示する。   In the bridge device 1 of the present embodiment, when a multicast frame is received, the value of the MTU that the receiving port has is acquired and stored in the storage unit 41, and the multicast frame specified by the learning result by the multicast information learning unit 8 The MTU values of the transmission target ports are respectively acquired and stored in the storage unit 45, and both values stored in the storage units 41 and 45 are compared by the comparator 43. The determination unit 44 transmits the multicast frame as it is to the transmission side port having the same or higher MTU value as the reception side port among the plurality of transmission side ports, and the MTU value is smaller than that of the reception side port. The transmission side port is instructed to the L2 bridge frame transfer processing unit 3 or the fragment processing unit 100 to perform the fragment processing on the multicast frame for transmission.

図9は本発明の第四の実施形態に係るブリッジ装置がマルチキャストフレームを処理する手順を示すフローチャートである。   FIG. 9 is a flowchart showing a procedure for processing a multicast frame by the bridge device according to the fourth embodiment of the present invention.

まず、送信元端末から送信されたイーサネットマルチキャストフレームがブリッジ装置1において受信される(ステップS401)。このとき、MACアドレス学習部2により例えばIEEE802.1Dの仕様に基づいたMACアドレス学習が行われる。   First, the Ethernet multicast frame transmitted from the transmission source terminal is received by the bridge device 1 (step S401). At this time, the MAC address learning unit 2 performs MAC address learning based on, for example, IEEE 802.1D specifications.

次に、マルチキャスト情報学習部8はIGMP/MLD snoop機能によりマルチキャストフレームの送信対象(転送先)ポートを絞り込む(ステップS402)。   Next, the multicast information learning unit 8 narrows down the transmission target (forwarding destination) port of the multicast frame by the IGMP / MLD snoop function (step S402).

次に、MTU値取得部51は、マルチキャストフレームを受信したポートを含むすべてのポートのMTUの値を取得する(ステップS403)。これらMTUの値はMTU保持部6に格納される。なお、MTUの値の取得は必ずしもマルチキャストフレームの受信の後に行う必要はなく、ステップS301とS302の実行順序を入れ替えてもよい。   Next, the MTU value acquisition unit 51 acquires MTU values of all ports including the port that has received the multicast frame (step S403). These MTU values are stored in the MTU holding unit 6. Note that acquisition of the MTU value is not necessarily performed after reception of the multicast frame, and the execution order of steps S301 and S302 may be switched.

次に、マルチキャストフレームの受信ポートのMTUの値がMTU保持部6から読み出されて記憶部41に格納され、転送先ポートのMTUの値が同様にMTU保持部6から読み出されて記憶部45に格納される。ここで判定部44は、マルチキャストフレームを受信したポートよりも小さいMTUを持つポートが存在するか否かを判定する(ステップS404)。記憶部41、45に記憶されたMTUの値の大小比較は比較器43により行われる。そして、マルチキャストフレームの受信ポートよりも小さいMTUを持つポートが存在しないならば、受信ポートを除く他のポートのすべてに対して該マルチキャストフレームをフォワードするように、判定部44はL2ブリッジフレーム転送処理部3に対して指示する(ステップS405)。   Next, the MTU value of the receiving port of the multicast frame is read from the MTU holding unit 6 and stored in the storage unit 41, and the MTU value of the transfer destination port is similarly read from the MTU holding unit 6 and stored in the storage unit. 45. Here, the determination unit 44 determines whether there is a port having an MTU smaller than the port that has received the multicast frame (step S404). The comparator 43 compares the magnitudes of the MTU values stored in the storage units 41 and 45. Then, if there is no port having an MTU smaller than the reception port of the multicast frame, the determination unit 44 performs the L2 bridge frame transfer process so as to forward the multicast frame to all other ports except the reception port. The unit 3 is instructed (step S405).

これに対し、ステップS404においてマルチキャストフレームの受信ポートよりも小さいMTUを持つポートが存在すると判定されたならば、転送先ポートのそれぞれについて、MTUの値の比較判定を行うことにより、そのポートについてマルチキャストフレームをフラグメント処理するか、これをそのままフォワードするかを判定する(ステップS406)。すなわち、当該ポートのMTUの値が受信ポートのMTUの値以上であるならば、そのポートに対してマルチキャストフレームをそのままフォワードする(ステップS407)。一方、当該ポートのMTUの値が受信ポートのMTUの値以上でない場合(ステップS406=NO)、まずフラグメント処理部100は、マルチキャストフレームのプロトコル種別を判別する(ステップS408)。例えばマルチキャストフレームの送信元がIPv6を用いており、IPv6のマルチキャストフレームを送信しているならば、フラグメント処理部100は、マルチキャストフレームにIPv6のフラグメント処理を施して当該ポートに送出する(ステップS409)。一方、送信元がIPv4を用いている場合、フラグメント処理部100は、マルチキャストフレームにIPv4のフラグメント処理を施して当該ポートに送出する(ステップS410)。なお、マルチキャストフレームの種別が上記IPv6でもIPv4でもない場合には、マルチキャストフレームを破棄して処理を終了する(ステップS411)。   On the other hand, if it is determined in step S404 that there is a port having an MTU smaller than the receiving port of the multicast frame, the MTU value is compared and determined for each of the transfer destination ports, so that the multicast for that port is determined. It is determined whether the frame is to be fragmented or forwarded as it is (step S406). That is, if the MTU value of the port is greater than or equal to the MTU value of the receiving port, the multicast frame is forwarded to the port as it is (step S407). On the other hand, if the MTU value of the port is not equal to or greater than the MTU value of the receiving port (step S406 = NO), the fragment processing unit 100 first determines the protocol type of the multicast frame (step S408). For example, if the transmission source of the multicast frame uses IPv6 and is transmitting an IPv6 multicast frame, the fragment processing unit 100 performs IPv6 fragment processing on the multicast frame and sends it to the port (step S409). . On the other hand, when the transmission source uses IPv4, the fragment processing unit 100 performs IPv4 fragment processing on the multicast frame and sends it to the port (step S410). If the type of the multicast frame is not IPv6 or IPv4, the multicast frame is discarded and the process is terminated (step S411).

本実施形態によれば、IGMP/MLD snoop機能により絞り込まれたポート(転送先ポート)における特定のポートに対してマルチキャストフレームをフラグメント処理することにより、MTUの値の不一致に起因するフレーム破棄を防止できる。   According to the present embodiment, by discarding a multicast frame for a specific port in a port (forwarding destination port) narrowed down by the IGMP / MLD snoop function, frame discard due to mismatch of MTU values is prevented. it can.

(第五の実施形態)
図11は、本発明の第五の実施形態に係わり、図1に示したブリッジ装置における機能拡張部分を示すブロック図である。同図に示すように、本実施形態に係るブリッジ装置1は、ユニキャストフレームのフラッディング処理を行うものであり、L2ブリッジフレーム転送処理部3がアドレス解決処理部31を備える。
(Fifth embodiment)
FIG. 11 is a block diagram showing a function expansion portion in the bridge device shown in FIG. 1 according to the fifth embodiment of the present invention. As shown in the figure, the bridge device 1 according to the present embodiment performs a unicast frame flooding process, and the L2 bridge frame transfer processing unit 3 includes an address resolution processing unit 31.

MTU判定部40は、ユニキャストフレームを受信したポートのMTU(最大転送ユニット)の値をMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部46と、この受信ポート以外のすべてのポート、すなわちフラッディング対象のポートのMTUの値をそれぞれMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部47と、記憶部46と記憶部47の値の大小を比較する比較器(COMP)43と、比較器43による比較結果に応じて、当該ユニキャストフレームをどのように処理すればよいかを判定する判定部44とを備える。判定部44の具体的な処理内容は後述する。   The MTU determination unit 40 reads the MTU (maximum transfer unit) value of the port that received the unicast frame from the MTU holding unit 6 and stores it, for example, a storage unit 46 such as a register, and all ports other than this reception port That is, the MTU value of the flooding port is read from the MTU holding unit 6 and stored, for example, a storage unit 47 such as a register, and a comparator (COMP) that compares the values of the storage unit 46 and the storage unit 47 43 and a determination unit 44 that determines how to process the unicast frame according to the comparison result by the comparator 43. Specific processing contents of the determination unit 44 will be described later.

尚、図11において、本実施形態のブリッジ装置1において第一の実施形態と実質的に同一の構成要素には第一の実施形態と同一の参照符号が付してあり、その詳細な説明は省略する。   In FIG. 11, in the bridge device 1 of the present embodiment, substantially the same components as those of the first embodiment are denoted by the same reference numerals as those of the first embodiment, and detailed description thereof will be given. Omitted.

本実施形態のブリッジ装置1は、ユニキャストフレームを受信してフラッディング処理する際におけるMTU不一致の問題に対処するものである。   The bridge device 1 of the present embodiment addresses the problem of MTU mismatch when receiving a unicast frame and performing a flooding process.

本実施形態のブリッジ装置1では、ユニキャストフレームを受信した際に、その受信ポートが有するMTUの値を取得して記憶部46に記憶するとともにフラッディング対象であるすべての送信側ポートが有するMTUの値をそれぞれ取得して記憶部47に記憶し、これら記憶部46、47に記憶された値の両者を比較器43により比較する。判定部44は、送信側ポートのMTUのいずれかの値が受信側ポートのMTUの値よりも小さいか否かを判定し、そうであるならばICMPパケットを送信元端末に対して送信するようICMPパケット送信部52に対して指示する。   In the bridge device 1 of the present embodiment, when a unicast frame is received, the MTU value of the reception port is acquired and stored in the storage unit 46, and the MTUs of all transmission ports that are flooding targets are included. Each value is acquired and stored in the storage unit 47, and both of the values stored in the storage units 46 and 47 are compared by the comparator 43. The determination unit 44 determines whether any value of the MTU of the transmission side port is smaller than the value of the MTU of the reception side port, and if so, transmits the ICMP packet to the transmission source terminal. Instructs the ICMP packet transmission unit 52.

図12は本発明の第五の実施形態に係るブリッジ装置がユニキャストフレームをフラッディング処理する手順を示すフローチャートである。   FIG. 12 is a flowchart showing a procedure in which the bridge device according to the fifth embodiment of the present invention floods a unicast frame.

まず、送信元端末から送信されたイーサネットユニキャストフレームがブリッジ装置1において受信される(ステップS501)。このとき、MACアドレス学習部2により例えばIEEE802.1Dの仕様に基づいたMACアドレス学習が行われる。   First, the Ethernet unicast frame transmitted from the transmission source terminal is received by the bridge device 1 (step S501). At this time, the MAC address learning unit 2 performs MAC address learning based on, for example, IEEE 802.1D specifications.

次に、L2ブリッジフレーム転送処理部3は、受信したユニキャストフレームを転送すべきポートについて、フォワーディングデータベース32にエントリがあるか否かを調べる。エントリがある場合は、フラッディング処理は不要であり、このエントリにより特定されるポートに対してユニキャストフレームを転送処理して終了する(ステップS503)。   Next, the L2 bridge frame transfer processing unit 3 checks whether there is an entry in the forwarding database 32 for the port to which the received unicast frame is to be transferred. If there is an entry, the flooding process is unnecessary, and the unicast frame is transferred to the port specified by this entry, and the process ends (step S503).

フォワーディングデータベース32にエントリがない場合、MTU値取得部51は、ユニキャストフレームを受信したポートのMTUの値およびこの受信ポート以外のすべてのポートのMTUの値を取得する(ステップS504)。これらMTUの値はMTU保持部6に格納される。なお、MTUの値の取得は必ずしもユニキャストフレームの受信の後に行う必要はなく、ステップS501とS504の実行順序を入れ替えてもよい。   If there is no entry in the forwarding database 32, the MTU value acquisition unit 51 acquires the MTU value of the port that has received the unicast frame and the MTU values of all ports other than the reception port (step S504). These MTU values are stored in the MTU holding unit 6. Note that acquisition of the MTU value is not necessarily performed after reception of the unicast frame, and the execution order of steps S501 and S504 may be switched.

次に、ユニキャストフレームの受信ポートのMTUの値がMTU保持部6から読み出されて記憶部46に格納され、他の全てのポートのMTUの値が同様にMTU保持部6から読み出されて記憶部47に格納される。ここで判定部44は、ユニキャストフレームを受信したポートよりも小さいMTUを持つフラッディング対象のポートが存在するか否かを判定する(ステップS505)。記憶部46、47に記憶されたMTUの値の大小比較は比較器43により行われる。そして、ユニキャストフレームの受信ポートよりも小さいMTUを持つポートが存在しないならば、このユニキャストフレームをフラッディング処理して処理を終える(ステップS506)。   Next, the MTU value of the receiving port of the unicast frame is read from the MTU holding unit 6 and stored in the storage unit 46, and the MTU values of all other ports are similarly read from the MTU holding unit 6. And stored in the storage unit 47. Here, the determination unit 44 determines whether there is a flooding target port having an MTU smaller than that of the port that has received the unicast frame (step S505). The comparator 43 compares the magnitudes of the MTU values stored in the storage units 46 and 47. If there is no port having an MTU smaller than the receiving port of the unicast frame, the unicast frame is flooded and the process ends (step S506).

ユニキャストフレームの受信ポートよりも小さいMTUを持つポートが存在するならば、フラッディング処理は禁止される(ステップS505=YES)。ICMPパケット送信部52は、ユニキャストフレームの送信元について、そのIPアドレスをIP送信元・宛先保持部7から取得し、該ユニキャストフレームのプロトコル種別を判別する(ステップS507)。   If there is a port having an MTU smaller than the receiving port of the unicast frame, the flooding process is prohibited (step S505 = YES). The ICMP packet transmission unit 52 acquires the IP address of the transmission source of the unicast frame from the IP transmission source / destination holding unit 7, and determines the protocol type of the unicast frame (step S507).

例えばユニキャストフレームの送信元がIPv6を用いており、IPv6のユニキャストフレームを送信しているならば、ICMPパケット送信部52は、この送信元に対してICMPv6パケットを送信する(ステップS508)。あるいは、この送信元がIPv4を用いている場合、この送信元に対してICMPv4パケットを送信する(ステップS509)。なお、プロトコル種別に応じたこれらICMPパケットには、送信側ポートのMTUの最小値を含めることが好ましい。   For example, if the transmission source of the unicast frame uses IPv6 and is transmitting an IPv6 unicast frame, the ICMP packet transmission unit 52 transmits an ICMPv6 packet to this transmission source (step S508). Alternatively, when this transmission source uses IPv4, an ICMPv4 packet is transmitted to this transmission source (step S509). Note that it is preferable that these ICMP packets corresponding to the protocol type include the minimum value of the MTU of the transmission side port.

ステップS508又はS509においてICMPパケットを送信した後は、当該ユニキャストフレームを破棄して今回の受信処理を終了する(ステップS510)。   After the ICMP packet is transmitted in step S508 or S509, the unicast frame is discarded and the current reception process is terminated (step S510).

ICMPパケットによる通知を受けた送信元では、ICMPパケットのレイヤー3の処理によって再送等の判定を行うことができる。再送時には、ユニキャストフレームを送信する際のMTUを通知された最小値に一致させることが可能になる。したがって、ブリッジ装置1によるユニキャストフレームの転送処理時におけるMTUの不一致の問題に適切に対処できる。   The transmission source that has received the notification by the ICMP packet can determine retransmission or the like by layer 3 processing of the ICMP packet. At the time of retransmission, it is possible to match the MTU for transmitting a unicast frame with the notified minimum value. Therefore, it is possible to appropriately cope with the problem of MTU mismatch when the unicast frame is transferred by the bridge device 1.

(第六の実施形態)
図13は、本発明の第六の実施形態に係わり、図1に示したブリッジ装置における機能拡張部分を示すブロック図である。同図に示すように、本実施形態に係るブリッジ装置1は、ユニキャストフレームのフラッディング処理を行うものであり、L2ブリッジフレーム転送処理部3がアドレス解決処理部31を備える。
(Sixth embodiment)
FIG. 13 is a block diagram showing a function expansion portion in the bridge device shown in FIG. 1 according to the sixth embodiment of the present invention. As shown in the figure, the bridge device 1 according to the present embodiment performs a unicast frame flooding process, and the L2 bridge frame transfer processing unit 3 includes an address resolution processing unit 31.

MTU判定部40は、ユニキャストフレームを受信したポートのMTU(最大転送ユニット)の値をMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部46と、この受信ポート以外のすべてのポート、すなわちフラッディング対象のポートのMTUの値をそれぞれMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部47と、記憶部46と記憶部47の値の大小を比較する比較器(COMP)43と、比較器43による比較結果に応じて、アドレス解決処理を制御するアドレス解決処理制御部48とを備える。アドレス解決処理制御部48の具体的な処理内容は後述する。   The MTU determination unit 40 reads the MTU (maximum transfer unit) value of the port that received the unicast frame from the MTU holding unit 6 and stores it, for example, a storage unit 46 such as a register, and all ports other than this reception port That is, the MTU value of the flooding port is read from the MTU holding unit 6 and stored, for example, a storage unit 47 such as a register, and a comparator (COMP) that compares the values of the storage unit 46 and the storage unit 47 43 and an address resolution processing control unit 48 for controlling the address resolution processing according to the comparison result by the comparator 43. Specific processing contents of the address resolution processing control unit 48 will be described later.

尚、図13において、本実施形態のブリッジ装置1において第一の実施形態と実質的に同一の構成要素には第一の実施形態と同一の参照符号が付してあり、その詳細な説明は省略する。   In FIG. 13, in the bridge device 1 of this embodiment, substantially the same components as those of the first embodiment are denoted by the same reference numerals as those of the first embodiment, and detailed description thereof will be given. Omitted.

本実施形態のブリッジ装置1は、第五の実施形態と同様にユニキャストフレームを受信してフラッディング処理する際におけるMTU不一致の問題に対処するものである。   The bridge device 1 according to the present embodiment addresses the problem of MTU mismatch when receiving a unicast frame and performing a flooding process, as in the fifth embodiment.

本実施形態のブリッジ装置1では、ユニキャストフレームを受信した際に、その受信ポートが有するMTUの値を取得して記憶部46に記憶するとともにフラッディング対象であるすべての送信側ポートが有するMTUの値をそれぞれ取得して記憶部47に記憶し、これら記憶部46、47に記憶された値の両者を比較器43により比較する。アドレス解決処理制御部48は、フラッディング対象である送信ポートのMTUの値のいずれかの値が受信ポートのMTUの値よりも小さいならば、フラッディング処理を禁止するとともに送信元端末を送信元とするアドレス解決手順を実行するようL2ブリッジフレーム転送処理部3のアドレス解決処理部31を制御する。そして、アドレス解決処理部31のアドレス解決手順により解決された転送先に対してユニキャストフレームを送信するようにする。   In the bridge device 1 of the present embodiment, when a unicast frame is received, the MTU value of the reception port is acquired and stored in the storage unit 46, and the MTUs of all transmission ports that are flooding targets are included. Each value is acquired and stored in the storage unit 47, and both of the values stored in the storage units 46 and 47 are compared by the comparator 43. The address resolution processing control unit 48 prohibits the flooding process and sets the transmission source terminal as the transmission source if any of the MTU values of the transmission port to be flooded is smaller than the MTU value of the reception port. The address resolution processing unit 31 of the L2 bridge frame transfer processing unit 3 is controlled to execute the address resolution procedure. Then, the unicast frame is transmitted to the transfer destination resolved by the address resolution procedure of the address resolution processing unit 31.

図14は本発明の第六の実施形態に係るブリッジ装置がユニキャストフレームをフラッディング処理する手順を示すフローチャートである。   FIG. 14 is a flowchart showing a procedure for flooding a unicast frame by the bridge device according to the sixth embodiment of the present invention.

まず、送信元端末から送信されたイーサネットユニキャストフレームがブリッジ装置1において受信される(ステップS601)。このとき、MACアドレス学習部2により例えばIEEE802.1Dの仕様に基づいたMACアドレス学習が行われる。   First, the Ethernet unicast frame transmitted from the transmission source terminal is received by the bridge device 1 (step S601). At this time, the MAC address learning unit 2 performs MAC address learning based on, for example, IEEE 802.1D specifications.

次に、L2ブリッジフレーム転送処理部3は、受信したユニキャストフレームを転送すべきポートについて、フォワーディングデータベース32にエントリがあるか否かを調べる(S602)。エントリがある場合は、フラッディング処理は不要であり、このエントリにより特定されるポートに対してユニキャストフレームを転送処理して終了する(ステップS603)。   Next, the L2 bridge frame transfer processing unit 3 checks whether there is an entry in the forwarding database 32 for the port to which the received unicast frame is to be transferred (S602). If there is an entry, the flooding process is unnecessary, and the unicast frame is transferred to the port specified by this entry, and the process ends (step S603).

フォワーディングデータベース32にエントリがない場合、MTU値取得部51は、ユニキャストフレームを受信したポートのMTUの値およびこの受信ポート以外のすべてのポートのMTUの値を取得する(ステップS604)。これらMTUの値はMTU保持部6に格納される。なお、MTUの値の取得は必ずしもユニキャストフレームの受信の後に行う必要はなく、ステップS601とS604の実行順序を入れ替えてもよい。   If there is no entry in the forwarding database 32, the MTU value acquisition unit 51 acquires the MTU value of the port that has received the unicast frame and the MTU values of all ports other than the reception port (step S604). These MTU values are stored in the MTU holding unit 6. Note that acquisition of the MTU value is not necessarily performed after reception of the unicast frame, and the execution order of steps S601 and S604 may be switched.

次に、ユニキャストフレームの受信ポートのMTUの値がMTU保持部6から読み出されて記憶部46に格納され、他の全てのポートのMTUの値が同様にMTU保持部6から読み出されて記憶部47に格納される。ここで判定部44は、ユニキャストフレームを受信したポートよりも小さいMTUを持つフラッディング対象のポートが存在するか否かを判定する(ステップS605)。記憶部46、47に記憶されたMTUの値の大小比較は比較器43により行われる。そして、ユニキャストフレームの受信ポートよりも小さいMTUを持つポートが存在しないならば、このユニキャストフレームをフラッディング処理して処理を終える(ステップS606)。   Next, the MTU value of the receiving port of the unicast frame is read from the MTU holding unit 6 and stored in the storage unit 46, and the MTU values of all other ports are similarly read from the MTU holding unit 6. And stored in the storage unit 47. Here, the determination unit 44 determines whether there is a flooding target port having an MTU smaller than that of the port that has received the unicast frame (step S605). The comparator 43 compares the magnitudes of the MTU values stored in the storage units 46 and 47. If there is no port having an MTU smaller than the receiving port of the unicast frame, the unicast frame is flooded and the process ends (step S606).

ユニキャストフレームの受信ポートよりも小さいMTUを持つポートが存在するならば、フラッディング処理は禁止される(ステップS605=YES)。   If there is a port having an MTU smaller than the receiving port of the unicast frame, the flooding process is prohibited (step S605 = YES).

ここで、アドレス解決処理制御部48は、受信したユニキャストフレームのプロトコル種別を判別する(ステップS607)。例えばユニキャストフレームの送信元がIPv6を用いており、IPv6のユニキャストフレームを送信しているならば、アドレス解決処理制御部48は、アドレス解決処理部31に対してRFC2461に規定されるND(Neighbor Discovery)パケットをすべてのポートに送信するよう指示する(ステップS608)。あるいは、この送信元がIPv4を用いている場合、アドレス解決処理制御部48は、アドレス解決処理部31に対してRFC826に規定されるARP(Address Resolution Protocol)の要求パケットをすべてのポートに送信するよう指示する(ステップS609)。   Here, the address resolution processing control unit 48 determines the protocol type of the received unicast frame (step S607). For example, if the transmission source of the unicast frame uses IPv6 and is transmitting an IPv6 unicast frame, the address resolution processing control unit 48 sets the ND (specified in RFC 2461 to the address resolution processing unit 31. It is instructed to transmit a Neighbor Discovery) packet to all ports (step S608). Alternatively, when the transmission source uses IPv4, the address resolution processing control unit 48 transmits an ARP (Address Resolution Protocol) request packet defined in RFC826 to the address resolution processing unit 31 to all ports. (Step S609).

ステップS608又はS609においてNDパケット又はARP要求パケットを送信した後、一定時間待機し(ステップS610)、再度、フォワーディングデータベース32を参照し、エントリが有るか否かを調べる(ステップS611)。エントリがある場合は、そのポートに対してユニキャストフレームを送信し(ステップS613)、エントリが無い場合は当該ユニキャストフレームを破棄(ステップS612)して終了する。   After transmitting the ND packet or the ARP request packet in step S608 or S609, it waits for a predetermined time (step S610), and again refers to the forwarding database 32 to check whether there is an entry (step S611). If there is an entry, a unicast frame is transmitted to the port (step S613). If there is no entry, the unicast frame is discarded (step S612) and the process ends.

このような本実施形態では、MTU判定後のアドレス解決処理により、受信したユニキャストフレームをフラッディングすることなく送信できる可能性があり、アドレス解決できずMTUが不一致の場合はフラッディングを適切に禁止できる。   In this embodiment, there is a possibility that the received unicast frame can be transmitted without flooding by the address resolution processing after the MTU determination. If the address cannot be resolved and the MTU does not match, flooding can be appropriately prohibited. .

(第七の実施形態)
図15は、本発明の第七の実施形態に係わり、図1に示したブリッジ装置における機能拡張部分を示すブロック図である。同図に示すように、本実施形態に係るブリッジ装置1は、ユニキャストフレームのフラッディング処理を行うものであり、L2ブリッジフレーム転送処理部3がアドレス解決処理部31を備える。また、フラグメント処理部100を備える。フラグメント処理部100は、フレームをIPプロトコルのバージョン及びPW fragmentation(参考URL<http://www.ietf.org/internet-drafts/draft-ietf-pwe3-fragmentation-05.txt>)の手順に従った適切なフラグメント処理を行うための、IPフラグメント処理部101及びPWフラグメント処理部102を備える。
(Seventh embodiment)
FIG. 15 is a block diagram showing a function expansion portion in the bridge device shown in FIG. 1 according to the seventh embodiment of the present invention. As shown in the figure, the bridge device 1 according to the present embodiment performs a unicast frame flooding process, and the L2 bridge frame transfer processing unit 3 includes an address resolution processing unit 31. In addition, a fragment processing unit 100 is provided. The fragment processing unit 100 follows the procedure of the IP protocol version and PW fragmentation (reference URL <http://www.ietf.org/internet-drafts/draft-ietf-pwe3-fragmentation-05.txt>). In addition, an IP fragment processing unit 101 and a PW fragment processing unit 102 are provided for performing appropriate fragment processing.

MTU判定部40は、ユニキャストフレームを受信したポートのMTU(最大転送ユニット)の値をMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部46と、この受信ポート以外のすべてのポート、すなわちフラッディング対象のポートのMTUの値をそれぞれMTU保持部6から読み出して記憶する、例えばレジスタ等の記憶部47と、記憶部46と記憶部47の値の大小を比較する比較器(COMP)43と、記憶部46と記憶部47の値の大小を比較する比較器(COMP)43と、比較器43による比較結果に応じて、当該ユニキャストフレームをどのように処理すればよいかを判定する判定部44とを備える。判定部44の具体的な処理内容は後述する。   The MTU determination unit 40 reads the MTU (maximum transfer unit) value of the port that received the unicast frame from the MTU holding unit 6 and stores it, for example, a storage unit 46 such as a register, and all ports other than this reception port That is, the MTU value of the flooding port is read from the MTU holding unit 6 and stored, for example, a storage unit 47 such as a register, and a comparator (COMP) that compares the values of the storage unit 46 and the storage unit 47 43, a comparator (COMP) 43 that compares the values of the storage unit 46 and the storage unit 47, and how to process the unicast frame according to the comparison result by the comparator 43 And a determination unit 44. Specific processing contents of the determination unit 44 will be described later.

尚、図15において、本実施形態のブリッジ装置1において第一の実施形態と実質的に同一の構成要素には第一の実施形態と同一の参照符号が付してあり、その詳細な説明は省略する。   In FIG. 15, in the bridge device 1 of this embodiment, the same reference numerals as those in the first embodiment are assigned to components that are substantially the same as those in the first embodiment. Omitted.

本実施形態のブリッジ装置1は、第五の実施形態と同様にユニキャストフレームを受信してフラッディング処理する際におけるMTU不一致の問題に対処するものである。   The bridge device 1 according to the present embodiment addresses the problem of MTU mismatch when receiving a unicast frame and performing a flooding process, as in the fifth embodiment.

本実施形態のブリッジ装置1では、ユニキャストフレームを受信した際に、その受信ポートが有するMTUの値を取得して記憶部46に記憶するとともにフラッディング対象であるすべての送信側ポートが有するMTUの値をそれぞれ取得して記憶部47に記憶し、これら記憶部46、47に記憶された値の両者を比較器43により比較する。判定部44は、送信側ポートのMTUの最小値が受信側ポートのMTUの値よりも小さいか否かを判定し、そのようなポートについてはフラグメント処理を施す。   In the bridge device 1 of the present embodiment, when a unicast frame is received, the MTU value of the reception port is acquired and stored in the storage unit 46, and the MTUs of all transmission ports that are flooding targets are included. Each value is acquired and stored in the storage unit 47, and both of the values stored in the storage units 46 and 47 are compared by the comparator 43. The determination unit 44 determines whether or not the minimum value of the MTU of the transmission side port is smaller than the value of the MTU of the reception side port, and performs fragment processing for such a port.

図16は本発明の第七の実施形態に係るブリッジ装置がユニキャストフレームをフラッディング処理する手順を示すフローチャートである。   FIG. 16 is a flowchart showing a procedure in which the bridge device according to the seventh embodiment of the present invention floods a unicast frame.

まず、送信元端末から送信されたイーサネットユニキャストフレームがブリッジ装置1において受信される(ステップS701)。このとき、MACアドレス学習部2により例えばIEEE802.1Dの仕様に基づいたMACアドレス学習が行われる。   First, the Ethernet unicast frame transmitted from the transmission source terminal is received by the bridge device 1 (step S701). At this time, the MAC address learning unit 2 performs MAC address learning based on, for example, IEEE 802.1D specifications.

次に、L2ブリッジフレーム転送処理部3は、受信したユニキャストフレームを転送すべきポートについて、フォワーディングデータベース32にエントリがあるか否かを調べる(S702)。エントリがある場合は、フラッディング処理は不要であり、このエントリにより特定されるポートに対してユニキャストフレームを転送処理して終了する(ステップS703)。   Next, the L2 bridge frame transfer processing unit 3 checks whether there is an entry in the forwarding database 32 for the port to which the received unicast frame is to be transferred (S702). If there is an entry, the flooding process is unnecessary, and the unicast frame is transferred to the port specified by this entry, and the process ends (step S703).

フォワーディングデータベース32にエントリがない場合、MTU値取得部51は、ユニキャストフレームを受信したポートのMTUの値およびこの受信ポート以外のすべてのポートのMTUの値を取得する(ステップS704)。これらMTUの値はMTU保持部6に格納される。なお、MTUの値の取得は必ずしもユニキャストフレームの受信の後に行う必要はなく、ステップS701とS704の実行順序を入れ替えてもよい。   When there is no entry in the forwarding database 32, the MTU value acquisition unit 51 acquires the MTU value of the port that has received the unicast frame and the MTU values of all ports other than the reception port (step S704). These MTU values are stored in the MTU holding unit 6. Note that acquisition of the MTU value is not necessarily performed after reception of the unicast frame, and the execution order of steps S701 and S704 may be switched.

次に、ユニキャストフレームの受信ポートのMTUの値がMTU保持部6から読み出されて記憶部46に格納され、他の全てのポートのMTUの値が同様にMTU保持部6から読み出されて記憶部47に格納される。ここで判定部44は、ユニキャストフレームを受信したポートよりも小さいMTUを持つフラッディング対象のポートが存在するか否かを判定する(ステップS705)。記憶部46、47に記憶されたMTUの値の大小比較は比較器43により行われる。そして、ユニキャストフレームの受信ポートよりも小さいMTUを持つポートが存在しないならば、このユニキャストフレームをフラッディング処理して処理を終える(ステップS706)。   Next, the MTU value of the receiving port of the unicast frame is read from the MTU holding unit 6 and stored in the storage unit 46, and the MTU values of all other ports are similarly read from the MTU holding unit 6. And stored in the storage unit 47. Here, the determination unit 44 determines whether there is a flooding target port having an MTU smaller than that of the port that has received the unicast frame (step S705). The comparator 43 compares the magnitudes of the MTU values stored in the storage units 46 and 47. If there is no port having an MTU smaller than the receiving port of the unicast frame, the unicast frame is flooded and the process ends (step S706).

ユニキャストフレームの受信ポートよりも小さいMTUを持つポートが存在するならば、そのようなポートについてはフレームにフラグメント処理を施す(ステップS705=YES)。   If there is a port having an MTU smaller than the receiving port of the unicast frame, the frame is subjected to fragment processing for such a port (step S705 = YES).

ユニキャストフレームの受信ポートを除く全てのポートのそれぞれについて、MTUの値の比較判定を行うことにより、そのポートについてユニキャストフレームをフラグメント処理するか、これをそのままフォワードするかを判定する(ステップS707)。すなわち、当該ポートのMTUの値が受信ポートのMTUの値以上であるならば、そのポートに対してユニキャストフレームをそのままフォワードする(ステップS708)。一方、当該ポートのMTUの値が受信ポートのMTUの値以上でない場合(ステップS707=NO)、まずフラグメント処理部100は、ユニキャストフレームのプロトコル種別を判別する(ステップS709)。例えばユニキャストフレームの送信元がIPv6を用いており、IPv6のユニキャストフレームを送信しているならば、フラグメント処理部100は、ユニキャストフレームにIPv6のフラグメント処理を施して当該ポートに送出する(ステップS710)。一方、送信元がIPv4を用いている場合、フラグメント処理部100は、ユニキャストフレームにIPv4のフラグメント処理を施して当該ポートに送出する(ステップS711)。なお、ユニキャストフレームの種別が上記IPv6でもIPv4でもない場合には、ユニキャストフレームを破棄して処理を終了する(ステップS712)。   By comparing and determining the value of the MTU for each of all ports except the receiving port of the unicast frame, it is determined whether the unicast frame is to be fragmented or forwarded as it is (step S707). ). That is, if the MTU value of the port is greater than or equal to the MTU value of the receiving port, the unicast frame is forwarded to the port as it is (step S708). On the other hand, if the MTU value of the port is not equal to or greater than the MTU value of the receiving port (step S707 = NO), the fragment processing unit 100 first determines the protocol type of the unicast frame (step S709). For example, if the transmission source of the unicast frame uses IPv6 and is transmitting an IPv6 unicast frame, the fragment processing unit 100 performs the IPv6 fragment processing on the unicast frame and sends it to the port ( Step S710). On the other hand, when the transmission source uses IPv4, the fragment processing unit 100 performs the fragment processing of IPv4 on the unicast frame and sends it to the port (step S711). If the type of unicast frame is neither IPv6 nor IPv4, the unicast frame is discarded and the process ends (step S712).

本実施形態のように、MTUの値の大小比較に基づき特定のポートに対してユニキャストフレームをフラグメント処理することにより、MTUの値の不一致に起因するフレーム破棄を防止できる。   As in this embodiment, by performing unicast frame fragment processing on a specific port based on the magnitude comparison of MTU values, it is possible to prevent frame discard due to mismatch of MTU values.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

本発明の実施形態に係るブリッジ装置が適用されたネットワークを示す図The figure which shows the network with which the bridge apparatus which concerns on embodiment of this invention was applied. 本発明の第一の実施形態に係るブリッジ装置の主要部を示すブロック図The block diagram which shows the principal part of the bridge apparatus which concerns on 1st embodiment of this invention. L2のエミュレートを行う場合のパケットフォーマットの一例を示す図The figure which shows an example of the packet format in the case of emulating L2 本発明の第一の実施形態に係るブリッジ装置がマルチキャストフレームを処理する手順を示すフローチャートThe flowchart which shows the procedure in which the bridge | bridging apparatus which concerns on 1st embodiment of this invention processes a multicast frame. 本発明の第二の実施形態に係るブリッジ装置の主要部を示すブロック図The block diagram which shows the principal part of the bridge apparatus which concerns on 2nd embodiment of this invention. 本発明の第二の実施形態に係るブリッジ装置がマルチキャストフレームを処理する手順を示すフローチャートThe flowchart which shows the procedure in which the bridge | bridging apparatus which concerns on 2nd embodiment of this invention processes a multicast frame. 本発明の第三の実施形態に係るブリッジ装置の主要部を示すブロック図The block diagram which shows the principal part of the bridge apparatus which concerns on 3rd embodiment of this invention. 本発明の第三の実施形態に係るブリッジ装置がマルチキャストフレームを処理する手順を示すフローチャートThe flowchart which shows the procedure in which the bridge | bridging apparatus which concerns on 3rd embodiment of this invention processes a multicast frame. 本発明の第四の実施形態に係るブリッジ装置の主要部を示すブロック図The block diagram which shows the principal part of the bridge | bridging apparatus which concerns on 4th embodiment of this invention. 本発明の第四の実施形態に係るブリッジ装置がマルチキャストフレームを処理する手順を示すフローチャートThe flowchart which shows the procedure in which the bridge | bridging apparatus which concerns on 4th embodiment of this invention processes a multicast frame. 本発明の第五の実施形態に係るブリッジ装置の主要部を示すブロック図The block diagram which shows the principal part of the bridge | bridging apparatus which concerns on 5th embodiment of this invention. 本発明の第五の実施形態に係るブリッジ装置がユニキャストフレームのフラッディング処理を行う手順を示すフローチャートThe flowchart which shows the procedure in which the bridge | bridging apparatus which concerns on 5th embodiment of this invention performs the flooding process of a unicast frame. 本発明の第六の実施形態に係るブリッジ装置の主要部を示すブロック図The block diagram which shows the principal part of the bridge | bridging apparatus which concerns on 6th embodiment of this invention. 本発明の第六の実施形態に係るブリッジ装置がユニキャストフレームのフラッディング処理を行う手順を示すフローチャートThe flowchart which shows the procedure in which the bridge | bridging apparatus based on 6th Embodiment of this invention performs the flooding process of a unicast frame. 本発明の第七の実施形態に係るブリッジ装置の主要部を示すブロック図The block diagram which shows the principal part of the bridge apparatus which concerns on 7th embodiment of this invention. 本発明の第七の実施形態に係るブリッジ装置がユニキャストフレームのフラッディング処理を行う手順を示すフローチャートThe flowchart which shows the procedure in which the bridge | bridging apparatus which concerns on 7th embodiment of this invention performs the flooding process of a unicast frame.

符号の説明Explanation of symbols

1…ブリッジ装置(L2ブリッジ);
2…MACアドレス学習部;
3…L2ブリッジフレーム転送処理部;
40…MTU判定部;
50…ICMP処理部;
51…MTU値取得部;
52…ICMPパケット送信部;
6…MTU保持部;
7…IP送信元・宛先保持部
1 ... Bridge device (L2 bridge);
2 ... MAC address learning unit;
3 ... L2 bridge frame transfer processing unit;
40 ... MTU determination unit;
50: ICMP processing section;
51 ... MTU value acquisition unit;
52 ... ICMP packet transmission unit;
6 ... MTU holding part;
7: IP transmission source / destination holding unit

Claims (14)

送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得する手段と、
前記複数の第二の最大転送ユニットの値における最小値が前記第一の最大転送ユニットの値よりも小さいならば、該最大転送ユニットの最小値を含んだICMPパケットを前記送信元端末に対して送信する手段とを具備するブリッジ装置。
In a bridge device that receives a multicast frame from a transmission source terminal through a reception side network interface and transmits the multicast frame to a plurality of transmission side network interfaces.
Means for obtaining a value of a first maximum transfer unit possessed by the receiving side network interface and obtaining a value of a plurality of second maximum forwarding units possessed by the plurality of sending side network interfaces;
If the minimum value of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit, an ICMP packet including the minimum value of the maximum transfer unit is sent to the source terminal. A bridge device comprising means for transmitting.
送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置において、
前記マルチキャストフレームのマルチキャストアドレスと前記マルチキャストフレームを送信すべき送信側ネットワークインターフェースとを関連付けるマルチキャスト情報を記憶する手段と、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記マルチキャスト情報に基づいて特定される複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得する手段と、
前記複数の第二の最大転送ユニットの値における最小値が前記第一の最大転送ユニットの値よりも小さいならば、該最大転送ユニットの最小値を含んだICMPパケットを前記送信元端末に対して送信する手段とを具備するブリッジ装置。
In a bridge device that receives a multicast frame from a transmission source terminal through a reception side network interface and transmits the multicast frame to a plurality of transmission side network interfaces.
Means for storing multicast information associating a multicast address of the multicast frame with a transmission side network interface to which the multicast frame is to be transmitted;
Means for obtaining a value of a first maximum transfer unit possessed by the receiving network interface and obtaining a value of a plurality of second maximum forwarding units possessed by a plurality of transmitting network interfaces specified based on the multicast information When,
If the minimum value of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit, an ICMP packet including the minimum value of the maximum transfer unit is sent to the source terminal. A bridge device comprising means for transmitting.
送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の最大転送ユニットの値を取得する手段と、
前記複数の送信側ネットワークインターフェースにおいて、前記第一の最大転送ユニットと同一又はそれ以上の最大転送ユニットの値を有する送信側ネットワークインターフェースに対しては前記マルチキャストフレームをそのまま送信し、前記第一の最大転送ユニットよりも最大転送ユニットの値が小さい送信側ネットワークインターフェースに対しては前記マルチキャストフレームにフラグメント処理を施して送信する手段とを具備するブリッジ装置。
In a bridge device that receives a multicast frame from a transmission source terminal through a reception side network interface and transmits the multicast frame to a plurality of transmission side network interfaces.
Means for obtaining a value of a first maximum transfer unit possessed by the receiving network interface and obtaining a value of a plurality of maximum transfer units possessed by the plurality of sending network interfaces;
In the plurality of transmission side network interfaces, the multicast frame is transmitted as it is to the transmission side network interface having a value of the maximum transfer unit equal to or greater than the first maximum transfer unit, and the first maximum A bridge device comprising: means for performing a fragment process on the multicast frame and transmitting it to a transmission-side network interface having a maximum transfer unit value smaller than that of the transfer unit.
送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置において、
前記マルチキャストフレームのマルチキャストアドレスと前記マルチキャストフレームを送信すべき送信側ネットワークインターフェースとを関連付けるマルチキャスト情報を記憶する手段と、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記マルチキャスト情報に基づいて特定される複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得する手段と、
前記マルチキャスト情報に基づいて特定される複数の送信側ネットワークインターフェースにおいて、前記第一の最大転送ユニットと同一又はそれ以上の最大転送ユニットの値を有する送信側ネットワークインターフェースに対しては前記マルチキャストフレームをそのまま送信し、前記第一の最大転送ユニットよりも最大転送ユニットの値が小さい送信側ネットワークインターフェースに対しては前記マルチキャストフレームにフラグメント処理を施して送信する手段とを具備するブリッジ装置。
In a bridge device that receives a multicast frame from a transmission source terminal through a reception side network interface and transmits the multicast frame to a plurality of transmission side network interfaces.
Means for storing multicast information associating a multicast address of the multicast frame with a transmission side network interface to which the multicast frame is to be transmitted;
Means for obtaining a value of a first maximum transfer unit possessed by the receiving network interface and obtaining a value of a plurality of second maximum forwarding units possessed by a plurality of transmitting network interfaces specified based on the multicast information When,
In the plurality of transmission side network interfaces specified based on the multicast information, the multicast frame is left as it is for the transmission side network interface having the same value as or greater than the first maximum transfer unit. A bridge device comprising: means for transmitting and performing fragment processing on the multicast frame for transmission to a transmission-side network interface having a maximum transfer unit value smaller than the first maximum transfer unit.
送信元端末から受信側ネットワークインターフェースによりユニキャストフレームを受信したときに該ユニキャストフレームの転送先が未解決ならば、複数の送信側ネットワークインターフェースに対して前記ユニキャストフレームを送信するフラッディング処理を行うブリッジ装置において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得する手段と、
前記複数の第二の最大転送ユニットの値のいずれかの値が前記第一の最大転送ユニットの値よりも小さいならば、前記フラッディング処理を禁止するとともにICMPパケットを前記送信元端末に対して送信する手段とを具備するブリッジ装置。
When a unicast frame is received from a transmission source terminal by a reception side network interface, if the transfer destination of the unicast frame is unresolved, a flooding process for transmitting the unicast frame to a plurality of transmission side network interfaces is performed. In the bridge device,
Means for obtaining a value of a first maximum transfer unit possessed by the receiving side network interface and obtaining a value of a plurality of second maximum forwarding units possessed by the plurality of sending side network interfaces;
If any of the values of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit, the flooding process is prohibited and an ICMP packet is transmitted to the source terminal. And a bridge device.
送信元端末から受信側ネットワークインターフェースによりユニキャストフレームを受信したときに該ユニキャストフレームの転送先が未解決ならば、複数の送信側ネットワークインターフェースに対して前記ユニキャストフレームを送信するフラッディング処理を行うブリッジ装置において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得する手段と、
前記複数の第二の最大転送ユニットの値のいずれかの値が前記第一の最大転送ユニットの値よりも小さいならば、前記フラッディング処理を禁止するとともに前記送信元端末を送信元とするアドレス解決手順を実行する手段と、
前記アドレス解決手順により解決された転送先に対して前記ユニキャストフレームを送信する手段とを具備するブリッジ装置。
When a unicast frame is received from a transmission source terminal by a reception side network interface, if the transfer destination of the unicast frame is unresolved, a flooding process for transmitting the unicast frame to a plurality of transmission side network interfaces is performed. In the bridge device,
Means for obtaining a value of a first maximum transfer unit possessed by the receiving side network interface and obtaining a value of a plurality of second maximum forwarding units possessed by the plurality of sending side network interfaces;
If any of the values of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit, the flooding process is prohibited and the address resolution with the source terminal as the source is performed. Means for performing the procedure;
A bridge device comprising: means for transmitting the unicast frame to a transfer destination resolved by the address resolution procedure.
送信元端末から受信側ネットワークインターフェースによりユニキャストフレームを受信したときに該ユニキャストフレームの転送先が未解決ならば、複数の送信側ネットワークインターフェースに対して前記ユニキャストフレームを送信するフラッディング処理を行うブリッジ装置において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の最大転送ユニットの値を取得する手段と、
前記複数の送信側ネットワークインターフェースにおいて、前記第一の最大転送ユニットと同一又はそれ以上の最大転送ユニットの値を有する送信側ネットワークインターフェースに対しては前記ユニキャストフレームをそのまま送信し、前記第一の最大転送ユニットよりも最大転送ユニットの値が小さい送信側ネットワークインターフェースに対しては前記ユニキャストフレームにフラグメント処理を施して送信する手段とを具備するブリッジ装置。
When a unicast frame is received from a transmission source terminal by a reception side network interface, if the transfer destination of the unicast frame is unresolved, a flooding process for transmitting the unicast frame to a plurality of transmission side network interfaces is performed. In the bridge device,
Means for obtaining a value of a first maximum transfer unit possessed by the receiving network interface and obtaining a value of a plurality of maximum transfer units possessed by the plurality of sending network interfaces;
In the plurality of transmission side network interfaces, the unicast frame is transmitted as it is to the transmission side network interface having a value of the maximum transfer unit equal to or greater than the first maximum transfer unit, and the first A bridge device comprising: means for performing a fragment process on the unicast frame and transmitting it to a transmission side network interface having a maximum transfer unit value smaller than the maximum transfer unit.
送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置の制御方法において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得するステップと、
前記複数の第二の最大転送ユニットの値における最小値が前記第一の最大転送ユニットの値よりも小さいならば、該最大転送ユニットの最小値を含んだICMPパケットを前記送信元端末に対して送信するステップとを具備するブリッジ装置の制御方法。
In a control method of a bridge device that receives a multicast frame from a transmission source terminal via a reception side network interface and transmits the multicast frame to a plurality of transmission side network interfaces.
Obtaining a value of a first maximum transfer unit possessed by the receiving network interface and obtaining a value of a plurality of second maximum transfer units possessed by the plurality of transmitting network interfaces;
If the minimum value of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit, an ICMP packet including the minimum value of the maximum transfer unit is sent to the source terminal. And a step of transmitting the bridge device.
送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置の制御方法において、
前記マルチキャストフレームのマルチキャストアドレスと前記マルチキャストフレームを送信すべき送信側ネットワークインターフェースとを関連付けるマルチキャスト情報を記憶するステップと、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記マルチキャスト情報に基づいて特定される複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得するステップと、
前記複数の第二の最大転送ユニットの値における最小値が前記第一の最大転送ユニットの値よりも小さいならば、該最大転送ユニットの最小値を含んだICMPパケットを前記送信元端末に対して送信するステップとを具備するブリッジ装置の制御方法。
In a control method of a bridge device that receives a multicast frame from a transmission source terminal via a reception side network interface and transmits the multicast frame to a plurality of transmission side network interfaces.
Storing multicast information associating a multicast address of the multicast frame with a transmission side network interface to which the multicast frame is to be transmitted;
Obtaining a value of a first maximum transfer unit possessed by the receiving-side network interface and obtaining a value of a plurality of second maximum forwarding units possessed by a plurality of transmitting-side network interfaces specified based on the multicast information When,
If the minimum value of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit, an ICMP packet including the minimum value of the maximum transfer unit is sent to the source terminal. And a step of transmitting the bridge device.
送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置の制御方法において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の最大転送ユニットの値を取得するステップと、
前記複数の送信側ネットワークインターフェースにおいて、前記第一の最大転送ユニットと同一又はそれ以上の最大転送ユニットの値を有する送信側ネットワークインターフェースに対しては前記マルチキャストフレームをそのまま送信し、前記第一の最大転送ユニットよりも最大転送ユニットの値が小さい送信側ネットワークインターフェースに対しては前記マルチキャストフレームにフラグメント処理を施して送信するステップとを具備するブリッジ装置の制御方法。
In a control method of a bridge device that receives a multicast frame from a transmission source terminal via a reception side network interface and transmits the multicast frame to a plurality of transmission side network interfaces.
Obtaining values of a first maximum transfer unit possessed by the receiving network interface and obtaining values of a plurality of maximum transfer units possessed by the plurality of transmitting network interfaces;
In the plurality of transmission side network interfaces, the multicast frame is transmitted as it is to the transmission side network interface having a value of the maximum transfer unit equal to or greater than the first maximum transfer unit, and the first maximum And a step of performing fragment processing on the multicast frame and transmitting it to a transmission side network interface having a maximum transfer unit value smaller than that of the transfer unit.
送信元端末からマルチキャストフレームを受信側ネットワークインターフェースにより受信し、複数の送信側ネットワークインターフェースに送信するブリッジ装置の制御方法において、
前記マルチキャストフレームのマルチキャストアドレスと前記マルチキャストフレームを送信すべき送信側ネットワークインターフェースとを関連付けるマルチキャスト情報を記憶するステップと、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記マルチキャスト情報に基づいて特定される複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得するステップと、
前記マルチキャスト情報に基づいて特定される複数の送信側ネットワークインターフェースにおいて、前記第一の最大転送ユニットと同一又はそれ以上の最大転送ユニットの値を有する送信側ネットワークインターフェースに対しては前記マルチキャストフレームをそのまま送信し、前記第一の最大転送ユニットよりも最大転送ユニットの値が小さい送信側ネットワークインターフェースに対しては前記マルチキャストフレームにフラグメント処理を施して送信するステップとを具備するブリッジ装置の制御方法。
In a control method of a bridge device that receives a multicast frame from a transmission source terminal via a reception side network interface and transmits the multicast frame to a plurality of transmission side network interfaces.
Storing multicast information associating a multicast address of the multicast frame with a transmission side network interface to which the multicast frame is to be transmitted;
Obtaining a value of a first maximum transfer unit possessed by the receiving-side network interface and obtaining a value of a plurality of second maximum forwarding units possessed by a plurality of transmitting-side network interfaces specified based on the multicast information When,
In the plurality of transmission side network interfaces specified based on the multicast information, the multicast frame is left as it is for the transmission side network interface having the same value as or greater than the first maximum transfer unit. And a step of transmitting the multicast frame by performing fragment processing on a transmission-side network interface having a maximum transfer unit value smaller than that of the first maximum transfer unit.
送信元端末から受信側ネットワークインターフェースによりユニキャストフレームを受信したときに該ユニキャストフレームの転送先が未解決ならば、複数の送信側ネットワークインターフェースに対して前記ユニキャストフレームを送信するフラッディング処理を行うブリッジ装置の制御方法において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得するステップと、
前記複数の第二の最大転送ユニットの値のいずれかの値が前記第一の最大転送ユニットの値よりも小さいならば、前記フラッディング処理を禁止するとともにICMPパケットを前記送信元端末に対して送信するステップとを具備するブリッジ装置の制御方法。
When a unicast frame is received from a transmission source terminal by a reception side network interface, if the transfer destination of the unicast frame is unresolved, a flooding process for transmitting the unicast frame to a plurality of transmission side network interfaces is performed. In the control method of the bridge device,
Obtaining a value of a first maximum transfer unit possessed by the receiving network interface and obtaining a value of a plurality of second maximum transfer units possessed by the plurality of transmitting network interfaces;
If any of the values of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit, the flooding process is prohibited and an ICMP packet is transmitted to the source terminal. And a step of controlling the bridge device.
送信元端末から受信側ネットワークインターフェースによりユニキャストフレームを受信したときに該ユニキャストフレームの転送先が未解決ならば、複数の送信側ネットワークインターフェースに対して前記ユニキャストフレームを送信するフラッディング処理を行うブリッジ装置の制御方法において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の第二の最大転送ユニットの値を取得するステップと、
前記複数の第二の最大転送ユニットの値のいずれかの値が前記第一の最大転送ユニットの値よりも小さいならば、前記フラッディング処理を禁止するとともに前記送信元端末を送信元とするアドレス解決手順を実行するステップと、
前記アドレス解決手順により解決された転送先に対して前記ユニキャストフレームを送信するステップとを具備するブリッジ装置の制御方法。
When a unicast frame is received from a transmission source terminal by a reception side network interface, if the transfer destination of the unicast frame is unresolved, a flooding process for transmitting the unicast frame to a plurality of transmission side network interfaces is performed. In the control method of the bridge device,
Obtaining a value of a first maximum transfer unit possessed by the receiving network interface and obtaining a value of a plurality of second maximum transfer units possessed by the plurality of transmitting network interfaces;
If any of the values of the plurality of second maximum transfer units is smaller than the value of the first maximum transfer unit, the flooding process is prohibited and the address resolution with the source terminal as the source is performed. Steps to perform the procedure;
And a step of transmitting the unicast frame to a transfer destination resolved by the address resolution procedure.
送信元端末から受信側ネットワークインターフェースによりユニキャストフレームを受信したときに該ユニキャストフレームの転送先が未解決ならば、複数の送信側ネットワークインターフェースに対して前記ユニキャストフレームを送信するフラッディング処理を行うブリッジ装置の制御方法において、
前記受信側ネットワークインターフェースが有する第一の最大転送ユニットの値を取得するとともに前記複数の送信側ネットワークインターフェースが有する複数の最大転送ユニットの値を取得するステップと、
前記複数の送信側ネットワークインターフェースにおいて、前記第一の最大転送ユニットと同一又はそれ以上の最大転送ユニットの値を有する送信側ネットワークインターフェースに対しては前記ユニキャストフレームをそのまま送信し、前記第一の最大転送ユニットよりも最大転送ユニットの値が小さい送信側ネットワークインターフェースに対しては前記ユニキャストフレームにフラグメント処理を施して送信するステップとを具備するブリッジ装置の制御方法。
When a unicast frame is received from a transmission source terminal by a reception side network interface, if the transfer destination of the unicast frame is unresolved, a flooding process for transmitting the unicast frame to a plurality of transmission side network interfaces is performed. In the control method of the bridge device,
Obtaining values of a first maximum transfer unit possessed by the receiving network interface and obtaining values of a plurality of maximum transfer units possessed by the plurality of transmitting network interfaces;
In the plurality of transmission side network interfaces, the unicast frame is transmitted as it is to the transmission side network interface having a value of the maximum transfer unit equal to or greater than the first maximum transfer unit, and the first And a step of performing fragment processing on the unicast frame and transmitting the transmission side network interface having a smaller value of the maximum transfer unit than the maximum transfer unit.
JP2005302169A 2005-10-17 2005-10-17 BRIDGE DEVICE AND BRIDGE DEVICE CONTROL METHOD Expired - Fee Related JP4660346B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005302169A JP4660346B2 (en) 2005-10-17 2005-10-17 BRIDGE DEVICE AND BRIDGE DEVICE CONTROL METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005302169A JP4660346B2 (en) 2005-10-17 2005-10-17 BRIDGE DEVICE AND BRIDGE DEVICE CONTROL METHOD

Publications (2)

Publication Number Publication Date
JP2007110654A true JP2007110654A (en) 2007-04-26
JP4660346B2 JP4660346B2 (en) 2011-03-30

Family

ID=38036124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005302169A Expired - Fee Related JP4660346B2 (en) 2005-10-17 2005-10-17 BRIDGE DEVICE AND BRIDGE DEVICE CONTROL METHOD

Country Status (1)

Country Link
JP (1) JP4660346B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009171307A (en) * 2008-01-17 2009-07-30 Canon Inc Repeater, information notifying method and program
JP2014086841A (en) * 2012-10-23 2014-05-12 Nec Commun Syst Ltd Terminal and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11168492A (en) * 1997-12-03 1999-06-22 Hitachi Cable Ltd Repeating method for router and router system
JP2000134208A (en) * 1998-10-21 2000-05-12 Hitachi Ltd Information repeater
JP2004193821A (en) * 2002-12-10 2004-07-08 Fujitsu Ltd Bridge instrument and its address learning method
JP2005204001A (en) * 2004-01-15 2005-07-28 Hitachi Ltd Data distribution server, software, and system
JP2005229330A (en) * 2004-02-13 2005-08-25 Fujitsu Access Ltd Communication device and network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11168492A (en) * 1997-12-03 1999-06-22 Hitachi Cable Ltd Repeating method for router and router system
JP2000134208A (en) * 1998-10-21 2000-05-12 Hitachi Ltd Information repeater
JP2004193821A (en) * 2002-12-10 2004-07-08 Fujitsu Ltd Bridge instrument and its address learning method
JP2005204001A (en) * 2004-01-15 2005-07-28 Hitachi Ltd Data distribution server, software, and system
JP2005229330A (en) * 2004-02-13 2005-08-25 Fujitsu Access Ltd Communication device and network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009171307A (en) * 2008-01-17 2009-07-30 Canon Inc Repeater, information notifying method and program
JP2014086841A (en) * 2012-10-23 2014-05-12 Nec Commun Syst Ltd Terminal and method

Also Published As

Publication number Publication date
JP4660346B2 (en) 2011-03-30

Similar Documents

Publication Publication Date Title
US8995444B2 (en) Method and system for extending routing domain to non-routing end stations
Duros et al. A link-layer tunneling mechanism for unidirectional links
JP4780477B2 (en) Tunneling device, tunnel frame distribution method used therefor, and program therefor
US20080159285A1 (en) Method and apparatus for improved multicast routing
US8391287B2 (en) Packet relay method and device
WO2012156852A1 (en) Label switched routing to connect low power network domains
WO2007006195A1 (en) An access device routing decive and method thereof supporting stateless address configuration in communication network
US20180167231A1 (en) Managing multiple virtual network memberships
WO2022021818A1 (en) Method and device for processing data message, storage medium, and electronic device
Sun et al. The Internet underwater: An IP-compatible protocol stack for commercial undersea modems
Wijnands et al. Encapsulation for bit index explicit replication (BIER) in MPLS and non-MPLS networks
JP4660346B2 (en) BRIDGE DEVICE AND BRIDGE DEVICE CONTROL METHOD
JP7273125B2 (en) Method and first network device for transmitting BIERv6 packets
CN113746715A (en) Communication method and device
Cowley et al. Network Protocols
JP4776330B2 (en) BRIDGE DEVICE AND BRIDGE DEVICE CONTROL METHOD
JP4252524B2 (en) Network system using multiple logical channels
KR100705570B1 (en) AUTOMATIC CONFIGURED TUNNELING SYSTEM AND METHOD BETWEEN IPv4 NETWORK AND IPv6 NETWORK
JP4317528B2 (en) Packet transfer processing method and apparatus
JP3936319B2 (en) Communication confirmation method, data relay device, data relay system
JP5752644B2 (en) COMMUNICATION TERMINAL DEVICE, DATA SIZE DETERMINING METHOD, AND DATA SIZE DETERMINING PROGRAM
Balchunas Cisco CCNP Routing Study Guide
Jain Analyzing Layer 2 and Layer 3 Traffic
Duros et al. RFC3077: A Link-Layer Tunneling Mechanism for Unidirectional Links
JP2008199168A (en) Layer-2 switch device and layer-2 frame transmission method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080827

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100910

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: 20101130

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101228

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees