Pete’s Packet

I don’t think I can. I know I can!

Archive for the ‘Redistribution’ Category

some redistribution tips

Posted by Peter Kurdziel on May 5, 2009

 

advertise l0 into rip w/o the net cmd and a metric of 10
r1
interface Loopback0
 ip address 150.1.1.1 255.255.255.0
 ip ospf network point-to-point
end
route-map CONNECTED>RIP permit 10
 match interface Loopback0
 
router rip
 version 2
 redistribute connected metric 10 route-map CONNECTED>RIP
 network 140.1.0.0
 no auto-summary
r4
Rack1R4(config-router)#   do sho ip route rip
     150.1.0.0/24 is subnetted, 10 subnets
R       150.1.1.0 [120/10] via 140.1.14.1, 00:00:00, Ethernet0/0
==================================================
r5 rip routes = 500  / r4 routes = 400
Rack1R5(config)#router os 1  
Rack1R5(config-router)#$bute rip metric 500 subnets route-map OSPF>RIP       
Rack1R5(config-router)#no route-map OSPF>RIP
Rack1R5(config)#route-map RIP>OSPF
Rack1R5(config-route-map)#set metric 500
Rack1R5(config-route-map)#router ospf 1
Rack1R5(config-router)#redistribute rip subnets route-map RIP>OSPF
Rack1R5(config-router)#
this did not work right because  I was limiting what routes were tagged with 500 because in the first route mp OSPF>RIP is matched the interface.

advertise loop0  into rip w/o the net cmd and a metric of 10

r1

interface Loopback0

 ip address 150.1.1.1 255.255.255.0

 ip ospf network point-to-point

end

 

route-map CONNECTED>RIP permit 10

 match interface Loopback0

 

router rip

 version 2

 redistribute connected metric 10 route-map CONNECTED>RIP

 network 140.1.0.0

 no auto-summary

 

r4

Rack1R4(config-router)#   do sho ip route rip

     150.1.0.0/24 is subnetted, 10 subnets

R       150.1.1.0 [120/10] via 140.1.14.1, 00:00:00, Ethernet0/0

 

 

==================================================

 

r5 rip routes = 500  / r4 routes = 400

 

Rack1R5(config)#router os 1  

Rack1R5(config-router)#$bute rip metric 500 subnets route-map OSPF>RIP       

Rack1R5(config-router)#no route-map OSPF>RIP

Rack1R5(config)#route-map RIP>OSPF

Rack1R5(config-route-map)#set metric 500

Rack1R5(config-route-map)#router ospf 1

Rack1R5(config-router)#redistribute rip subnets route-map RIP>OSPF

Rack1R5(config-router)#

this did not work right because  I was limiting what routes were tagged with 500 because in the first route mp OSPF>RIP it was matching the interface.

Posted in OSPF, RIP, Redistribution, Routing & Switching Lab | Leave a Comment »