18

Mar

Routing protocol

The routing protocol is a protocol used by routers to exchange information.The router uses a routing protocol to exchange route information and dynamically creates and updates a routing table.Then, refer to the routing table to select the optimal route to the destination network.

ルーティングプロトコルはIGPとEGPに大別できる。1つのAS内で利用するルーティングプロトコルがIGP、AS間を相互接続するのに利用するプロトコルがEGPである。代表的なIGPとEGPはそれぞれOSPFとBGPだ。このためネスペ試験ではこれらを取り上げることがほとんどである。

OSPFの特徴は、回線の帯域や信頼性を考慮すること。メトリックを計算する際に、接続しているネットワークの種類や帯域を考慮したコストを用いる。

ルーティングプロトコル

The cost in OSPF is the value set by the network administrator to the interface of each router, and is determined based on bandwidth and reliability.A value that adds the cost on the route is used as a metric.Then select a small path of the metric.

例えば、宛先ネットワークに到達する経路が複数あるとする(図1-1)。送信元ネットワークのルーターAから宛先ネットワークのルーターEまで、(1)ルーターA→ルーターB→ルーターD→ルーターEおよび(2)ルーターA→ルーターC→ルーターEの2種類である。100Mビット/秒の回線で接続しているインターフェースのコストを「10」、1Gビット/秒の回線で接続しているインターフェースのコストを「1」に設定したとしよう。

図1-1●帯域を考慮してルーティングする「OSPF」OSPFの特徴は、回線の帯域や信頼性を考慮したルーティングテーブルを作成できること。メトリックの計算には、接続しているネットワークの種類や帯域を考慮したコストを用いる。図中では省略しているが、OSPFのコストはインターフェースごとに割り当てる。[画像のクリックで拡大表示]

In this case, the route (2) has a smaller hop (number of routers via), but the metric, which is the total cost of the route (1), is smaller.For this reason, OSPF selects the route (1) as the optimal route.

This article is a paid members only.Please log in or apply on the next page.

Next page BGP for large -scale networks