A Cisco router is booted with the following interfaces configured and in the up/up state:
- Loopback0: 10.10.10.1/32
- Loopback1: 172.16.100.1/32
- GigabitEthernet0/0: 192.168.10.1/24
- GigabitEthernet0/1: 192.168.200.1/24
An administrator configures OSPFv2 on the router using the following commands:
text
Router(config)# router ospf 1
Router(config-router)# network 192.168.10.0 0.0.0.255 area 0
No `router-id` command is specified. Which IP address will OSPFv2 select as the Router ID for process 1?
- 172.16.100.1Cevap
- B192.168.200.1
- C192.168.10.1
- D10.10.10.1
Cevap
172.16.100.1 is selected because it is the highest IPv4 address among all active loopback interfaces on the router.
OSPFv2 uses a strict order of precedence to determine the Router ID: 1) Explicitly configured `router-id` command, 2) Highest IPv4 address of any active (up/up) loopback interface, 3) Highest IPv4 address of any active non-loopback interface. Since no `router-id` command is configured, OSPF inspects the active loopback interfaces (10.10.10.1 and 172.16.100.1) and selects the highest IP address (172.16.100.1). It is not required for OSPF to be enabled on that loopback interface.
Adım Adım Çözüm
Anahtar Kavram
OSPFv2 Router ID Election Priority Hierarchy
Tahmini Süre:1m 0s