cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2196
Views
10
Helpful
5
Replies

OSPF different Process ID within same area ????

crscrsone
Level 1
Level 1

I have 2 routers connected with OSPF SINGLE AREA 0

Router 1 Int IP as follows:

Ethernet0 192.168.1.1/24

Serial0 192.168.2.1/24

Router_2Int IP as follows:

Ethernet0 192.168.3.1/24

Serial1 192.168.2.2/24

Router_2#

Router 1 Config as follow:

!

router ospf 5

log-adjacency-changes

network 192.168.1.0 0.0.0.255 area 0

!

router ospf 10

log-adjacency-changes

network 192.168.2.0 0.0.0.255 area 0

!

Router 2 Config as follow:

no ip mroute-cache

!

router ospf 1

log-adjacency-changes

network 192.168.2.0 0.0.0.255 area 0

network 192.168.3.0 0.0.0.255 area 0

!

Router 1 routing table as follows:

Gateway of last resort is not set

C 192.168.1.0/24 is directly connected, Ethernet0

C 192.168.2.0/24 is directly connected, Serial0

O 192.168.3.0/24 [110/74] via 192.168.2.2, 00:06:13, Serial0

Router1#

Router 2 routing table as follows:

Gateway of last resort is not set

C 192.168.2.0/24 is directly connected, Serial1

C 192.168.3.0/24 is directly connected, Ethernet0

Router_2#

Why Router 2 can not learn 192.168.1.0 network form router 1 ?

2 Accepted Solutions

Accepted Solutions

pkhatri
Level 11
Level 11

Hi,

When you have multiple OSPF processes on the same router, they don't communicate by default. To fix this, add the following to router 1:

router ospf 10

redistribute ospf 5 subnets

Hope that helps - pls rate the post if it does.

Paresh

View solution in original post

Hi,

The other alternative, of course, is to do this on router 1:

no router ospf 5

router ospf 10

network 192.168.1.0 0.0.0.255 area 0

Hope that helps,

Paresh

View solution in original post

5 Replies 5

pkhatri
Level 11
Level 11

Hi,

When you have multiple OSPF processes on the same router, they don't communicate by default. To fix this, add the following to router 1:

router ospf 10

redistribute ospf 5 subnets

Hope that helps - pls rate the post if it does.

Paresh

Hi,

The other alternative, of course, is to do this on router 1:

no router ospf 5

router ospf 10

network 192.168.1.0 0.0.0.255 area 0

Hope that helps,

Paresh

Thansks, it is great help.

However, WHY I can not add

router ospf 5

redistribute ospf 10 subnets

Which of the options have you tried, the first one or the second ?

Pls post the current config you have got and what you are trying to do and I'll take a look.

Paresh

mheusinger
Level 10
Level 10

Hello,

The final configuration on R1 should look like this:

router ospf 5

redistribute ospf 10 subnets

network 192.168.1.0 0.0.0.255 area 0

router ospf 10

redistribute ospf 5 subnets

network 192.168.2.0 0.0.0.255 area 0

The much simpler approach would be to have only one OSPF process on R1 routing on both interfaces:

router ospf 5

network 192.168.0.0 0.0.255.255 area 0

And this should give you the desired connectivity.

Hope this helps! Please rate all posts.

Regards, Martin

Review Cisco Networking for a $25 gift card