Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4369768B2 - Route information registration method and data relay device - Google Patents
[go: Go Back, main page]

JP4369768B2 - Route information registration method and data relay device - Google Patents

Route information registration method and data relay device Download PDF

Info

Publication number
JP4369768B2
JP4369768B2 JP2004024317A JP2004024317A JP4369768B2 JP 4369768 B2 JP4369768 B2 JP 4369768B2 JP 2004024317 A JP2004024317 A JP 2004024317A JP 2004024317 A JP2004024317 A JP 2004024317A JP 4369768 B2 JP4369768 B2 JP 4369768B2
Authority
JP
Japan
Prior art keywords
information
network
route information
belonging
route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004024317A
Other languages
Japanese (ja)
Other versions
JP2005217933A (en
Inventor
栄司 横山
克典 谷渕
嘉洋 瀬川
亮 渡邊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Furukawa Electric Co Ltd
Original Assignee
Furukawa Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Furukawa Electric Co Ltd filed Critical Furukawa Electric Co Ltd
Priority to JP2004024317A priority Critical patent/JP4369768B2/en
Publication of JP2005217933A publication Critical patent/JP2005217933A/en
Application granted granted Critical
Publication of JP4369768B2 publication Critical patent/JP4369768B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、IP(Internet Protocol)バックボーンネットワークにおいて、VPN(Virtual Private Network:仮想私設通信網)を構築し、このVPNを経由して経路情報の登録およびデータ中継を行う経路情報登録方法およびデータ中継装置に関するものである。   The present invention constructs a VPN (Virtual Private Network) in an IP (Internet Protocol) backbone network, and registers the route information and relays the data via the VPN. It relates to the device.

従来のデータ中継方法では、たとえばISP(Internet Service Provider:インターネットサービス事業者)が共有のIPバックボーンネットワークを利用してVPNサービスを行うIP−VPNがある。このデータ中継方法では、各ユーザ用の経路情報を交換する制御処理を、ルーティングの制御機能として冗長性を確保することができるコネクション型通信(Connection−Oriented)の経路交換プロトコル、たとえばBGP(Border Gateway Protocol:RFC1771)などのプロトコルを利用して行うものがあった。   As a conventional data relay method, for example, there is an IP-VPN in which an ISP (Internet Service Provider) performs a VPN service using a shared IP backbone network. In this data relay method, a control process for exchanging route information for each user is a connection-oriented route exchange protocol that can ensure redundancy as a routing control function, such as BGP (Border Gateway). Protocol: RFC 1771) is used.

このようなデータ中継方法としては、たとえばIP−VPNバックボーンネットワーク上に設けられたPE(プロバイダエッジ)ルータなどのメトロエッジルータに、CE(カスタマエッジ)ルータを介して特定ユーザの同一VPNに属する端末が接続されているシステムに用いることがある。この中のPEルータは、同一VPNに属するそれぞれのルータがメッシュを組んで経路情報の交換を行っている。ここで交換された経路情報は、ルーティングテーブルに格納され、このPEルータは、この経路情報に基づいて最適経路を選択していた。   As such a data relay method, for example, a terminal belonging to the same VPN of a specific user via a CE (customer edge) router is connected to a metro edge router such as a PE (provider edge) router provided on an IP-VPN backbone network. May be used for systems that are connected. Among these PE routers, each router belonging to the same VPN forms a mesh to exchange route information. The route information exchanged here is stored in the routing table, and this PE router has selected the optimum route based on this route information.

Hormuzd Khosravi and Randy Worzella著 「IPv4 Unicast Forwarding Service API Implementation Agreement」 著作権The Network Processing Forum(NPF)[online]、2003年4月29日改訂版 [平成16年1月26日検索]、インターネット〈URL:http://www.npforum.org/techinfo/Ipv4_IA.pdf〉"Humuzd Khosravi and Randy Worzella" "IPv4 Unicast Forwarding Service API Implementation Implementation" Copyright The Network Processing Forum (NPI), March 29, 2000, 29th year, 29th year, 29th year, 29th year of the Internet : Http://www.npforum.org/techinfo/Ipv4_IA.pdf>

しかしながら近年、IP(Internet Protocol)網の普及によるイントラネット構築の大規模化に伴って、総経路数や送信ルータ数が増加する傾向にある。このため、NP(ネットワーク プロセッサ:フォワーディング処理部)で管理すべきデータ量および処理量が増加しており、上記従来例では、データベースのメモリ量が増加するという問題点があった。また、CP(コントロール ポイント:ルーティング処理部)では、ネットワーク内の全経路情報をコピーして下位のNP全てに送信する機能が必要となるので、実装が複雑となり、オーバーヘッドの大きい処理となるので、経路情報の配信処理時間が増加するという問題点があった。   However, in recent years, the total number of routes and the number of transmission routers tend to increase with the increase in the scale of intranet construction due to the widespread use of IP (Internet Protocol) networks. For this reason, the amount of data and the amount of processing to be managed by an NP (network processor: forwarding processing unit) are increasing, and the conventional example has a problem that the memory amount of the database increases. In addition, the CP (control point: routing processing unit) requires a function to copy all the route information in the network and send it to all the lower-order NPs. There was a problem that the route information distribution processing time increased.

本発明は、上記問題に鑑みてなされたものであって、データベースのメモリ容量および経路情報の配信処理時間を低減することができる経路情報登録方法およびデータ中継装置を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a route information registration method and a data relay device that can reduce the memory capacity of a database and the route information distribution processing time.

