11-27-2021 03:36 AM - edited 11-27-2021 04:26 AM
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
!
12-28-2021 09:12 AM
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
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