問題
R2#show ip ospf neighbor
R2#show ip ospf interface fastEthernet 1/1
FastEthernet1/1 is up, line protocol is up
Internet Address 192.168.0.5/30, Area 0
Process ID 1, Router ID 10.0.0.5, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 10.0.0.5, Interface address 192.168.0.5
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:00
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R2#ping 192.168.0.6 df-bit size 1500
Type escape sequence to abort.
Sending 5, 1500-byte ICMP Echos to 192.168.0.6, timeout is 2 seconds:
Packet sent with the DF bit set
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/12/16 ms
R3#show ip ospf neighbor
R3#show ip ospf interface fastEthernet 1/1
FastEthernet1/1 is up, line protocol is up
Internet Address 192.168.0.6/29, Area 0
Process ID 1, Router ID 10.0.0.3, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 10.0.0.3, Interface address 192.168.0.6
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:06
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R3#ping 192.168.0.5 df-bit size 1500
Type escape sequence to abort.
Sending 5, 1500-byte ICMP Echos to 192.168.0.5, timeout is 2 seconds:
Packet sent with the DF bit set
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/12/20 ms

図の2つのインターフェースでOSPFの隣接関係が成立しない理由はどれか。
- A
MTUが同じではない。
- B
OSPFのタイマーが異なる。
- C
OSPFインターフェースのNetwork Typeが一致していない。
- D
IPサブネットマスクが同じではない。
正解:D
理由
R2は192.168.0.5/30、R3は192.168.0.6/29であり、両方のNetwork TypeはBROADCASTである。OSPFv2のBroadcastでは受信HelloのNetwork Maskを自身の設定と比較し、不一致なら破棄する。両方のHello 10とDead 40は一致している。相互の1500-byte、DF付きPingが成功していても、Helloのマスク一致を示すことにはならない。
選択肢ごとの説明
- A.
MTUが同じではない。
図にMTUの設定値はない。1500バイトのDF付きpingは成功しているが、その結果だけでMTUの一致・不一致は確定できない。図で確認できるHelloの不一致はサブネットマスクである。
- B.
OSPFのタイマーが異なる。
両側ともHello 10、Dead 40であり、図のタイマーは一致している。
- C.
OSPFインターフェースのNetwork Typeが一致していない。
両側ともBROADCASTであり、図にNetwork Typeの不一致はない。
- D.
IPサブネットマスクが同じではない。
R2の/30とR3の/29が異なる。BroadcastのHelloではNetwork Maskを比較するため、この差でHelloを破棄する。