上述した課題を解決し、目的を達成するために、本発明にかかる経路情報登録方法は、コネクション型通信の経路交換プロトコルを用いてそれぞれ異なるデータ中継装置とコネクションを張って、経路情報の交換を行い、前記交換した経路情報を、情報転送手段によるデータ転送が可能なようにデータベースに登録する経路情報登録方法において、予め設定されたネットワークによって構築される特定ユーザの経路情報の交換を行い、かつ前記経路情報から各ネットワークに属する経路情報を生成する経路情報生成工程と、前記生成された経路情報をデータベースに登録する登録工程と、前記ネットワークに関する情報と、前記情報転送手段に関する情報とを関連付けて記憶手段に記憶する記憶する記憶工程と、前記記憶された関連付けの情報に基づいて、前記ネットワークに属する経路情報を、当該ネットワークに属する特定ユーザが接続された前記情報転送手段に分配する分配工程と、前記情報転送手段が前記ネットワークに属する経路情報を格納手段に格納する格納工程と、を含むことを特徴とする。   In order to solve the above-described problems and achieve the object, the route information registration method according to the present invention uses a connection-type communication route exchange protocol to establish a connection with different data relay apparatuses and exchange route information. And exchanging route information of a specific user constructed by a preset network in a route information registration method for registering the exchanged route information in a database so that data transfer by an information transfer means is possible, and A route information generating step for generating route information belonging to each network from the route information, a registration step for registering the generated route information in a database, information on the network, and information on the information transfer means are associated with each other. A storage step of storing in the storage means and the stored association information; And distributing the route information belonging to the network to the information transfer means to which the specific user belonging to the network is connected, and storing the route information belonging to the network in the storage means. And a storing step.

また、請求項2の発明にかかる経路情報登録方法は、上記発明において、前記登録工程では、前記経路情報を所定ビットで分け、該分けた経路情報の間に前記ネットワークの情報を挿入することで、ネットワークに属する経路情報を前記データベースに格納することを特徴とする。   According to a second aspect of the present invention, in the route information registration method according to the second aspect of the invention, in the registration step, the route information is divided into predetermined bits, and the network information is inserted between the divided route information. The route information belonging to the network is stored in the database.

また、請求項3の発明にかかる経路情報登録方法は、上記発明において、前記分配工程では、インターフェースの設定変更に応じて、当該設定変更にかかるネットワークに属する経路情報を、当該ネットワークに属する特定ユーザが接続された前記情報転送手段に分配することを特徴とする。   According to a third aspect of the present invention, in the route information registration method according to the first aspect, in the distribution step, according to the interface setting change, the route information belonging to the network related to the setting change is changed to a specific user belonging to the network. Is distributed to the information transfer means connected.

また、請求項4の発明にかかる経路情報登録方法は、上記発明において、前記ネットワークは、VPNによって設定されるネットワークであることを特徴とする。   The route information registration method according to a fourth aspect of the present invention is characterized in that, in the above invention, the network is a network set by a VPN.

また、請求項5の発明にかかるデータ中継装置は、コネクション型通信の経路交換プロトコルを用いてそれぞれ異なるデータ中継装置とコネクションを張って、予め設定されたネットワークによって構築される特定ユーザの経路情報の交換を行い、かつ前記経路情報から各ネットワークに属する経路情報を生成する経路交換手段と、前記生成された経路情報の情報処理を行う情報処理手段と、前記処理された経路情報を登録するデータベースと、前記経路情報に基づいて、データの転送処理を行う情報転送手段を備え、前記情報処理手段は、前記ネットワークの情報と前記情報転送手段の情報とを関連付けて記憶する記憶手段と、前記記憶手段に記憶された関連付けの情報に基づいて、前記ネットワークに属する経路情報を、当該ネットワークに属する特定ユーザが接続された前記情報転送手段に分配する分配手段と、前記情報転送手段は、前記ネットワークに属する経路情報を格納する格納手段を、有することを特徴とする。   According to a fifth aspect of the present invention, there is provided a data relay device that establishes a connection with a different data relay device using a connection-type communication route exchange protocol, and stores route information of a specific user constructed by a preset network. Route exchange means for exchanging and generating route information belonging to each network from the route information; information processing means for processing the generated route information; and a database for registering the processed route information; An information transfer means for performing data transfer processing based on the path information, wherein the information processing means stores the network information and the information transfer means in association with each other, and the storage means Route information belonging to the network based on the association information stored in the network. And distribution means for distributing said information transfer means for a specific user is connected to belongs to, the information transfer means, a storage means for storing routing information belonging to the network, characterized in that it has.

また、請求項6の発明にかかるデータ中継装置は、上記発明において、前記情報処理手段は、前記経路情報を所定ビットで分け、該分けた経路情報の間に前記ネットワークの情報を挿入することで、ネットワークに属する経路情報を前記データベースに格納することを特徴とする。   According to a sixth aspect of the present invention, in the data relay device according to the present invention, the information processing means divides the route information into predetermined bits, and inserts the network information between the divided route information. The route information belonging to the network is stored in the database.

また、請求項7の発明にかかるデータ中継装置は、上記発明において、前記分配手段は、インターフェースの設定変更に応じて、当該設定変更にかかるネットワークに属する経路情報を、当該ネットワークに属する特定ユーザが接続された前記情報転送手段に分配することを特徴とする。   According to a seventh aspect of the present invention, in the data relay device according to the first aspect of the invention, in accordance with the interface setting change, the distribution unit can change the route information belonging to the network related to the setting change to a specific user belonging to the network. The information is distributed to the connected information transfer means.

また、請求項8の発明にかかるデータ中継装置は、上記発明において、前記ネットワークは、VPNによって設定されるネットワークであることを特徴とする。   The data relay apparatus according to an eighth aspect of the present invention is characterized in that, in the above invention, the network is a network set by a VPN.

本発明にかかる経路情報登録方法は、ネットワーク(VPN)に関する情報と、VPNに属する情報転送手段の情報を関連付けるとともに、この関連付けの情報に基づいて、VPNに属する経路情報のみを、当該VPNに属する情報転送手段に分配して登録させるので、データベースのメモリ容量および経路情報の配信処理時間を低減することができるという効果を奏する。   The route information registration method according to the present invention associates information about a network (VPN) with information of information transfer means belonging to the VPN, and based on this association information, only route information belonging to the VPN belongs to the VPN. Since the information is transferred and registered to the information transfer means, the memory capacity of the database and the distribution processing time of the route information can be reduced.

本発明にかかるデータ中継装置は、記憶手段にVPNに関する情報と、VPNに属する情報転送手段の情報を関連付けて記憶し、分配手段から前記VPNに属する経路情報のみを、当該VPNに属する情報転送手段に分配して記憶させるので、データベースのメモリ容量および経路情報の配信処理時間を低減することができるという効果を奏する。   The data relay apparatus according to the present invention stores information relating to the VPN in association with information on the information transfer means belonging to the VPN in the storage means, and only the route information belonging to the VPN from the distribution means to the information transfer means belonging to the VPN Therefore, it is possible to reduce the memory capacity of the database and the distribution processing time of the route information.

以下に、本発明にかかる経路情報登録方法およびデータ中継装置の実施の形態を図1〜図10の図面に基づいて詳細に説明する。なお、本発明は、これらの実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の変更実施の形態が可能である。   Embodiments of a route information registration method and a data relay apparatus according to the present invention will be described below in detail with reference to the drawings of FIGS. The present invention is not limited to these embodiments, and various modifications can be made without departing from the scope of the present invention.

(実施の形態1)
図1は、本発明にかかるデータ中継装置を用いたデータ中継システムの構成を示す構成図である。図において、この実施の形態のデータ中継システムは、IP−VPNのバックボーンネットワーク1に本発明にかかるPEルータ2,3を接続させて構成されている。
(Embodiment 1)
FIG. 1 is a configuration diagram showing a configuration of a data relay system using a data relay device according to the present invention. In the figure, the data relay system of this embodiment is configured by connecting PE routers 2 and 3 according to the present invention to an IP-VPN backbone network 1.

本発明にかかるデータ中継装置としてのPEルータ2,3には、AS(Autonomous System)である特定ユーザのネットワーク、この実施の形態では、たとえば各社サイト(A社、B社のサイト)のLANが接続されている。すなわち、PEルータ2には、A社のLAN4とB社のLAN5とが接続され、PEルータ3には、A社のLAN6とB社のLAN7とが接続されている。各社サイトは、VPNで一般の公衆網を利用してVRF(VPN Routing Forwarding)によるネットワークが構築されている。   The PE routers 2 and 3 as data relay apparatuses according to the present invention include a network of a specific user who is an AS (Autonomous System), in this embodiment, for example, a LAN of each company site (A company, B company site). It is connected. That is, the LAN 4 of company A and the LAN 5 of company B are connected to the PE router 2, and the LAN 6 of company A and the LAN 7 of company B are connected to the PE router 3. At each company site, a VPN based on VPN Routing Forwarding (VPN) is constructed using a general public network.

これらPEルータ2,3は、同一の構成からなっているので、ここでは代表してPEルータ2の構成を、図2の構成図に基づいて説明する。PEルータは、プロトコル処理などの情報処理を行うCPと、たとえば下位に接続されたLANと上位のバックボーンネットワーク間のデータ転送(中継)を行うNPからなる。   Since these PE routers 2 and 3 have the same configuration, the configuration of the PE router 2 will be representatively described based on the configuration diagram of FIG. The PE router includes a CP that performs information processing such as protocol processing, and an NP that performs data transfer (relay) between, for example, a LAN connected at a lower level and a higher-level backbone network.

CPは、BGPのプロトコル処理を行う経路情報交換手段としてのBGPデーモン部20と、ネットワーク内の他のルータと伝送路を介して接続されるインターフェース(以下、「I/F」という)回路21と、I/F回路21の設定処理を行うインターフェースデーモン部22と、交換した経路情報を登録するデーモン部のデータベース23と、マルチタスク機能を有するOS(オペレーティング システム)の中核部分であるカーネル部24と、デーモン部からの経路情報を登録するカーネル部24のデータベース25とを備える。   The CP includes a BGP daemon unit 20 as a route information exchanging unit that performs BGP protocol processing, and an interface (hereinafter referred to as “I / F”) circuit 21 connected to another router in the network via a transmission path. An interface daemon unit 22 that performs setting processing of the I / F circuit 21, a database 23 of a daemon unit that registers the exchanged path information, a kernel unit 24 that is a core part of an OS (operating system) having a multitask function, And a database 25 of a kernel unit 24 for registering route information from the daemon unit.

