volfkhat wrote: » So... it is legal to have two Routers with the same RID?
If not the it happens in this order 1. Priority 2. RID 3.HIghest Loopback address 4.HIghest IP address
volfkhat wrote: » Hi Nans, Thanks for the insightful. However, If you are saying that the Router-IDs can NOT be identical... then why did you reference 4 factors for the election: As you can see... if #2 can Never be a "tie".... then what's the point of defining a 3rd & 4th Tie-breaker (Loopback & Physical interface). ?
Nans wrote: » When you set R-ID they are considered nothing will be taken considered thereafter. I suggest you to go through the books regarding this. No disrespect did you read this topic..!!
Nans wrote: » For OSPF the R-IDs must not be same and in case of EIGRP they can be the same since it not used to elect for any purpose in EIGRP. I have done the simulation with packet tracer and used "Debug ip ospf events" . They will form adjacencies. But will never move to exchange state since there is conflict between two routers with the same ID. This is what i was show with "show ip ospf neighbor" Neighbor ID Pri State Dead Time Address Interface 1.1.1.1 1 EXSTART/DR 00:00:31 172.16.10.1 GigabitEthernet0/0. I think this helps. Best to way to learn it is to try it yourself. It just took me 2 minutes.
james43026 wrote: » I'd like to comment on EIGRP neighbors and RID. If two directly connected routers in an EIGRP AS have the same RID they will become neighbors, but they will not accept internal or external routes that originate from one another. If they are not directly connected and have at least one router between them. Then internal routes will be exchanged between them, but external routes learned from each other would be rejected.
Yanio wrote: » The second and third options (highest loopback and highest physical IP) only come into play if you haven't manually declared a Router-ID. It allows the OSPF process to proceed even though you haven't configured an ID.
Yanio wrote: » It's worth remembering that even if the DR/BDR is selected on the priority value, both routers still need a Router-ID.
volfkhat wrote: » The only potential "tie" occurs when the Priority values are identical. The Router-ID value is what resolves this. :]
Nans wrote: » Point taken. May be i should read in more detail about EIGRP
_Gonzalo_ wrote: » Again, not exactly. When manually set, values are only compared to other manually set values. Same goes for loopbacks and interfaces.
volfkhat wrote: » Ummm... I think you misunderstood(?) ?
_Gonzalo_ wrote: » Maybe... I´ll try to explain again to see if I did. I´ll go for an example, with the following rules: 1. Priority 2. RID - when manually set 3.HIghest Loopback address 4.HIghest IP address Router A 1. Priority 1 2. RID configured manually 1.1.1.1 3.HIghest Loopback address - It would not matter, as RID is manually set 4.HIghest IP address- It would not matter, as RID is manually set RID 1.1.1.1 Router B 1. Priority 1 2. RID not configured manually 3.HIghest Loopback address - 2.2.2.2 4.HIghest IP address- It would not matter, as loopback exists RID 2.2.2.2 Now, which one would be DR? The answer is A, because it is manually set, even if RID of router B is higher.
_Gonzalo_ wrote: » Now, which one would be DR? The answer is A, because it is manually set, even if RID of router B is higher.
Yanio wrote: » I don't think that's right. AFAIK the OSPF process doesn't care where the Router-ID has come from, just which router has the highest. So in your situation Router B would be the DR. I think it might be a mistake to conflate the processes of deciding on a Router-ID and electing a DR/BDR. They are separate (although linked).
R1#show ip ospf interface fastEthernet 0/0 FastEthernet0/0 is up, line protocol is up Internet address is 192.168.1.1/24, Area 0 Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State BDR, Priority 1 [B] Designated Router (ID) 2.2.2.2, Interface address 192.168.1.2[/B] Backup Designated Router (ID) 1.1.1.1, Interface address 192.168.1.1
R2#show ip ospf interface fastEthernet 0/1 FastEthernet0/1 is up, line protocol is up Internet address is 192.168.1.2/24, Area 0 Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State DR, Priority 1 [B] Designated Router (ID) 2.2.2.2, Interface address 192.168.1.2[/B] Backup Designated Router (ID) 1.1.1.1, Interface address 192.168.1.1
R1#show running-config ! router ospf 1 [B] router-id 1.1.1.1[/B] log-adjacency-changes network 192.168.1.0 0.0.0.255 area 0 ! ------- R2#show running-config ! router ospf 1 log-adjacency-changes network 192.168.1.0 0.0.0.255 area 0 !
volfkhat wrote: » DOWN Goes Gonzalo!!! The upstart Yanio has defeated the CCNP!!! lol
Rule "1" identifies the Priority #. And Rules "2, 3 & 4" identfiy the Router-ID. The only potential "tie" occurs when the Priority values are identical. The Router-ID value is what resolves/breaks the tie.