Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

OSPF different Process ID within same area ????

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
Purple

Re: OSPF different Process ID within same area ????

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

Purple

Re: OSPF different Process ID within same area ????

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

5 REPLIES
Purple

Re: OSPF different Process ID within same area ????

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

Purple

Re: OSPF different Process ID within same area ????

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

New Member

Re: OSPF different Process ID within same area ????

Thansks, it is great help.

However, WHY I can not add

router ospf 5

redistribute ospf 10 subnets

Purple

Re: OSPF different Process ID within same area ????

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

Re: OSPF different Process ID within same area ????

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

193
Views
10
Helpful
5
Replies