wilder7bc
07-10-2012, 11:33 PM
I was changing my topology over from Eigrp to OSPF. Order I added was same as the study guide starting with Corp > R1>R2>R3
I had issue because I put in 10.1.5.0 0.0.0.0 area 0 as you can see I mesed up the IP (really easy to mess up OSPF stuff lol) I was trouble shooting and at first did nto know what was wrong so I reloaded the routers Corp and R3.
I then checked show ip route and saw the ip error and fixed the wildcard error 0.0.0.255 or changed the IP to 10.1.5.2 (one of the two I cannot remember which but both should be a fix) and OSPF started working.
Corp connection to R3 is Ethernet
Corp connection to R1, and R2 is Serial PPP which from book stated the following:
------------------------------------------------------
"Broadcast (multi-access) Broadcast (multi-access) networks such as Ethernet allow multiple devices to connect to (or access) the same network as well as provide a broadcast ability in which a single packet is delivered to all nodes on the network. In OSPF, a DR and a BDR must be elected for each broadcast multi-access network.
Non-broadcast multi-access Non-broadcast multi-access (NBMA) networks are types such as Frame Relay, X.25, and Asynchronous Transfer Mode (ATM). These networks allow for multi-access but have no broadcast ability like Ethernet. So, NBMA networks require special OSPF configuration to function properly and neighbor relationships must be defined.
Point-to-point Point-to-point refers to a type of network topology consisting of a direct connection between two routers that provides a single communication path. The point-to-point connection can be physical, as in a serial cable directly connecting two routers, or it can be logical, as in two routers that are thousands of miles apart yet connected by a circuit in a Frame Relay network. In either case, this type of configuration eliminates the need for DRs or BDRs—but neighbors are discovered automatically.
Lammle, Todd (2011-03-08). CCNA Cisco Certified Network Associate Study Guide: Exam 640-802 (pp. 457-458). John Wiley and Sons. Kindle Edition.
--------------------------------------------------------
So I know that my DR and BDR will be Corp and R3 so I am good to go there. However, It says in the book that Router 3 should have won the election and became the DR instead of Corp because of having the higher IP.
In my case however Corp ended up as the DR instead of the DBR even though it had lower IP scheme and should have lost the election.
---------------------------------------------
Corp#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.40.1 0 FULL/ - 00:00:37 10.1.4.2 Serial0/2
192.168.20.1 0 FULL/ - 00:00:35 10.1.3.2 Serial0/1
192.168.20.1 0 FULL/ - 00:00:35 10.1.2.2 Serial0/0
172.16.10.1 1 FULL/BDR 00:00:31 10.1.5.2 FastEthernet0/
0
Corp#
============================================
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.1.5.1 1 FULL/DR 00:00:30 10.1.5.1 FastEthernet0/
0
R3#
---------------------------------------------------------
does me restarting the routers or the order in which I added ospf to the routers figure in to why my corp has the DR instead of R3?
I seem to recall something about it going to the first router that finds it but was unsure, and was looking for a specific answer.
Respectfully,
Brian
-------------------EDITED--------------------
I reloaded the Corp router and when I did looks like now its changed around.
----------
Corp>en
Corp#show ip ospf ne
Neighbor ID Pri State Dead Time Address Interface
192.168.40.1 0 FULL/ - 00:00:35 10.1.4.2 Serial0/2
192.168.20.1 0 FULL/ - 00:00:34 10.1.3.2 Serial0/1
192.168.20.1 0 FULL/ - 00:00:33 10.1.2.2 Serial0/0
172.16.10.1 1 FULL/DR 00:00:30 10.1.5.2 FastEthernet0/
0
Corp
======================-
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.1.5.1 1 FULL/BDR 00:00:33 10.1.5.1 FastEthernet0/
0
R3#
-------------------------
So when the DR goes down the BDR automatically takes over and becomes the DR? Is the only way to change that around by reloading one of the routers and what about the election process does not seem like it works very well, or does it really only work when we are installing OSPF on the routers and if so wouldnt the first router to get OSPF become the DR or would elections take over in that case?
I also ran the next test of "debug ip ospf adj" this is where you shut down the F0/0 on R3 and it then makes Corp the DR and then when you bring back up F0/0 on R3 it changes DR back to R3 and Corp back to BDR. This does not happy on mine it just shows that its loaded back up
----------------------------------
OSPF adjacency events debugging is on
Corp#
*Mar 1 00:22:49.579: OSPF: Cannot see ourself in hello from 172.16.10.1 on Fast
Ethernet0/0, state INIT
*Mar 1 00:22:49.583: OSPF: Neighbor change Event on interface FastEthernet0/0
*Mar 1 00:22:49.583: OSPF: DR/BDR election on FastEthernet0/0
*Mar 1 00:22:49.583: OSPF: Elect BDR 0.0.0.0
*Mar 1 00:22:49.583: OSPF: Elect DR 10.1.5.1
*Mar 1 00:22:49.583: DR: 10.1.5.1 (Id) BDR: none
*Mar 1 00:22:50.091: OSPF: Build router LSA for area 0, router ID 10.1.5.1, seq
0x8000000D, process 132
*Mar 1 00:22:50.095: OSPF: No full nbrs to build Net Lsa for interface FastEthe
rnet0/0
*Mar 1 00:22:50.095: OSPF: Build network LSA for FastEthernet0/0, router ID 10.
1.5.1
Corp#
*Mar 1 00:22:50.099: OSPF: Build network LSA for FastEthernet0/0, router ID 10.
1.5.1
*Mar 1 00:22:50.115: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 148
LSA count 1
*Mar 1 00:22:50.131: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 60
LSA count 1
Corp#
*Mar 1 00:22:54.579: OSPF: Rcv DBD from 172.16.10.1 on FastEthernet0/0 seq 0x16
53 opt 0x52 flag 0x7 len 32 mtu 1500 state INIT
*Mar 1 00:22:54.583: OSPF: 2 Way Communication to 172.16.10.1 on FastEthernet0/
0, state 2WAY
*Mar 1 00:22:54.587: OSPF: Neighbor change Event on interface FastEthernet0/0
*Mar 1 00:22:54.587: OSPF: DR/BDR election on FastEthernet0/0
*Mar 1 00:22:54.591: OSPF: Elect BDR 172.16.10.1
*Mar 1 00:22:54.591: OSPF: Elect DR 10.1.5.1
*Mar 1 00:22:54.595: DR: 10.1.5.1 (Id) BDR: 172.16.10.1 (Id)
*Mar 1 00:22:54.599: OSPF: Send DBD to 172.16.10.1 on FastEthernet0/0 seq 0x651
opt 0x52 flag 0x7 len 32
*Mar 1 00:22:54.599: OSPF: NBR Negotiation Done. We are the SLAVE
*Mar 1 00:22:54.603: OSPF: Send DBD to 172.16.10.1 on FastEthernet0/0 seq 0x165
3 opt 0x52 flag 0x2 len 112
*Mar 1 00:22:54.635: OSPF: Rcv DBD from 172.16.10.1 on FastEthernet0/0 seq 0x16
54 opt 0x52 flag 0x3 len 132 mtu 1500 state EXCHANGE
*Mar 1 00:22:54.639: OSPF: Send DBD to 172.16.10.1 on FastEthernet0/0 seq 0x165
4 opt 0x52 flag 0x0 len 32
*Mar 1 00:22:54.659: OSPF: Rcv DBD from 172.16.10.1 on FastEthernet0/0 seq 0x16
55 opt 0x52 flag 0x1 len 32 mtu 1500 state EXCHANGE
*Mar 1 00:22:54.663: OSPF: Exchange Done with 172.16.10.1 on FastEthernet0/0
*Mar 1 00:22:54.663: OSPF: Send LS REQ to 172.16.10.1 length 12 LSA count 1
*Mar 1 00:22:54.663: OSPF: Send DBD to 172.16.10.1 on FastEthernet0/0 seq 0x165
5 opt 0x52 flag 0x0 len 32
*Mar 1 00:22:54.671: OSPF: Rcv LS REQ from 172.16.10.1 on FastEthernet0/0 lengt
h 36 LSA count 1
*Mar 1 00:22:54.671: OSPF: Send UPD to 10.1.5.2 on FastEthernet0/0 length 124 L
SA count 1
*Mar 1 00:22:54.679: OSPF: Rcv LS UPD from 172.16.10.1 on FastEthernet0/0 lengt
h 76 LSA count 1
*Mar 1 00:22:54.691: OSPF: Synchronized with 172.16.10.1 on FastEthernet0/0, st
ate FULL
*Mar 1 00:22:54.691: %OSPF-5-ADJCHG: Process 132, Nbr 172.16.10.1 on FastEthern
et0/0 from LOADING to FULL, Loading Done
*Mar 1 00:22:54.715: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 76
LSA count 1
*Mar 1 00:22:55.107: OSPF: Build router LSA for area 0, router ID 10.1.5.1, seq
0x8000000E, process 132
*Mar 1 00:22:55.139: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 148
LSA count 1
*Mar 1 00:22:55.191: OSPF: Build network LSA for FastEthernet0/0, router ID 10.
1.5.1
*Mar 1 00:22:55.191: OSPF: Build network LSA for FastEthernet0/0, router ID 10.
1.5.1
*Mar 1 00:22:55.203: OSPF: Rcv LS UPD from 172.16.10.1 on FastEthernet0/0 lengt
h 76 LSA count 1
*Mar 1 00:22:55.227: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 60
LSA count 1
Corp#
Corp#
*Mar 1 00:22:59.555: OSPF: Neighbor change Event on interface FastEthernet0/0
*Mar 1 00:22:59.559: OSPF: DR/BDR election on FastEthernet0/0
*Mar 1 00:22:59.559: OSPF: Elect BDR 172.16.10.1
*Mar 1 00:22:59.563: OSPF: Elect DR 10.1.5.1
*Mar 1 00:22:59.563: DR: 10.1.5.1 (Id) BDR: 172.16.10.1 (Id)
*Mar 1 00:22:59.567: OSPF: Neighbor change Event on interface FastEthernet0/0
*Mar 1 00:22:59.567: OSPF: DR/BDR election on FastEthernet0/0
*Mar 1 00:22:59.571: OSPF: Elect BDR 172.16.10.1
*Mar 1 00:22:59.571: OSPF: Elect DR 10.1.5.1
*Mar 1 00:22:59.575: DR: 10.1.5.1 (Id) BDR: 172.16.10.1 (Id)
Corp#
*Mar 1 00:22:59.751: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 76
LSA count 1
Corp#
*Mar 1 00:23:04.631: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 76
LSA count 1
Corp#
----------------------------------
I am just currious over these questions in my last paragraph.
Thanks,
Brian
I had issue because I put in 10.1.5.0 0.0.0.0 area 0 as you can see I mesed up the IP (really easy to mess up OSPF stuff lol) I was trouble shooting and at first did nto know what was wrong so I reloaded the routers Corp and R3.
I then checked show ip route and saw the ip error and fixed the wildcard error 0.0.0.255 or changed the IP to 10.1.5.2 (one of the two I cannot remember which but both should be a fix) and OSPF started working.
Corp connection to R3 is Ethernet
Corp connection to R1, and R2 is Serial PPP which from book stated the following:
------------------------------------------------------
"Broadcast (multi-access) Broadcast (multi-access) networks such as Ethernet allow multiple devices to connect to (or access) the same network as well as provide a broadcast ability in which a single packet is delivered to all nodes on the network. In OSPF, a DR and a BDR must be elected for each broadcast multi-access network.
Non-broadcast multi-access Non-broadcast multi-access (NBMA) networks are types such as Frame Relay, X.25, and Asynchronous Transfer Mode (ATM). These networks allow for multi-access but have no broadcast ability like Ethernet. So, NBMA networks require special OSPF configuration to function properly and neighbor relationships must be defined.
Point-to-point Point-to-point refers to a type of network topology consisting of a direct connection between two routers that provides a single communication path. The point-to-point connection can be physical, as in a serial cable directly connecting two routers, or it can be logical, as in two routers that are thousands of miles apart yet connected by a circuit in a Frame Relay network. In either case, this type of configuration eliminates the need for DRs or BDRs—but neighbors are discovered automatically.
Lammle, Todd (2011-03-08). CCNA Cisco Certified Network Associate Study Guide: Exam 640-802 (pp. 457-458). John Wiley and Sons. Kindle Edition.
--------------------------------------------------------
So I know that my DR and BDR will be Corp and R3 so I am good to go there. However, It says in the book that Router 3 should have won the election and became the DR instead of Corp because of having the higher IP.
In my case however Corp ended up as the DR instead of the DBR even though it had lower IP scheme and should have lost the election.
---------------------------------------------
Corp#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.40.1 0 FULL/ - 00:00:37 10.1.4.2 Serial0/2
192.168.20.1 0 FULL/ - 00:00:35 10.1.3.2 Serial0/1
192.168.20.1 0 FULL/ - 00:00:35 10.1.2.2 Serial0/0
172.16.10.1 1 FULL/BDR 00:00:31 10.1.5.2 FastEthernet0/
0
Corp#
============================================
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.1.5.1 1 FULL/DR 00:00:30 10.1.5.1 FastEthernet0/
0
R3#
---------------------------------------------------------
does me restarting the routers or the order in which I added ospf to the routers figure in to why my corp has the DR instead of R3?
I seem to recall something about it going to the first router that finds it but was unsure, and was looking for a specific answer.
Respectfully,
Brian
-------------------EDITED--------------------
I reloaded the Corp router and when I did looks like now its changed around.
----------
Corp>en
Corp#show ip ospf ne
Neighbor ID Pri State Dead Time Address Interface
192.168.40.1 0 FULL/ - 00:00:35 10.1.4.2 Serial0/2
192.168.20.1 0 FULL/ - 00:00:34 10.1.3.2 Serial0/1
192.168.20.1 0 FULL/ - 00:00:33 10.1.2.2 Serial0/0
172.16.10.1 1 FULL/DR 00:00:30 10.1.5.2 FastEthernet0/
0
Corp
======================-
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.1.5.1 1 FULL/BDR 00:00:33 10.1.5.1 FastEthernet0/
0
R3#
-------------------------
So when the DR goes down the BDR automatically takes over and becomes the DR? Is the only way to change that around by reloading one of the routers and what about the election process does not seem like it works very well, or does it really only work when we are installing OSPF on the routers and if so wouldnt the first router to get OSPF become the DR or would elections take over in that case?
I also ran the next test of "debug ip ospf adj" this is where you shut down the F0/0 on R3 and it then makes Corp the DR and then when you bring back up F0/0 on R3 it changes DR back to R3 and Corp back to BDR. This does not happy on mine it just shows that its loaded back up
----------------------------------
OSPF adjacency events debugging is on
Corp#
*Mar 1 00:22:49.579: OSPF: Cannot see ourself in hello from 172.16.10.1 on Fast
Ethernet0/0, state INIT
*Mar 1 00:22:49.583: OSPF: Neighbor change Event on interface FastEthernet0/0
*Mar 1 00:22:49.583: OSPF: DR/BDR election on FastEthernet0/0
*Mar 1 00:22:49.583: OSPF: Elect BDR 0.0.0.0
*Mar 1 00:22:49.583: OSPF: Elect DR 10.1.5.1
*Mar 1 00:22:49.583: DR: 10.1.5.1 (Id) BDR: none
*Mar 1 00:22:50.091: OSPF: Build router LSA for area 0, router ID 10.1.5.1, seq
0x8000000D, process 132
*Mar 1 00:22:50.095: OSPF: No full nbrs to build Net Lsa for interface FastEthe
rnet0/0
*Mar 1 00:22:50.095: OSPF: Build network LSA for FastEthernet0/0, router ID 10.
1.5.1
Corp#
*Mar 1 00:22:50.099: OSPF: Build network LSA for FastEthernet0/0, router ID 10.
1.5.1
*Mar 1 00:22:50.115: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 148
LSA count 1
*Mar 1 00:22:50.131: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 60
LSA count 1
Corp#
*Mar 1 00:22:54.579: OSPF: Rcv DBD from 172.16.10.1 on FastEthernet0/0 seq 0x16
53 opt 0x52 flag 0x7 len 32 mtu 1500 state INIT
*Mar 1 00:22:54.583: OSPF: 2 Way Communication to 172.16.10.1 on FastEthernet0/
0, state 2WAY
*Mar 1 00:22:54.587: OSPF: Neighbor change Event on interface FastEthernet0/0
*Mar 1 00:22:54.587: OSPF: DR/BDR election on FastEthernet0/0
*Mar 1 00:22:54.591: OSPF: Elect BDR 172.16.10.1
*Mar 1 00:22:54.591: OSPF: Elect DR 10.1.5.1
*Mar 1 00:22:54.595: DR: 10.1.5.1 (Id) BDR: 172.16.10.1 (Id)
*Mar 1 00:22:54.599: OSPF: Send DBD to 172.16.10.1 on FastEthernet0/0 seq 0x651
opt 0x52 flag 0x7 len 32
*Mar 1 00:22:54.599: OSPF: NBR Negotiation Done. We are the SLAVE
*Mar 1 00:22:54.603: OSPF: Send DBD to 172.16.10.1 on FastEthernet0/0 seq 0x165
3 opt 0x52 flag 0x2 len 112
*Mar 1 00:22:54.635: OSPF: Rcv DBD from 172.16.10.1 on FastEthernet0/0 seq 0x16
54 opt 0x52 flag 0x3 len 132 mtu 1500 state EXCHANGE
*Mar 1 00:22:54.639: OSPF: Send DBD to 172.16.10.1 on FastEthernet0/0 seq 0x165
4 opt 0x52 flag 0x0 len 32
*Mar 1 00:22:54.659: OSPF: Rcv DBD from 172.16.10.1 on FastEthernet0/0 seq 0x16
55 opt 0x52 flag 0x1 len 32 mtu 1500 state EXCHANGE
*Mar 1 00:22:54.663: OSPF: Exchange Done with 172.16.10.1 on FastEthernet0/0
*Mar 1 00:22:54.663: OSPF: Send LS REQ to 172.16.10.1 length 12 LSA count 1
*Mar 1 00:22:54.663: OSPF: Send DBD to 172.16.10.1 on FastEthernet0/0 seq 0x165
5 opt 0x52 flag 0x0 len 32
*Mar 1 00:22:54.671: OSPF: Rcv LS REQ from 172.16.10.1 on FastEthernet0/0 lengt
h 36 LSA count 1
*Mar 1 00:22:54.671: OSPF: Send UPD to 10.1.5.2 on FastEthernet0/0 length 124 L
SA count 1
*Mar 1 00:22:54.679: OSPF: Rcv LS UPD from 172.16.10.1 on FastEthernet0/0 lengt
h 76 LSA count 1
*Mar 1 00:22:54.691: OSPF: Synchronized with 172.16.10.1 on FastEthernet0/0, st
ate FULL
*Mar 1 00:22:54.691: %OSPF-5-ADJCHG: Process 132, Nbr 172.16.10.1 on FastEthern
et0/0 from LOADING to FULL, Loading Done
*Mar 1 00:22:54.715: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 76
LSA count 1
*Mar 1 00:22:55.107: OSPF: Build router LSA for area 0, router ID 10.1.5.1, seq
0x8000000E, process 132
*Mar 1 00:22:55.139: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 148
LSA count 1
*Mar 1 00:22:55.191: OSPF: Build network LSA for FastEthernet0/0, router ID 10.
1.5.1
*Mar 1 00:22:55.191: OSPF: Build network LSA for FastEthernet0/0, router ID 10.
1.5.1
*Mar 1 00:22:55.203: OSPF: Rcv LS UPD from 172.16.10.1 on FastEthernet0/0 lengt
h 76 LSA count 1
*Mar 1 00:22:55.227: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 60
LSA count 1
Corp#
Corp#
*Mar 1 00:22:59.555: OSPF: Neighbor change Event on interface FastEthernet0/0
*Mar 1 00:22:59.559: OSPF: DR/BDR election on FastEthernet0/0
*Mar 1 00:22:59.559: OSPF: Elect BDR 172.16.10.1
*Mar 1 00:22:59.563: OSPF: Elect DR 10.1.5.1
*Mar 1 00:22:59.563: DR: 10.1.5.1 (Id) BDR: 172.16.10.1 (Id)
*Mar 1 00:22:59.567: OSPF: Neighbor change Event on interface FastEthernet0/0
*Mar 1 00:22:59.567: OSPF: DR/BDR election on FastEthernet0/0
*Mar 1 00:22:59.571: OSPF: Elect BDR 172.16.10.1
*Mar 1 00:22:59.571: OSPF: Elect DR 10.1.5.1
*Mar 1 00:22:59.575: DR: 10.1.5.1 (Id) BDR: 172.16.10.1 (Id)
Corp#
*Mar 1 00:22:59.751: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 76
LSA count 1
Corp#
*Mar 1 00:23:04.631: OSPF: Rcv LS UPD from 192.168.20.1 on Serial0/0 length 76
LSA count 1
Corp#
----------------------------------
I am just currious over these questions in my last paragraph.
Thanks,
Brian