問題
Router AのLAN 192.168.1.0/24をRouter BへOSPFで広告したい。B側は設定済みだが、Bの経路表にLANがない。AではOSPFv3のIPv4アドレスファミリーがSerial0/0/1でだけ有効になっている。Aに追加する構成はどれか。

- A
interface GigabitEthernet0/0/0 ip address 192.168.1.254 255.255.255.0 negotiation auto ipv6 enable interface Serial0/0/0 ip address 10.0.0.1 255.255.255.252 ipv6 enable ospfv3 1 ipv4 area 1 router ospfv3 1 address-family ipv4 unicast router-id 1.1.1.1 exit-address-family - B
interface GigabitEthernet0/0/0 ip address 192.168.1.254 255.255.255.0 negotiation auto ipv6 enable ospfv3 1 ipv4 area 1 interface Serial0/0/0 ip address 10.0.0.1 255.255.255.252 ipv6 enable ospfv3 1 ipv4 area 1 router ospfv3 1 address-family ipv4 unicast router-id 1.1.1.1 exit-address-family - C
interface Serial0/0/0 ip address 10.0.0.1 255.255.255.252 ipv6 enable ospfv3 1 ipv4 area 1 router ospfv3 1 address-family ipv4 unicast area 1 range 192.168.1.0 255.255.255.0 router-id 1.1.1.1 exit-address-family - D
interface GigabitEthernet0/0/0 ip address 192.168.1.254 255.255.255.0 negotiation auto ipv6 enable ospfv3 1 ipv4 area 1 interface Serial0/0/0 ip address 10.0.0.1 255.255.255.252 ipv6 enable router ospfv3 1 address-family ipv4 unicast router-id 1.1.1.1 exit-address-family
正解:B
理由
IPv4経路をOSPFv3で広告する場合も、経路の生成元LANと隣接装置へつながるリンクを対象アドレスファミリーへ含める。IPv6 enableはOSPFv3が使うリンクローカル通信のために必要となる。
選択肢ごとの説明
- A.
interface GigabitEthernet0/0/0 ip address 192.168.1.254 255.255.255.0 negotiation auto ipv6 enable interface Serial0/0/0 ip address 10.0.0.1 255.255.255.252 ipv6 enable ospfv3 1 ipv4 area 1 router ospfv3 1 address-family ipv4 unicast router-id 1.1.1.1 exit-address-family B向けSerialでは有効になるが、LAN側にOSPFv3がなく192.168.1.0/24を広告しない。
- B.
interface GigabitEthernet0/0/0 ip address 192.168.1.254 255.255.255.0 negotiation auto ipv6 enable ospfv3 1 ipv4 area 1 interface Serial0/0/0 ip address 10.0.0.1 255.255.255.252 ipv6 enable ospfv3 1 ipv4 area 1 router ospfv3 1 address-family ipv4 unicast router-id 1.1.1.1 exit-address-family LAN側とRouter B向けSerialの両方をOSPFv3 IPv4のarea1へ含める。
- C.
interface Serial0/0/0 ip address 10.0.0.1 255.255.255.252 ipv6 enable ospfv3 1 ipv4 area 1 router ospfv3 1 address-family ipv4 unicast area 1 range 192.168.1.0 255.255.255.0 router-id 1.1.1.1 exit-address-family area rangeだけではLANインターフェースをOSPFへ参加させられない。
- D.
interface GigabitEthernet0/0/0 ip address 192.168.1.254 255.255.255.0 negotiation auto ipv6 enable ospfv3 1 ipv4 area 1 interface Serial0/0/0 ip address 10.0.0.1 255.255.255.252 ipv6 enable router ospfv3 1 address-family ipv4 unicast router-id 1.1.1.1 exit-address-family LAN側だけを有効にし、B向けSerialをOSPFv3へ参加させていない。