Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redistribute Command

Status
Not open for further replies.

kingster

MIS
Aug 6, 2001
6
GB
All,

I am wanting to redistribute routes learnt from RIP into an
OSPF area and vice versa.
Is there anything I need to lookout for as I think there maybe complications in doing this.

(TECH Question: How does the router stop itself from keep passing the routes from RIP to OSPF and back in a chicken and the egg scenario)

Cheers
 
An excellent question and very useful skill. There are two typical methods, 1) distribute-list out and 2)route-maps. What you need to do is filter routes that the particular protocol might already know from itself. I prefer distribute-list out. Follow the following example. And read up on routing protocol independent features on Cisco's site or on the Documentation CD for more info.

router rip
network 10.0.0.0
redistribute ospf 1
!
router ospf 1
network 10.1.1.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
redistribute rip
distribute-list 1 out rip
!
access-list 1 deny 10.1.1.0 0.0.0.255
access-list 1 deny 192.168.1.0 0.0.0.255
access-list 1 permit any
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top