問題
2台のルーターをEthernetで直接接続し、Gi0/0でOSPFを動かす。両端で同じareaとHello/Deadを使い、DR/BDRを選ばずに隣接するpoint-to-pointの動作へそろえたい。Gi0/0に行う設定はどれか。
- A
interface GigabitEthernet0/0 ip ospf cost 5 - B
interface GigabitEthernet0/0 ip ospf priority 1 - C
interface GigabitEthernet0/0 ip ospf 1 area 2 - D
interface GigabitEthernet0/0 ip ospf network point-to-point
正解:D
理由
OSPFのnetwork typeは媒体の既定値から変更できる。Ethernet上でも、両端に次の設定を使う。
ip ospf network point-to-point
DR/BDRを選ばない動作になる。
選択肢ごとの説明
- A.
interface GigabitEthernet0/0 ip ospf cost 5 costは経路計算上の重みであり、network typeをpoint-to-pointへ変えない。
- B.
interface GigabitEthernet0/0 ip ospf priority 1 broadcastでのDR/BDR候補優先度を指定するが、選出を行わないnetwork typeにはしない。
- C.
interface GigabitEthernet0/0 ip ospf 1 area 2 OSPFプロセスとareaを指定する操作である。
- D.
interface GigabitEthernet0/0 ip ospf network point-to-point Ethernetでもpoint-to-pointとして動作させられ、DR/BDR選出を使わなくなる。