CONFIGURATION: Pre-configured with IP Address including FR and Loopback.
R1:
Router ospf 1
Network 155.1.0.1 0.0.0.0 area 0
Network 155.1.1.1 0.0.0.0 area 0
exit
R3:
Router ospf 3
Net 155.1.0.3 0.0.0.0 area 0
Network 155.1.3.3 0.0.0.0 area 0
R5:
Router ospf 5
Net 155.1.0.5 0.0.0.0 area 0
Network 155.1.5.5 0.0.0.0 area
Show ip ospf int
Ping 155.1.0.3
Access-list 101 permit ip ospf any any – to used for debugging purpose only, its not applied to any interface.
Debug ip packet 101 detail – to see if there ospf traffic passing onto router.
Show ip ospf neig - **** And there’s no traffic. Network statement is not sufficient. To fix this…
Router ospf 1
Neighbor 155.1.0.1
Neighbor 155.1.0.3
Exit
They you will see the traffic based on the debug ip packet 101 detail.
Show ip ospf neigh
Router ospf 1
Show ip route ospf - you should see the loopback of the rest of the routers.
Show ip ospf neig – you should see the DR and BDR and DROTHER.
Clear ip ospf process – to clear all the ospf process.
HERE you should set the priority of all the spoke to 0. So that the R5 (hub) will always be the DR and R1&R2 will never participate in the election.
R1:
Int s0/0
Ip ospf priority 0
R3:
Int s0/0
Ip ospf priority 0
R1:
Router ospf 1
Network 155.1.0.1 0.0.0.0 area 0
Network 155.1.1.1 0.0.0.0 area 0
exit
R3:
Router ospf 3
Net 155.1.0.3 0.0.0.0 area 0
Network 155.1.3.3 0.0.0.0 area 0
R5:
Router ospf 5
Net 155.1.0.5 0.0.0.0 area 0
Network 155.1.5.5 0.0.0.0 area
Show ip ospf int
Ping 155.1.0.3
Access-list 101 permit ip ospf any any – to used for debugging purpose only, its not applied to any interface.
Debug ip packet 101 detail – to see if there ospf traffic passing onto router.
Show ip ospf neig - **** And there’s no traffic. Network statement is not sufficient. To fix this…
Router ospf 1
Neighbor 155.1.0.1
Neighbor 155.1.0.3
Exit
They you will see the traffic based on the debug ip packet 101 detail.
Show ip ospf neigh
Router ospf 1
Show ip route ospf - you should see the loopback of the rest of the routers.
Show ip ospf neig – you should see the DR and BDR and DROTHER.
Clear ip ospf process – to clear all the ospf process.
HERE you should set the priority of all the spoke to 0. So that the R5 (hub) will always be the DR and R1&R2 will never participate in the election.
R1:
Int s0/0
Ip ospf priority 0
R3:
Int s0/0
Ip ospf priority 0