H O M E > ネットワークのおべんきょしませんか? Cisco CCNA/CCNP/CCIE、ネットワークスペシャリスト試験の勉強にピッタリ > 2010年2月
(所属カテゴリー:IPルーティング | シスコ---投稿日時:2010年2月12日)
下記のネットワーク構成でMPLSによるラベルスイッチングができるようにします。
R1~R3でMPLSに関連する設定の抜粋は次の通りです。
R1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ interface Loopback0 ip address 192.168.0.1 255.255.255.255 ! interface Serial1/0 ip address 192.168.12.1 255.255.255.0 encapsulation ppp mpls ip no peer neighbor-route ! router ospf 1 router-id 192.168.0.1 log-adjacency-changes network 192.168.0.1 0.0.0.0 area 0 network 192.168.12.1 0.0.0.0 area 0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ interface Loopback0 ip address 192.168.0.2 255.255.255.255 ! interface Loopback200 ip address 200.200.200.200 255.255.255.255 ! interface Serial1/0 ip address 192.168.12.2 255.255.255.0 encapsulation ppp mpls ip no peer neighbor-route ! interface Serial1/1 ip address 192.168.23.2 255.255.255.0 encapsulation ppp mpls ip no peer neighbor-route ! router ospf 1 router-id 192.168.0.2 log-adjacency-changes network 192.168.0.2 0.0.0.0 area 0 network 192.168.12.2 0.0.0.0 area 0 network 192.168.23.2 0.0.0.0 area 0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ interface Loopback0 ip address 192.168.0.3 255.255.255.255 ! interface Serial1/0 ip address 192.168.23.3 255.255.255.0 encapsulation ppp mpls ip no peer neighbor-route ! router ospf 1 router-id 192.168.0.3 log-adjacency-changes network 192.168.0.3 0.0.0.0 area 0 network 192.168.23.3 0.0.0.0 area 0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
次のように各ルータのインタフェースでMPLSを有効化しています。
R1 show mpls interface ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R1#show mpls interfaces Interface IP Tunnel Operational Serial1/0 Yes (ldp) No Yes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R2 show mpls interface ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R2#show mpls interfaces Interface IP Tunnel Operational Serial1/0 Yes (ldp) No Yes Serial1/1 Yes (ldp) No Yes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R3 show mpls interface ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R3#show mpls interfaces Interface IP Tunnel Operational Serial1/0 Yes (ldp) No Yes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ところが、R2との間でLDPネイバーを確立することができていません。R2でshow mpls ldp neighborを見ると、次のようになります。
R2 show mpls ldp neighbor ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R2#show mpls ldp neighbor ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
R2との間でLDPネイバーを確立できないので、ラベル配布ができていません。通信はできるもののラベルスイッチングではなく、通常のIPルーティングになってしまっています。