I noticed one thing whilst doing the lab in ch4 from cisco BSCI third edition by Diane Teare and Catherine Paquet.
For simplicity I have two Routers connected to each other via fastethernet. P1R1 and P1R3 (just had ospf priority set to 0) I also did a clear ip ospf process to make sure election held again.
My question is why does P1R3 show the neighbor as 10.0.0.11 (which is the correct router id of P1R1) yet the printout shows DR is 10.1.1.1. Is that in that part is always puts the ip address of the interface it is connected to rather than the router id?
P1R3#sh ip ospf neig det
Neighbor 10.0.0.11, interface address 10.1.1.1
In the area 1 via interface FastEthernet0/0
Neighbor priority is 1, State is FULL, 12 state changes
DR is 10.1.1.1 BDR is 0.0.0.0
P1R1#show ip proto
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 10.0.0.11
show ip ospf neighbor displays OSPF-neighbor information on a per-interface basis and thus it uses the IP address of the interface to which this neighbor is directly connected (the interface IP address of the neighbor), please check the following links: