A Cisco router has three active interfaces with the following operational statuses and IPv4 addresses:
- Loopback 10: 10.200.1.1/24 (up/up)
- Loopback 20: 172.16.50.1/24 (up/up)
- GigabitEthernet 0/0: 192.168.100.1/24 (up/up)
The OSPFv2 process is initialized using the `router ospf 100` command without an explicitly configured router-id command.
What IPv4 address will be selected as the OSPFv2 Router ID for this router?
Cevap: 172.16.50.1
Cevap
172.16.50.1
OSPFv2 determines its Router ID using a strict three-tier precedence logic: (1) an explicitly configured OSPF router-id command, (2) the highest IPv4 address among active loopback interfaces, and (3) the highest IPv4 address among active non-loopback (physical) interfaces. Because no manual router ID was configured, the router compares the loopback interfaces (10.200.1.1 and 172.16.50.1) and chooses the highest value, 172.16.50.1. Physical interfaces like GigabitEthernet 0/0 are not considered because active loopbacks exist.
Adım Adım Çözüm
Anahtar Kavram
OSPFv2 Router ID Selection Precedence