02-07-2006 04:05 PM - edited 03-03-2019 01:44 AM
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 ?
Solved! Go to Solution.
02-07-2006 04:08 PM
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
02-07-2006 04:20 PM
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
02-07-2006 04:08 PM
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
02-07-2006 04:20 PM
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
02-07-2006 04:38 PM
Thansks, it is great help.
However, WHY I can not add
router ospf 5
redistribute ospf 10 subnets
02-07-2006 04:58 PM
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
02-07-2006 05:36 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide