cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
787
Views
3
Helpful
6
Replies

Why my OSPF Configuration not Works?

Arren
Level 1
Level 1

Arren_0-1697379320531.png

So here is my topology. But I will not write each router's interface configuration, because I already put them in my .pkt file attached below this question. But I will show you my OSPF configuration for each router as following:

1. router0

router ospf 1
router-id 1.1.1.1
network 10.0.0.0 0.255.255.255 area 0
network 15.0.0.0 0.255.255.255 area 0
network 13.0.0.0 0.255.255.255 area 0
network 192.168.1.0 0.0.0.255 area 0

2. router1

router ospf 1
router-id 2.2.2.2
network 10.0.0.0 0.255.255.255 area 0
network 11.0.0.0 0.255.255.255 area 0
network 14.0.0.0 0.255.255.255 area 0
network 192.168.2.0 0.0.0.255 area 0

3. router2

router ospf 1
router-id 3.3.3.3
network 11.0.0.0 0.255.255.255 area 0
network 12.0.0.0 0.255.255.255 area 0
network 15.0.0.0 0.255.255.255 area 0
network 192.168.3.0 0.0.0.255 area 0

4. router3

router ospf 1
router-id 4.4.4.4
network 12.0.0.0 0.255.255.255 area 0
network 13.0.0.0 0.255.255.255 area 0
network 14.0.0.0 0.255.255.255 area 0
network 192.168.4.0 0.0.0.255 area 0

5. router10

router ospf 1
router-id 5.5.5.5
network 192.168.1.0 0.0.0.255 area 0

6. router11

router ospf 1
router-id 6.6.6.6
network 192.168.2.0 0.0.0.255 area 0

7. router12

router ospf 1
router-id 7.7.7.7
network 192.168.3.0 0.0.0.255 area 0

8. router13

router ospf 1
router-id 8.8.8.8
network 192.168.4.0 0.0.0.255 area 0

But whenever I tried to send simple PDU, it shows that it fails, this happens when I sent it from router 10 to router 11 and sometimes the router 0 to router 2:

Arren_1-1697380432052.png

In the picture above the route from router0 to router2 might successful, but sometimes they can be fail.

Also if I type the 'show ip ospf neighbor' command, it does not show anything. Below is the example from router 0.

Arren_2-1697380665724.png

But still.. I'm curious about what's wrong with my configuration? Is there any mismatch with the IP address?

Thankyou.

 

 

1 Accepted Solution

Accepted Solutions

M02@rt37
VIP
VIP

Hello @Arren

Thanks for your sharing file.

On Router1 2 and 3 network command is not configured under ospf procces.

Example on Router_3:

M02rt37_0-1697384763983.png

Configure network command on these Routers like you have done for Router_0.

Router_1:

M02rt37_4-1697384924599.png

Router_2:

M02rt37_5-1697384955280.png

Router_3:

M02rt37_6-1697384975361.png

 

After that OSFP on your topology should be good.

 

Example on Router_0:

M02rt37_1-1697384845695.png

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

6 Replies 6

You config is correct' you need only to take double check the interface IP in each router' it can be missconfig IP in two router connect to each other 

One use different subnet than other.

Check correct and try again 

balaji.bandi
Hall of Fame
Hall of Fame

The Picture is not clear.

Follow below troubleshooting :

1. show ip interface brief (make sure all the connected interface up and running)

2. ping neighbour IP see device each other can ping easily

3. show ip ospf interface (show that OSPF enabled on the interface) - if not some IOS have default passive interfaces all (if i remember correctly) - so enable ospf no passive interface x/x

4. if the interface are p2p make sure you use ospf point to point 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

M02@rt37
VIP
VIP

Hello @Arren

Thanks for your sharing file.

On Router1 2 and 3 network command is not configured under ospf procces.

Example on Router_3:

M02rt37_0-1697384763983.png

Configure network command on these Routers like you have done for Router_0.

Router_1:

M02rt37_4-1697384924599.png

Router_2:

M02rt37_5-1697384955280.png

Router_3:

M02rt37_6-1697384975361.png

 

After that OSFP on your topology should be good.

 

Example on Router_0:

M02rt37_1-1697384845695.png

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

It works, thankyou

You're welcome @Arren 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Sorry but the config you attach is different than zip file ?

I couldnot open zip and check your config it correct!!!