このCPにおいて、BGPデーモン部20は、BGPプロトコルを用いてバックボーンネットワーク1内の他のルータ、たとえば同じVRFに属するルータと経路情報の交換を行なっており、交換した経路情報に基づいて、新たに経路情報を生成してデータベース23に登録している。インターフェースデーモン部22は、I/F回路21の設定変更、たとえばNPが搭載されるボードの挿入や取り外しによるI/F回路の追加や削除、あるいはI/F回路に設定されているVRFの変更などの状態を検出し、この検出結果に応じた設定変更を行う。なお、これらの設定変更は、インターフェース変更通知としてNPドライバ部26に通知される。また、データベース23は、図3に示すように、自ルータの属するVRFのID(識別子、たとえばVRF0、VRF1、VRF2)毎にツリー構造の経路情報を分けて登録している。   In this CP, the BGP daemon unit 20 uses the BGP protocol to exchange route information with other routers in the backbone network 1, for example, routers belonging to the same VRF. Based on the exchanged route information, the BGP daemon unit 20 Route information is generated and registered in the database 23. The interface daemon unit 22 changes the setting of the I / F circuit 21, for example, adds or deletes an I / F circuit by inserting or removing a board on which the NP is mounted, or changes the VRF set in the I / F circuit The state is detected, and the setting is changed according to the detection result. These setting changes are notified to the NP driver unit 26 as interface change notifications. Further, as shown in FIG. 3, the database 23 registers route information having a tree structure separately for each VRF ID (identifier, for example, VRF0, VRF1, VRF2) to which the own router belongs.

カーネル部24は、OSの中核であり、NPを制御するためのマネージャである。カーネル部24は、デーモン部から変更された経路情報が入力されると、この経路情報に基づき、カーネル部内のデータベース25の再構築を行って、経路情報の登録や削除を行い、かつ経路情報の変更通知をNPドライバ部26に対して行う。また、データベース25は、デーモン部のデータベースと同様に図4に示すように、自ルータの属するVRFのID毎にツリーを分けて経路情報を登録している。なお、各データベース間の経路情報の交換では、VRFのIDとIPアドレス(すなわち、宛先とネクストホップのIPアドレス)の交換が行われる。   The kernel unit 24 is the core of the OS and is a manager for controlling the NP. When the changed route information is input from the daemon unit, the kernel unit 24 reconstructs the database 25 in the kernel unit based on the route information, registers and deletes the route information, and stores the route information. A change notification is sent to the NP driver unit 26. Similarly to the database of the daemon unit, the database 25 registers route information by dividing the tree for each VRF ID to which the own router belongs, as shown in FIG. In exchanging route information between databases, VRF ID and IP address (that is, IP address of destination and next hop) are exchanged.

NPドライバ部26は、後述するNPの各NP部を動作管理するとともに、カーネル部24から入力する経路情報を分配する分配手段としての機能を有する。このNPドライバ部26には、カーネル部24のデータベース25からの経路情報を、各VRFに対応させて登録するとともに、VRFと当該VRFに属するNPとを関連付けて記憶する記憶手段としてのデータベース27が接続されている。   The NP driver unit 26 manages the operation of each NP unit (to be described later) and has a function as a distribution unit that distributes route information input from the kernel unit 24. In the NP driver unit 26, a path 27 from the database 25 of the kernel unit 24 is registered in association with each VRF, and a database 27 as a storage unit that stores the VRF and the NP belonging to the VRF in association with each other is stored. It is connected.

NPドライバ部26は、情報処理手段としての機能を有し、カーネル部24から入力する経路情報に基づいて、VPNに属する新たな経路情報を生成してデータベース27に登録している。データベース27に登録される経路情報は、図5に示すように、たとえばVRFのIDを含むIPアドレスで構成されている。つまり、たとえば32ビットのIPアドレスは、16ビットの上段と下段に分けられ、その間にVRFのIDが挿入されて構成されており、このアドレスは、VRFのID毎にツリーを分けて、データベース27に登録されている。また、データベース27には、図6に示すように、VRFのIDとNPの関連付けのデータも格納されて、各NPがどのVRFに属するかを、たとえばフラグを立てて設定している。図6中では、♯0〜♯15のNPが、0〜10のVRFのいずれに属するかを関連付けている。   The NP driver unit 26 has a function as information processing means, and generates new route information belonging to the VPN based on the route information input from the kernel unit 24 and registers it in the database 27. As shown in FIG. 5, the route information registered in the database 27 is composed of, for example, an IP address including a VRF ID. That is, for example, a 32-bit IP address is divided into an upper stage and a lower stage of 16 bits, and a VRF ID is inserted between them. This address is divided into a tree for each VRF ID, and the database 27 It is registered in. In addition, as shown in FIG. 6, the database 27 also stores association data of VRF IDs and NPs, and sets which VRF each NP belongs to, for example, by setting a flag. In FIG. 6, NPs # 0 to # 15 are associated with which of VRFs 0 to 10 belongs.

また、NPドライバ部26は、図7の構成図に示すように、VRFのIDと宛先のIPアドレスの変更と関連付けに基づいて、データベース27の経路情報を生成するデータベース作成部26aと、VRFのIDとインターフェースの設定とによって、経路情報を送るNPを判断する送信NP判断部26bと、ガイドフレームを作成するガイドフレーム作成部26cと、作成されたガイドフレームを前記判断したNPに送信するフレーム送信部26dとを備える。   Further, as shown in the configuration diagram of FIG. 7, the NP driver unit 26 generates a path information of the database 27 based on the change and association of the VRF ID and the destination IP address, and the VRF A transmission NP determination unit 26b that determines an NP to send route information according to the ID and interface settings, a guide frame generation unit 26c that generates a guide frame, and a frame transmission that transmits the generated guide frame to the determined NP Part 26d.

