レス
前レス
元トピ
次レスタイトル
Re: 問題ID: 12623
フォーラム
最強WEB問題集CCNA
投稿ユーザ(投稿日)
(2015/12/20)本文
やってみましたけど、解説のとおりですよ?
まず、以下のように各インターフェースにアドレス割り当てします。また、show ip ospfでOSPFが動作していないことの確認もしています。
[code]
RA#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.2 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
RA#show ip ospf
RB#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.1 YES manual up up
Serial0/0 192.168.3.1 YES manual up down
FastEthernet0/1 unassigned YES unset administratively down down
RB#show ip ospf
RC#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 192.168.1.3 YES manual up up
RC#show ip ospf
[/code]
で、設問の通り192.168.1.0/24のネットワークでOSPFを有効にしてみます。
[code]
conf t
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
end
[/code]
FULL状態になった後で確認したら、設問の通りRBがDRになっています。そしてルータIDも192.168.3.1とS0/0のアドレスになっていますね。
[code]
RA#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 FULL/BDR 00:00:38 192.168.1.3 FastEthernet0/0
192.168.3.1 1 FULL/DR 00:00:38 192.168.1.1 FastEthernet0/0
RB#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.2 1 FULL/DROTHER 00:00:36 192.168.1.2 FastEthernet0/0
192.168.1.3 1 FULL/BDR 00:00:37 192.168.1.3 FastEthernet0/0
RC#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.2 1 FULL/DROTHER 00:00:36 192.168.1.2 FastEthernet0/1
192.168.3.1 1 FULL/DR 00:00:36 192.168.1.1 FastEthernet0/1
[/code]
では、Gateau1998 さんの言われるように、RAのLoopback0に
RBのS0/0より小さく、Fa0/0のアドレスより大きいアドレス(192.168.2.1/24)を割り当ててみます。
[code]
RA#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.2 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
Loopback0 192.168.2.1 YES manual up up ←ここ
[/code]
で、いったんOSPFを無効にして、再度192.168.1.0/24でOSPFを有効にしてみます。すると、やはりRBがDRのままです。もちろん、RBにはLoopbackとか設定してないですよ :-)
[code]
RA#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 FULL/DROTHER 00:00:35 192.168.1.3 FastEthernet0/0
192.168.3.1 1 FULL/DR 00:00:34 192.168.1.1 FastEthernet0/0
RB#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 FULL/DROTHER 00:00:36 192.168.1.3 FastEthernet0/0
192.168.2.1 1 FULL/BDR 00:00:33 192.168.1.2 FastEthernet0/0
RC#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.2.1 1 FULL/BDR 00:00:35 192.168.1.2 FastEthernet0/1
192.168.3.1 1 FULL/DR 00:00:37 192.168.1.1 FastEthernet0/1
[/code]
-----引用(始)-----
同じく明記されていないプライオリティに関しては1が前提で「RAのFa0/0のプライオリティの値だけ2にする」が正解になっていますが。。
-----引用(終)-----
インターフェースのOSPFプライオリティはデフォルトで1ですので、
「1であることは大前提」ですよ (^^;
レス一覧
前レス
元トピ
次レス
Copyright (c) 2010
Ping-t All rights reserved.