How to configure OSPF and EIGRP protocol together
kane69
Member Posts: 10 ■□□□□□□□□□
in CCNA & CCENT
Hi there, Could someone tell me how to configure OSPF and EIGRP together? For example, There are 3 routers, R1 and R2 use OSPF and R3 uses EIGRP for its routing tables. So, after configuring everything, how to communicate EIGRP router and OSPF routers? I don't knw this point.
Thanks so much.
Thanks so much.
Comments
-
bighornsheep Member Posts: 1,506Sounds like you might need to do a bit more reading. Even though the router "runs" the routing protocol ie. EIGRP or OSPF, when you configure the routing, you are actually configuring an interface of the router for the routing protocol. That's how you can get EIGRP & OSPF to "talk" with each other, because one or more routers will run both protocols. The same router will also need to redistribute for the routes to be injected from one protocol to another.
EIGRP OSPF
OSPF RedistributionJack of all trades, master of none -
kryolla Member Posts: 785you need to configure one router to support both protocols i.e 1 interface of that router will run ospf and the other will interface will run eigrp and then you can redistribute between the two so both routing domains have each other networks if they need reachability. HTHStudying for CCIE and drinking Home Brew
-
Mrock4 Banned Posts: 2,359 ■■■■■■■■□□Both posters are correct. I was about to post a config, but it's better for you to read up on it, and figure it out. You will truly learn it then....you have the fishing pole..go fish..
Just read up on route redistribution, and seed metrics. I will say once you add the redistribute commands, be sure to specify the metrics. -
Mrock4 Banned Posts: 2,359 ■■■■■■■■□□Once you read up on it, give it a shot, and if you have questions let us know. Everyone is more than happy to help, but we all want you to learn the material, not just copy and paste. Good luck man. Let us know how it goes.
-
kane69 Member Posts: 10 ■□□□□□□□□□Sorry, it is not OSPF and EIGRP, It is RIPv2 and EIGRP. My bad i read the instruction wrong.
Could someone help me, I m real in need for it.
All the configuration are finished except to combine these two protocols.
I m getting this error.A_R2(config-router)#redistribute static A_R2(config-router)#redistribute eigrp 1 A_R2(config-router)#passive-interface fastethernet 0/0 A_R2(config-router)#default-metric 10 ^ % Invalid input detected at '^' marker.
This is the topology, EIGRP and RIPv2 are in different network.
THANKS SO MUCH FOR YOUR HELPS.
-
miller811 Member Posts: 897Rip operates on hop count
Eigrp uses a complex matrix
When you redistribute the two, they have to have a way to understand each other, they need a seed metric.
For this two work you need the routing protocols properly configured on the middle router, and then you need the proper default metric command entered under each protocol
router eigrp 1
redistribute connected
redistribute rip
default-metric 10000 10 255 1 1500 (Where 10000 = Bandwidth, 10 = Delay, 255 = Reliability, 1 = Loading, and 1500 = Maximum Transmission Unit)
!
router rip
version 2
redistribute connected
redistribute eigrp 1 metric 1 (where 1 is the eigrp number and the second 1 is telling rip how many hops so RIP can understand how to judge the route)I don't claim to be an expert, but I sure would like to become one someday.
Quest for 11K pages read in 2011
Page Count total to date - 1283 -
kane69 Member Posts: 10 ■□□□□□□□□□Thanks so much. It works now. But I used this -
router rip version 2 redistribute connected redistribute eigrp 1 metric 1 exit router eigrp 1 redistribute connected redistribute rip metric 1000 250 255 1 1500 exit
Still getting error with this one, I don't knw why.router eigrp 1 redistribute connected redistribute rip default-metric 10000 10 255 1 1500 ^ % Invalid input detected at '^' marker.
Anyway Thanks so ur helps. [/code] -
bighornsheep Member Posts: 1,506kane69 wrote:Still getting error with this one, I don't knw why.
router eigrp 1 redistribute connected redistribute rip default-metric 10000 10 255 1 1500 ^ % Invalid input detected at '^' marker.
Anyway Thanks so ur helps. [/code]
Looks like an IOS version issue, default-metric command doesn't seem to appear in anything older than 12.2
IOS 12.2 Config Guide
You can always use the commandredistribute <protocol> <AS #/process #> metric <metric-parameters>
For myself, I've always used the above passing the metric-parameters trailing the redistribute command.Jack of all trades, master of none -
Mrock4 Banned Posts: 2,359 ■■■■■■■■□□ditto. If you specify the metric under redistribute, you don't need to use the default-metric command. I like bundling it with the redistro command for neatness.
-
Racid Registered Users Posts: 3 ■□□□□□□□□□there's a command or syntax in configuring the RIPv2, EIGRP and OSPF together?
-
Racid Registered Users Posts: 3 ■□□□□□□□□□hmmm..
there`s a 3 lan network the 1st is RIPv2, 2nd lan network use EIGRP then the last one use OSPF how will you connect each lan to each other? is there any possible thing to do ? -
martell1000 Member Posts: 389hmmm..
there`s a 3 lan network the 1st is RIPv2, 2nd lan network use EIGRP then the last one use OSPF how will you connect each lan to each other? is there any possible thing to do ?
you can enable redistribution under the routing processes to get everything into anything, but be aware that redistribution can cause problems like routing loops etc.
best practise is to keep redistribution to a minimum.And then, I started a blog ...