また、NPは、自ルータに設定されたVRF毎にデータ転送を行う情報転送手段としての複数のNP部28〜30と、各NP部28〜30に接続されて、この接続されたNPから入力するVRF毎の経路情報を格納する格納手段としての経路情報テーブル31〜33とを備えている。   The NP is connected to a plurality of NP units 28 to 30 as information transfer means for transferring data for each VRF set in the own router, and is input from the connected NPs. Route information tables 31 to 33 as storage means for storing route information for each VRF.

次に、NPドライバ部26による動作を図8、図9のフローチャートに基づいて説明する。まず、初めにNPドライバ部26による経路情報の登録動作を図8のフローチャートに基づいて説明する。   Next, the operation of the NP driver unit 26 will be described based on the flowcharts of FIGS. First, the route information registration operation by the NP driver unit 26 will be described with reference to the flowchart of FIG.

ここで、経路情報の全体の流れとしては、BGPデーモン部20から通知された経路情報(VRFのIDと宛先IPアドレス(ネクストホップ)を、カーネル部24が取り込んで、NPドライバ部26に経路情報変更通知として通知する。図8において、データベース作成部26aは、カーネル部24から経路情報の変更通知があったかどうか判断しており(ステップ101)、この経路情報の変更通知を取り込むと、受けた経路情報のうち、VRFのIDと宛先のIPアドレスから、データベース27内のツリーに変更を加えて関連付けを行うことで、データベースを作成する(ステップ102)。   Here, as the entire flow of the route information, the kernel unit 24 captures the route information (VRF ID and destination IP address (next hop)) notified from the BGP daemon unit 20 and sends the route information to the NP driver unit 26. 8, the database creation unit 26a determines whether or not there has been a route information change notification from the kernel unit 24 (step 101), and when this route information change notification is captured, the received route is received. Of the information, the database is created by modifying the tree in the database 27 from the VRF ID and the destination IP address and associating them (step 102).

次に、送信NP判断部26bは、インターフェースデーモン部22からのインターフェース設定変更通知とデータベース27を確認して、必要なNPを判断する(ステップ103)。そして、この判断結果に基づき、ガイドフレームの作成を指示するコマンドを作成し、ガイドフレーム作成部26cに出力する(ステップ104)。   Next, the transmission NP determination unit 26b checks the interface setting change notification from the interface daemon unit 22 and the database 27 to determine a necessary NP (step 103). Based on the determination result, a command for instructing creation of a guide frame is created and output to the guide frame creation unit 26c (step 104).

ガイドフレーム作成部26cでは、このコマンドが入力すると、コマンドに応じてツリー構造の経路情報の変更を示すガイドフレームを作成し(ステップ105)、この作成したガイドフレームを、ステップ103で判断した必要なNP部(NP部28〜30のうちのいずれかのNP部)にイーサネット(登録商標)を介して送信する(ステップ106)。これにより、作成したVRF毎のガイドフレームを必要なNP部28〜30に送信して、該当する経路情報テーブル31〜33への登録を可能にする。   When this command is input, the guide frame creation unit 26c creates a guide frame indicating a change in the path information of the tree structure in accordance with the command (step 105), and the created guide frame needs to be determined in step 103. The data is transmitted to the NP unit (any one of the NP units 28 to 30) via the Ethernet (registered trademark) (step 106). As a result, the created guide frame for each VRF is transmitted to the necessary NP units 28 to 30 and can be registered in the corresponding route information tables 31 to 33.

なお、このガイドフレームは、図10のフレーム構成図に示すように、1つのフレームヘッダと、いくつかのガイドコマンドとから構成され、このフレームヘッダには、フレームの制御情報が格納され、ガイドコマンドには、検索ツリーへの追加を示すインサートリーフ(Insert Leaf)のコマンドと、検索ツリーへ追加されるVRFごとの経路情報が格納されるインサートリーフフォーマット(Insert Leaf Format)と、エンドデリミターフォーマット(end Delimiter Format)と、フレームの最後を示すエンドデリミター(end Delimiter)が格納されている。なお、コマンドとしては、この他に検索ツリーから経路情報を削除するデリートリーフ(Delete Leaf)などがある。また、コマンドが複数の場合には、ガイドコマンド部分が複数になる。   As shown in the frame configuration diagram of FIG. 10, this guide frame is composed of one frame header and several guide commands. In this frame header, frame control information is stored. Includes an insert leaf (Insert Leaf) command indicating addition to the search tree, an insert leaf format (Insert Leaf Format) in which path information for each VRF added to the search tree is stored, and an end delimiter format ( End delimiter format) and an end delimiter indicating the end of the frame are stored. As other commands, there is a delete leaf (Delete Leaf) for deleting route information from the search tree. When there are a plurality of commands, there are a plurality of guide command portions.

次に、インターフェース設定の追加の動作を図9のフローチャートに基づいて説明する。このインターフェース設定の追加の場合には、NPドライバ部26のデータベース27は、既に作成されているので、インターフェースデーモン部22からのインターフェース設定変更通知が入力すると(ステップ201)、送信NP判断部26bがインターフェースの設定とデータベース27を確認して、必要なNPを判断する(ステップ202)。そして、この判断結果に基づき、ガイドフレームの作成を指示するコマンドを作成し、ガイドフレーム作成部26cに出力する(ステップ203)。   Next, the interface setting addition operation will be described with reference to the flowchart of FIG. In the case of addition of this interface setting, since the database 27 of the NP driver unit 26 has already been created, when the interface setting change notification is input from the interface daemon unit 22 (step 201), the transmission NP determining unit 26b The interface setting and the database 27 are checked to determine the necessary NP (step 202). Based on the determination result, a command for instructing the creation of a guide frame is created and output to the guide frame creation unit 26c (step 203).

ガイドフレーム作成部26cは、このコマンドが入力すると、コマンドに応じてツリー構造の経路情報の変更を示すガイドフレームを作成し(ステップ204)、この作成したガイドフレームを、ステップ202で判断した必要なNP部(インターフェースの設定変更の場合には、変更部分に関わるNP部)に送信する(ステップ205)。これにより、作成したVRF毎のガイドフレームを必要なNP部28〜30に送信して、該当する経路情報テーブル31〜33への登録を可能にする。   When this command is input, the guide frame creation unit 26c creates a guide frame indicating a change in the path information of the tree structure in accordance with the command (step 204), and the created guide frame needs to be determined in step 202. It is transmitted to the NP unit (in the case of interface setting change, the NP unit related to the changed part) (step 205). As a result, the created guide frame for each VRF is transmitted to the necessary NP units 28 to 30 and can be registered in the corresponding route information tables 31 to 33.

次に、装置の起動、NP部が搭載されたボードの抜き差し(NPの追加または削除)の動作について説明する。ここで、装置が起動すると、インターフェースデーモン部22でボードの抜き差しが検出され、装置としての設定の再構築が行われ、インターフェースの登録、経路情報の取得などが行われる。   Next, the operation of starting the apparatus and removing / inserting the board (NP addition or deletion) on which the NP unit is mounted will be described. Here, when the apparatus is activated, the interface daemon unit 22 detects board insertion / removal, rebuilds the settings of the apparatus, registers the interface, acquires route information, and the like.

NPドライバ部26では、図8と同様に、経路情報変更通知がなされ、データベース27への経路情報の登録が終了した後に、インターフェースの設定確認をして、必要なNP部を判断して、作成したVRF毎のガイドフレームを必要なNP部28〜30に送信して、該当する経路情報テーブル31〜33への登録を可能にする。   In the NP driver unit 26, as in FIG. 8, the route information change notification is made, and after registration of the route information in the database 27 is completed, the interface setting is confirmed, and the necessary NP unit is determined and created. The guide frame for each VRF is transmitted to the necessary NP units 28 to 30 to enable registration in the corresponding route information tables 31 to 33.

このように、この実施の形態では、各VRF毎の経路情報をNPドライバ部で作成し、このVRF毎の経路情報を当該VRFに属するNP部にのみ送信して経路情報テーブルに格納するので、従来の全ての経路情報を各NP部に送信する場合に較べて、高速で、かつ低メモリ量の経路情報テーブルを用いることが可能となり、このためデータベースのメモリ容量および経路情報の配信処理時間を低減することができる。   Thus, in this embodiment, the route information for each VRF is created by the NP driver unit, and the route information for each VRF is transmitted only to the NP unit belonging to the VRF and stored in the route information table. Compared to the case where all the conventional route information is transmitted to each NP unit, it is possible to use a route information table with a high speed and a low memory amount. Therefore, the memory capacity of the database and the distribution processing time of the route information can be reduced. Can be reduced.

なお、この発明では、インターフェースの設定やコンソールからの設定などに対する経路情報の登録動作は、たとえば同時に発生する場合を想定して、優先順位を設定することが可能である。   In the present invention, it is possible to set the priority order assuming that the route information registration operation for the interface setting, the setting from the console, and the like occur simultaneously, for example.

また、この発明の経路情報登録方法は、たとえばVPNが設定されていない場合にも用いることが可能である。この場合には、たとえばVRFのIDは「0」に設定され、インターネットルートもVPNの一つとして扱い、VPNが設定されたネットワークなどと区別される。これによって、分配手段としてのNPドライバ部を用いて経路情報を分配することが可能となり、データベースのメモリ容量および経路情報の配信処理時間を、さらに低減することが可能となる。   Further, the route information registration method of the present invention can be used even when, for example, VPN is not set. In this case, for example, the ID of the VRF is set to “0”, the Internet route is also treated as one of the VPNs, and is distinguished from a network or the like in which the VPN is set. As a result, it is possible to distribute route information using the NP driver unit as distribution means, and it is possible to further reduce the memory capacity of the database and the route information distribution processing time.

本発明にかかるデータ中継装置を用いたデータ中継システムの構成を示す構成図である。It is a block diagram which shows the structure of the data relay system using the data relay apparatus concerning this invention. 図1に示したPEルータの経路情報登録機能の構成を示す構成図である。It is a block diagram which shows the structure of the routing information registration function of PE router shown in FIG. 図2に示したBGPデーモン部のデータベースのデータ構成を示す構成図である。It is a block diagram which shows the data structure of the database of the BGP daemon part shown in FIG. 図2に示したカーネル部のデータベースのデータ構成を示す構成図である。FIG. 3 is a configuration diagram illustrating a data configuration of a database of a kernel unit illustrated in FIG. 2. 図2に示したNPドライバ部のデータベースのアドレスのデータ構成を示す構成図である。FIG. 3 is a configuration diagram illustrating a data configuration of a database address of the NP driver unit illustrated in FIG. 2. 同じく、NPドライバ部のデータベースのVRF IDとNPの関連付けのデータ構成を示す構成図である。Similarly, it is the block diagram which shows the data structure of correlation of VRF ID and NP of the database of an NP driver part. 図2に示したNPドライバ部の構成を示す構成図である。FIG. 3 is a configuration diagram illustrating a configuration of an NP driver unit illustrated in FIG. 2. NPドライバ部の経路情報登録動作を説明するためのフローチャートである。It is a flowchart for demonstrating the routing information registration operation | movement of a NP driver part. NPドライバ部のインターフェースの変更動作を説明するためのフローチャートである。It is a flowchart for demonstrating the change operation | movement of the interface of a NP driver part. ガイドフレームのフレーム構成を示す構成図である。It is a block diagram which shows the frame structure of a guide frame.

符号の説明Explanation of symbols

1 バックボーンネットワーク
2,3 ルータ
4〜7 LAN
20 BGPデーモン部
21 インターフェース回路(I/F回路)
22 インターフェースデーモン部
23,25,27 データベース
24 カーネル部
26 NPドライバ部
26a データベース作成部
26b 送信NP判断部
26c ガイドフレーム作成部
26d フレーム送信部
28〜30 NP部
31〜33 経路情報テーブル
40 コンソール
1 Backbone network 2, 3 router 4-7 LAN
20 BGP daemon part 21 Interface circuit (I / F circuit)
22 Interface daemon unit 23, 25, 27 Database 24 Kernel unit 26 NP driver unit 26a Database creation unit 26b Transmission NP determination unit 26c Guide frame creation unit 26d Frame transmission unit 28-30 NP unit 31-33 Path information table 40 Console

Claims (8)

コネクション型通信の経路交換プロトコルを用いてそれぞれ異なるデータ中継装置とコネクションを張って、経路情報の交換を行い、前記交換した経路情報を、ネットワークプロセッサによってデータの転送処理を行う複数の情報転送手段によるデータ転送が可能なようにデータベースに登録する経路情報登録方法において、
予め設定されたネットワークによって構築される特定ユーザの経路情報の交換を行い、かつ前記経路情報から各ネットワークに属する経路情報を生成する経路情報生成工程と、
前記経路情報生成工程によって生成された経路情報をデータベースに登録する登録工程と、
前記ネットワークに関する情報と前記情報転送手段に関する情報とを関連付けて記憶手段に記憶する記憶する記憶工程と、
前記記憶工程によって記憶された関連付けの情報に基づいて、前記ネットワークに属する経路情報を、当該ネットワークに属する特定ユーザが接続された前記情報転送手段にのみ分配する分配工程と、
前記情報転送手段が、前記分配工程によって分配された前記ネットワークに属する経路情報を該情報転送手段の格納手段に格納する格納工程と、
を含むことを特徴とする経路情報登録方法。
A plurality of information transfer means for establishing a connection with different data relay apparatuses using a path exchange protocol for connection type communication, exchanging path information, and performing data transfer processing on the exchanged path information by a network processor In the route information registration method to register in the database so that data transfer is possible,
A route information generation step of exchanging route information of a specific user constructed by a preset network and generating route information belonging to each network from the route information;
A registration step of registering the route information generated by the route information generation step in a database;
A storage step of storing information relating to the network and information relating to the information transfer means in association with each other;
A distribution step of distributing the route information belonging to the network only to the information transfer means to which a specific user belonging to the network is connected based on the association information stored in the storage step;
A storage step in which the information transfer means stores route information belonging to the network distributed by the distribution step in a storage means of the information transfer means;
A route information registration method comprising:
前記登録工程では、前記経路情報を所定ビットで分け、該分けた経路情報の間に前記ネットワークの情報を挿入することで、ネットワークに属する経路情報を前記データベースに格納することを特徴とする請求項1に記載の経路情報登録方法。   The route information belonging to a network is stored in the database by dividing the route information by predetermined bits in the registration step and inserting the network information between the divided route information. 1. The route information registration method according to 1. 前記分配工程では、インターフェースの設定変更に応じて、当該設定変更にかかるネットワークに属する経路情報を、当該ネットワークに属する特定ユーザが接続された前記情報転送手段に分配することを特徴とする請求項1に記載の経路情報登録方法。   2. The distribution process according to claim 1, wherein in accordance with the interface setting change, route information belonging to the network related to the setting change is distributed to the information transfer means connected to a specific user belonging to the network. The route information registration method described in 1. 前記ネットワークは、VPNによって設定されるネットワークであることを特徴とする請求項1〜3のいずれか一つに記載の経路情報登録方法。   The route information registration method according to claim 1, wherein the network is a network set by VPN. コネクション型通信の経路交換プロトコルを用いてそれぞれ異なるデータ中継装置とコネクションを張って、予め設定されたネットワークによって構築される特定ユーザの経路情報の交換を行い、かつ前記経路情報から各ネットワークに属する経路情報を生成する経路交換手段と、
前記経路交換手段によって生成された経路情報の情報処理を行う情報処理手段と、
前記情報処理手段によって処理された経路情報を登録するデータベースと、
前記経路情報に基づいて、データの転送処理を行うネットワークプロセッサを備えた複数の情報転送手段と、
を有したデータ中継装置であって、
前記情報処理手段は、
前記ネットワークに関する情報と前記情報転送手段に関する情報とを関連付けて記憶する記憶手段と、
前記記憶手段に記憶された関連付けの情報に基づいて、前記ネットワークに属する経路情報を、当該ネットワークに属する特定ユーザが接続された前記情報転送手段にのみ分配する分配手段と、を備え、
前記情報転送手段は、
前記分配手段によって分配された前記ネットワークに属する経路情報を格納する格納手段を備えたことを特徴とするデータ中継装置。
A connection with a different data relay apparatus is established using a path exchange protocol for connection-type communication, a path information of a specific user constructed by a preset network is exchanged, and a path belonging to each network from the path information A route exchange means for generating information;
Information processing means for processing the route information generated by the route exchange means;
A database for registering route information processed by the information processing means;
A plurality of information transfer means comprising a network processor for performing data transfer processing based on the path information;
A data relay device having
The information processing means includes
Storage means for storing information relating to the network and information relating to the information transfer means in association with each other;
A distribution unit that distributes route information belonging to the network only to the information transfer unit to which a specific user belonging to the network is connected based on the association information stored in the storage unit;
The information transfer means includes
A data relay apparatus comprising storage means for storing route information belonging to the network distributed by the distribution means.
前記情報処理手段は、前記経路情報を所定ビットで分け、該分けた経路情報の間に前記ネットワークの情報を挿入することで、ネットワークに属する経路情報を前記データベースに格納することを特徴とする請求項5に記載のデータ中継装置。   The information processing means stores route information belonging to a network in the database by dividing the route information into predetermined bits and inserting the network information between the divided route information. Item 6. The data relay device according to Item 5. 前記分配手段は、インターフェースの設定変更に応じて、当該設定変更にかかるネットワークに属する経路情報を、当該ネットワークに属する特定ユーザが接続された前記情報転送手段に分配することを特徴とする請求項5に記載のデータ中継装置。   The distribution unit distributes the route information belonging to the network related to the setting change to the information transfer unit to which a specific user belonging to the network is connected according to the interface setting change. The data relay device described in 1. 前記ネットワークは、VPNによって設定されるネットワークであることを特徴とする請求項5〜7のいずれか一つに記載のデータ中継装置。   The data relay device according to claim 5, wherein the network is a network set by VPN.
JP2004024317A 2004-01-30 2004-01-30 Route information registration method and data relay device Expired - Fee Related JP4369768B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004024317A JP4369768B2 (en) 2004-01-30 2004-01-30 Route information registration method and data relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004024317A JP4369768B2 (en) 2004-01-30 2004-01-30 Route information registration method and data relay device

Publications (2)

Publication Number Publication Date
JP2005217933A JP2005217933A (en) 2005-08-11
JP4369768B2 true JP4369768B2 (en) 2009-11-25

Family

ID=34907038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004024317A Expired - Fee Related JP4369768B2 (en) 2004-01-30 2004-01-30 Route information registration method and data relay device

Country Status (1)

Country Link
JP (1) JP4369768B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7894450B2 (en) * 2007-12-31 2011-02-22 Nortel Network, Ltd. Implementation of VPNs over a link state protocol controlled ethernet network
JP5498102B2 (en) * 2009-09-02 2014-05-21 アラクサラネットワークス株式会社 Network system, network relay device, and control method thereof

Also Published As

Publication number Publication date
JP2005217933A (en) 2005-08-11

Similar Documents

Publication Publication Date Title
CN102576343B (en) Computer system and virtual machine migration method
US7859992B2 (en) Router redundancy in data communication networks
JP5488979B2 (en) Computer system, controller, switch, and communication method
US10263808B2 (en) Deployment of virtual extensible local area network
EP2731313A1 (en) Distributed cluster processing system and message processing method thereof
JP2017506025A (en) System and method for performing network service insertion
CN101911600A (en) Mapless global traffic load balancing via anycast
JP2001326693A (en) Communication system and method for controlling communication, and control program recording medium
KR20090003225A (en) Computer-implemented method, computer readable medium, and mesh network connection device for connecting multi-hop mesh network using MAC bridge
CN103825826B (en) The implementation method and device of a kind of dynamic routing
CN110891018A (en) Network traffic recovery method and device, SDN controller and storage medium
JP2004320693A (en) Packet control system, packet control device, packet relay device, and packet control program
US8612626B2 (en) Group member detection among nodes of a network
US8559431B2 (en) Multiple label based processing of frames
US20190215191A1 (en) Deployment Of Virtual Extensible Local Area Network
CN108289044A (en) Data forwarding method, the link-state and the network equipment for determining static routing
CN101926126B (en) Method and system for providing default route advertisement protection
EP2824875B1 (en) Information receiving and sending methods and apparatuses
CN106982162B (en) Method, apparatus and system for forwarding traffic flow
JP4286710B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL SYSTEM, COMMUNICATION CONTROL METHOD, AND COMPUTER PROGRAM
JP4011528B2 (en) Network virtualization system
JP4369768B2 (en) Route information registration method and data relay device
EP3923528B1 (en) Neighbor relationship management method and apparatus, device and storage medium
WO2015113456A1 (en) Method for generating media access control table, and network device
JP2002208946A (en) Route information notification method, VPN service, and edge router device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070213

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070501

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070619

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070706

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

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

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130904

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees