cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
0
Helpful
1
Replies

Redistribution b/w OSPF and RIP Issue.

libra_ali786
Level 1
Level 1

I have a one lab environment. I trying to redistribute rip and ospf. Rip network inject from 2 sides routers 3 and 4 , I applying the Route-map to TAG the injected routes from both.But I figure out some OSPF Routes (10.10.10.0 and 192.168.25.0) networks also injeted back in to OSPF network by RIP. You can on see my router 3 and 4 also getting the same routes from the Rip. See attached pictures (highlited netwrorks getting from Rip)  and my cofigurations.

Please answer the followings:

1. What are the reason?

2. How to handle it.

 

hostname R1
!
interface Loopback1
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.12.1 255.255.255.0
duplex half
!

router rip
version 2
offset-list 0 out 5
network 1.0.0.0
network 192.168.12.0
no auto-summary
!

 

 

hostname R2

!
interface FastEthernet0/0
ip address 192.168.12.2 255.255.255.0
duplex full
!
interface FastEthernet1/0
ip address 192.168.23.2 255.255.255.0
duplex full
speed auto
!
interface FastEthernet2/0
ip address 192.168.24.2 255.255.255.0
duplex full
speed auto
!
router rip
version 2
network 192.168.12.0
network 192.168.23.0
network 192.168.24.0
no auto-summary
!

 

 

hostname R3

!
interface Loopback1
ip address 10.10.10.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.34.1 255.255.255.0
duplex full
!
interface FastEthernet1/0
ip address 192.168.23.1 255.255.255.0
duplex full
speed auto

!
router ospf 1
router-id 3.3.3.3
redistribute rip subnets route-map TAGGING
network 10.10.10.0 0.0.0.255 area 0
network 192.168.34.0 0.0.0.255 area 0
!
router rip
version 2
redistribute ospf 1 metric 1 route-map TAGGING
network 192.168.23.0
no auto-summary
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
route-map TAGGING deny 10
match tag 1234
!
route-map TAGGING permit 20
set tag 1234
!

 

 

 

hostname R4

 

!
interface Loopback1
ip address 192.168.25.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.34.2 255.255.255.0
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
ip address 192.168.24.1 255.255.255.0
duplex full
speed auto
!

!
router ospf 1
router-id 4.4.4.4
redistribute rip subnets route-map TAGGING
network 192.168.25.0 0.0.0.255 area 0
network 192.168.34.0 0.0.0.255 area 0
!
router rip
version 2
redistribute ospf 1 metric 1 route-map TAGGING
network 192.168.24.0
no auto-summary
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
route-map TAGGING deny 10
match tag 1234
!
route-map TAGGING permit 20
set tag 1234
!

1 Reply 1

Hello


@libra_ali786 wrote:

I have a one lab environment. I trying to redistribute rip and ospf. Rip network inject from 2 sides routers 3 and 4 , I applying the Route-map to TAG the injected routes from both.But I figure out some OSPF Routes (10.10.10.0 and 192.168.25.0) networks also injeted back in to OSPF network by RIP. You can on see my router 3 and 4 also getting the same routes from the Rip. See attached pictures (highlited netwrorks getting from Rip)  and my cofigurations.

Please answer the followings:

 

1. What are the reason?  - the reason for route tagging is to negate route leaking into the same routing process the routes originated from when you have mutual redistribution at multiple redistribution points

2. How to handle it. -via route tagging as you have shown however i would suggest specially tagging differing values to the different routing processes. 


Example
route-map rip-ospf deny 10
match tag 110

route-map rip-ospf pemrit 99
match tag 120

router ospf xx
redistrubute rip route-map  rip-ospf subnet

 

 

route-map ospf-rip deny 10
match tag 120

route-map ospf-rip pemrit 99
match tag 110

router rip
redistribute ospf x route-map ospf-rip metric 2

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul