問題
R1のR2接続はFa0/0=10.100.1.1/24、R2は10.100.1.2/24でarea 0へ参加済みである。R1のほかのリンクではOSPFネイバーを作らず、R1をDR/BDR候補から外し、Router IDを10.1.1.1にする。既存OSPF設定がないR1へ適用する設定はどれか。
- A
router ospf 1 router-id 10.1.1.1 exit interface FastEthernet0/0 ip ospf 1 area 0 ip ospf priority 0 - B
router ospf 1 router-id 10.1.1.1 exit interface FastEthernet0/0 ip ospf 1 area 0 ip ospf priority 1 - C
router ospf 1 router-id 10.1.1.2 exit interface FastEthernet0/0 ip ospf 1 area 0 ip ospf priority 0 - D
router ospf 1 ospf router-id 10.1.1.1 exit interface FastEthernet0/0 ip ospf 1 area 0 ip ospf priority 0
正解:A
理由
OSPFをFa0/0だけで有効にし、router-id 10.1.1.1とinterface配下の次の設定を組み合わせる。
ip ospf priority 0
Priority 0はbroadcastでDR/BDR候補から外れる値である。
選択肢ごとの説明
- A.
router ospf 1 router-id 10.1.1.1 exit interface FastEthernet0/0 ip ospf 1 area 0 ip ospf priority 0 R2側だけでOSPFを有効にし、Router IDと候補除外priority 0を両方指定する。
- B.
router ospf 1 router-id 10.1.1.1 exit interface FastEthernet0/0 ip ospf 1 area 0 ip ospf priority 1 priority 1はDR/BDR候補になるので、選出へ参加しない条件を満たさない。
- C.
router ospf 1 router-id 10.1.1.2 exit interface FastEthernet0/0 ip ospf 1 area 0 ip ospf priority 0 Router IDが指定の10.1.1.1ではなく10.1.1.2である。
- D.
router ospf 1 ospf router-id 10.1.1.1 exit interface FastEthernet0/0 ip ospf 1 area 0 ip ospf priority 0 router ospf配下の識別子指定はrouter-idを使う。