CCNP ENARSI - 1.4 Troubleshoot Redistribution - Complex Lab - RIP, BGP, OSPF, EIGRP, STATIC

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back to another video from yourit explained in this video i've got a fairly complex lab set up in gns3 where we're going to go through quite a few different components of route redistribution between various different protocols so if you've been following along on the series so far this is probably going to look a hell of a lot more complicated than what we've been going through previously this is going to be the final lab for the route distribution troubleshooting so i've upped the ante a little bit here made it a little bit more complicated than usual so don't worry too much if you don't quite grasp everything that's going on it's just the route retribution that we're focusing on but for example uh some slight changes would be in eigrp i've started to use named ergrp instead of the classic like i have in the past i've introduced into area ospf routes introduce rip a few different things to make it a little bit more complicated so if you're still a bit confused about what's on screen i suggest you just pause it and soak it in for a little bit to see what's actually running otherwise i'll just give a quick run through and then get cracking straight away so i've just got rip between these devices bgp eigrp down here ospf area 0 is a backbone area up to ospf area 51 between router 5 to 7 and then just static routing from router 3 up to router 9 via router 8. now every device is configured with ip addresses the routing protocols everything's good to go the only thing that's not running is the actual redistribution between routes so for example on router 3 i should be out of ping router 7 right now but router 7 and router 7 could ping all the way through to router 3 but it won't be able to ping anything beyond that because there's no redistribution between spf to other protocols i'll just confirm that for you so you can see what is running and if i go to router 7 and just do a ping to let's go the rspf ip address on router 3 that'd be 2003 now the last octet always matches the number of the device so we're doing 20.0.3 success but if i try to ping let's say the other side of router 3 the bgp ip address so 2087 43 so sorry ping 120 87.43.3 now this one should fail i'm going to send that and do a show ip route so you can see what is currently known on router 7. so router 7 just knows uh one intra area route through ospf which is still an lspf route because it starts with 20.0 and then there's a regular ospf route because it's in the same area and then the connected routes all right so without going to every single device yeah hopefully you can just trust that everything is configured the way i said it is just route redistribution is not yet configured the only other thing that's missing from this diagram that i haven't really explained is that i am pointing a default route up from router 3 towards router 8. so if there's any address that's not known then the devices should be going up to router 3 to then go up to router 8 and beyond so to make this a little simple let's start on router 2. like router 3 is obviously going to have a lot of redistribution configured but let's start off simple and start on router 2. so i'm going to console into router 2 here let's quickly show you what is known on the device just what is connected on either side it's running rip and bgp now we want to configure mutual redistribution between both of these protocols so i'll just set this up over here and let's start by going to configure terminal and let's redistribute into rip first so that's just router rip and now in here i'm going to just type redistribute like we always do what are the options available same things as always bgp and then it just asks for the autonomous system number 50. all right so now if we go to router 1 check if that worked no it did not work now why is that instant troubleshooting it's because rip being one of the oldest distance vector routing protocols does need the metric to be specified so let's do that let's go metric see what's available now rip is very old school the metric it uses is a simple hop count with a max of 16. so let's give it a metric of one so any bgp routes coming into rip will have a hop count of one now if we go back to router one refresh this voila we get the bgp route coming through now you might be asking yourself why is it coming through as a slash eight like 120.008 when it's actually this address here and this is to do with rip being so old it is a classful routing protocol but not to worry with our specific situation here it's still going to work for us so if i try and ping 120 dot 87 or actually this might not work just yet if i ping that no good excellent does work so we can still ping it even though the network is it's almost like a summary address the way that it comes through because of the glassful addressing but if i go to rounder three if i just console in let's see if it knows how to get to router one so i've just brought up the ip route on router 3. it's got a ton of addresses it already knows but we're looking specifically for the 100.0.0 network and it's not anywhere in here all right so router 3 does not know about it and that is because back on router 2 we now need to redistribute the other way i'm remembering mutual redistribution so we've done it one way i want to do it the other way as well so router we're now redistributing into bgp on this device it's autonomous system 50. now i've configured it to go into address family ipv4 unicast and then redistribute order the options same as always rip okay so now it's redistributing rip into bgp if i go back to router 3 let's refresh this sorry i'll just clear that off refresh this all of a sudden this comes through as a bgp route excellent so that's as simple as it is for redistributing rip into bgp and that's done so redistribution on router 2 is now done it's going both ways between bgp and rip now unfortunately router one won't know how to get to any of the ospf destinations or any of those static destinations or ergrp because we have not reached redistributed those protocols on router 3 into bgp because once we do that router 2 would then redistribute those into rip but because we haven't done that router 1 only knows what it's currently configured from bgp okay so we've got that little one out of the way now to tackle the big boy router 3 we need to configure mutual redistribution between all these four protocols here so i'm going to redistribute static lcpf and ergrp into bgp similarly with ospf i'm going to redistribute static bgp and ergrp eogrp i'm going to redistribute bgp static and spf right so there's a lot to go into here let's just dive straight in router 3. sorry i already have a console session open let me now that we've done the rip configuration i can just move this out of the way for the time being at least and i'll set this up just here all right oops i can't see and let's start by redistributing into bgp okay router bgp and this device it's autonomous system 100 address family ipv4 unicast and redistribute now what options do we have now i'm just going to go through alphabetically on what we're redistributing because we need to redistribute static routes lspf routes and ergrp routes there is actually something else two other things actually we want to redistribute but we'll come back to those later so of these three what comes first ergrp so let's do that first redistribute ergrp now i've named it on this device as ergrp dash named or mode not sure we'll come back to that but it still has an autonomous system associated with it being 25. let me just i'll quickly show you so do show run and we'll begin at eigrp oops sorry um all right so i've called it named mode and then i've gone into address family ipv4 unicast and here we specify that autonomous system 25 so it is still specified all right so if i'm still like where we are now remembering i'm still inside of the bgp configuration i wanna sorry redistribute choosing ergrp autonomous system 25. now there are more options but we'll just press enter and see what happens so now we're redistributing ergop into bgp we should hopefully on router 2 start to pick up the ergrp routes if it's working correctly so if i go to router 2 and do a show ip route look at that that's all it was required nothing extra we're picking up the ergrp routes so elgrp is now being redistributed into bgp but also recall on router 2 we are redistributing bgp into rip so therefore router 1 should know about the eigrp routes because ergip is being redistributed into bgp and bgp is being redistributed into rip so if i go into router 1 let's have a look show ip route and look at that i didn't have to configure anything extra on router 2 because we already configured the redistribution from bgp into rip so it's picked up the redistribution from router 3 from ergrp into vgp a little complicated maybe a little hard to wrap your head around but i'm sure if you start playing around with this yourself in a lab it'll click in no time at all all right so back on router three we've redistributed only one protocol so far so let's start cracking on a little bit faster next one alphabetically is ospf ospf process one now we've got these other options but let's just do it like we normally do and do enter now we're not going to run into the issue that we had in the previous video if you haven't seen it check out the video of redistributing between ospf and ergrp i believe it was that video that we covered this where you'd need to specify match to match the internal and external type 1 and type 2 routes but in this particular configuration there are no external ospf routes there's only intra sorry inter area ospf routes but let's say off router 7 we had a static route or we had a bgp some other protocol then we would have to when we're doing this specify a little bit more if we want to get all the routes through so just as part of good practice let's include that as if we were configuring it that way so now i'm going to do match we're going to do internal and then external one external two so if you're not following along just go back and watch that video because we go through it in the other room distribution video all right so now if i go to router 2 let's just confirm that it's picked up some new routes and sure enough it has picked up all of these excellent so that's all it was required next one redistribute static so i want to redistribute the static route so we know into bgp so static now there are some other options i could put in but i'm just going to leave it like that now go back to router 2 see if it's picking up some more routes and it has it's picked up this one but it's not picked up 10.0.1.0 now i wonder why that is and it's quite simple if i go to router 3 we'll show you what the routing table looks like do show ip route so we're looking for this 10.1 so 10.0.1.0 network and 10.0.1.0 is right here and if we look at the icon on the left we can see it says c it's a connected route it's not static i actually do have a static route specified in the config and let me show you that as well show run oops sorry begin at ip route we can see i oh i did not have an ip route for that specified sorry i thought i did specify that but perhaps i didn't because i knew that was unnecessary because the connection is directly connected so you don't really need to specify a static route from router 3 to router 8 on this connection you just specify the ip addresses and they'll talk together that way you do however have to specify the next one as a static route being the ten zero zero zero now if you're a little bit eagle-eyed you're probably picking up on something here being the default route that i've specified so i've specified that any traffic is just going up to router 8 from router 3 for any network that we don't know about anything that we don't have an actual route for in the table so we'll have to come back to that in a second but that is so because we don't have that as a an actual static route the 10.0.1.0 network that's why it's not going over into bgp and coming up from router 2. so to rectify that what we have to do on this device is redistribute and there's another option here connected you can actually redistribute connected routes so let's do that press enter now if we go to router 2 refresh this now we've picked up this route here all right so it's important to make sure that you're aware that this is also an option available to you to redistribute connected routes okay now there is one other thing we just saw on router 3 which was the default static route and if we go over to router 2 it does not have the default static route it has not been redistributed into bgp so this is a little trick that you do have to remember when it comes to redistributing default static routes with particular protocols there is extra steps involved so bgp what you have to do is specify a particular command that it's not redistribute so if i just do a question mark here we'll see what we have available to us we've got a few different commands that we can use but the one that we want is this one here so we'll start with that so i'll start typing default information and there's only one option originate it's not so intuitive but if you put this in now if we go to router 2 let's refresh the list this comes through so if you want to redistribute a default static route or a default route into bgp you have to remember to use that command remembering we're specifying this within the address family ipv4 unicast within the vgp routing process and that should be everything so now router 2 will know sorry jumps a little bit too far we had a 2 and 1 should know all of these different addresses now the pings won't work even though they know about them because the other devices don't know how to get back to router 1 and 2 because we haven't done the full mutual redistribution but if i go to router 1 this is what we saw last time i do show ifp route to refresh it we can see we're now picking up the uh so we've got firstly the default static route that's come through we've got one of the other static routes we've got a summary address for all of the ospf routes i've got the connected rip routes i've got the bgp route and i've got the eigrp route so i should theoretically be able to reach from router 1 any other device now it's just not going to return because the other devices don't yet know how to get back okay so that's it for bgp one protocol down we now have if i scroll this across so you can see a little bit easier we now have three more to go so there's a fair bit to this hopefully you're following along if you're a little bit confused take a break pause video come back at a later time otherwise let's just crack straight into it so next let's do ospf i'm going to redistribute into ospf let's start with the redistribute command and again just go through alphabetically so we'll start with bgp so redistribute bgp what autonomous system is going to be 100 being the closest one on this device there are some other options available to us but i'll just press enter now if i go and just test on router 5 let's see if it's worked this is a general process i'm going to go through as soon as i do it i'll just check on the next device to see if it works or not and if it doesn't we troubleshoot but on router 5 we have now instantly picked up this and this so the rip and bgp routes so it's working no more required excellent that's what we like next redistribute eigrp now connected as well is uh also available let's just do it just so that we're all happy with everything that's been configured so do that one and now we'll do the eigrp autonomous system 25 enter so now if i go to router so i'll move this across a little bit so you can see that's router 5. i'll refresh this now up here we didn't have the 10 network we now do have that 10 network because i redistributed connected but we don't have 10 0 0 0 because i haven't redistributed the static routes in yet or the default route but we have now also picked up the eigrp so excellent nothing more required there now redistribute what's remaining keep going down the list not all spf we're not redistributing it to ourselves now rip is an option here but we don't need to because that's already included in bgp so don't confuse yourself by adding in things you don't need to last one is going to be static a few options but we'll save it like that now if we go to router 5 and refresh hopefully we'll now see up here the 10.0.0.0 network like actually as an ospf external type 2 round so let's go sorry here refresh and there we have it it comes through excellent and that's it done for ospf nice and simple except is it if i go here where is that default route it's the same deal as bgp when it comes to ospf we still have to do that redistribution of the default route and thankfully it's pretty much the exact same method as bgp so if i do a question mark here we'll see that we already have this default information command available to us so default tag information plus the options just originate done and now if i go to router 5 refresh this list we now see we're picking up that default route excellent okay now let's go into redistributing into ergrp so router ergrp 25 with what this is what you'd normally do if you're doing static but remembering this is not how i defined it on this device i did named mode and now this is where it's going to get a little different to what i've done in the previous videos with ergrp because with the previous videos i used ergrp classic so i'm making a little bit more complicated now so hopefully you can follow along but i'm using this named mode you now have to do address family ipv4 unicast and then autonomous system 25 i know it's a lot but once you've done it a few times i wouldn't worry too much it'll probably stick like glue okay so now we're inside of this now we can specify sorry no we can't not quite yet there's still a little bit more so you can see there's no option for redistributing here what we actually have to go into is topology base so there's topology base and now the redistribute command is available to us so there's a fair bit you've got to put in if you want to start configuring when you're using the ergrp names and remembering this isn't even it we've still got the extra steps with metric afterwards so let's do what we did before start alphabetically we'll start with bgp so i'm going to redistribute bgp autonomous system 100 but we still have to specify metric for all of these so if i don't specify anything so i'm redistributing into ergrp now i haven't specified metrics so if i go to router 4 where i'm expecting the bgp routes will not come in so if i do a show ip route sure enough we don't see any of the bgp networks coming through so we do still have to specify that metric keyword again i've gone through this in a previous video where we redistributed between eigrp and ospf so check out that if you're a little bit confused but again i'm going to do something slightly different i could just do metric here and then start specifying the metric but i'm actually going to do it a little different so i do a question mark here we have a few options like we always do but one of the options that we can put in is this one default metric so i can set the default metric here and that will then apply to all of the other protocols that are redistributed in so i only have to set this once rather than every single time let's make our lives a hell of a lot easier by doing that so default metric and now it just follows along the same way that we've done this in the past so i'm just going to do 1 million the delay is 1 and 2 5 5 then 1 then 1 500 same as we've done before now let's set that default metric that applies to everything that's redistributed in so now i can simply just go to router 4 let's refresh this and instantly comes up so now we're getting that bgp and the rip networks fantastic and now i should be able to continue along like i did the other protocols and just do redistribute what's next in the list next in the list would be eigrp but that's what we're currently redistributing into so ospf ospf process id1 enter no metric required refresh this if i can click into it properly and look at that they all come through straight away easy and then i'll do the same thing i'll do redistribute the last one being static and that's it no metric required refresh and we're getting the static throughout static routes including the default static route so there's nothing extra you have to do here on ergrp to get them in but we are missing the 10.0.1.0 because we haven't included connected so redistribute connected and then we're done so router4 it's picked up everything fantastic all right so the last thing that we need to do is redistribute into static now you might be asking how the hell do you do that how do you reassure you into static well the great question because you don't really it's static routing isn't a it's not like a routing protocol that's like running on the device you just set manual ip routes that's what static routing is and so what i've done is configured a static route that goes up to router 8 so for everything else it's going to go straight up there now the issue is if i haven't configured it properly on both of these devices i'm not going to be able to get all the traffic all the way through so hint i haven't if i go to router 9 and do show ip route we can see it knows how to get to what's directly connected and it's got a static routes to 1010 but it's not going to be able to reach ergrp for example because it doesn't have any route to get there 172.16.0.4 that one's just going to fail it doesn't have a round as routing table but if i put in a static route hopefully we'll resolve the issue so i p route zero zero zero zero and then zero zero zero zero and now i've got to specify how do i get to everything i'm just going to specify the next hop on router rate 10.0.0.8. so now if i get out of this just to exit sorry show ip route oops accidentally right clicked we can see i now have this default static route that just points to the next hop to go to everything and then on router 8. do i have one open no i don't have one open for rhetoric i'll open up a console session and we'll verify that it's knows the same thing thankfully it does it's got a static route that doesn't point back to router 9 it points down to router 3. so now if i go to router 9 and i run that ping to eigrp success cool so hypothetically that should be it we should have pretty much configured everything to get all networks to talk to each other now we could do things a little bit differently for example round three with the redistribution into eigrp is what we're currently doing instead of doing that default metric we could instead do a route map so we can there's a lot more there's many different ways to do this and it can get a hell of a lot more complicated start throwing in like ospf version three with ipv6 and configuring route maps on every single redistribution uh let me just show you so if i did redistribute ospf one see one of the options here is route map i could do route map and then specify route map and then you have to look to the route map and see what i suppose find there because in the route map that's when you can specify the metric and it would still achieve the same outcome i've made it a little bit simpler for everyone here by not doing so much detail but there is still a fair bit to get through with this lab so obviously feel free to go back and watch as many times as you need but i would suggest going through this sort of stuff yourself i'm going to provide the config files for the default setup before i did the redistribution in the description so that you can download them you may just have to adjust for like device names sorry interface names because mine is called e for ethernet so you might have to make some adjustments for yourself but um yeah feel free to use those and then you just have to configure the redistribution to get that all working now let's just confirm before we close off that it actually does work so i'll go to router 1 and we'll go to from router 1 we'll go to router 9 7 and 4 and make sure that traffic can go not just to each device but can get back which is verified with icmp traffic so let's start with router 9. ping 10 0 0 dot 9 please please yes all right next one ping 20 0 2 7 yes all right last one will be ergrp 17216 172.16.0.4 success excellent so router 1 comparing to 9 to 7 and four noting that to go through to seven it's going into rip which then redistributes its routes into bgp which redistributes its routes into rspf area zero which then redistributes into a different lspf area which is 51 all the way through to router 7 and then it comes back so there's a fair bit going on but we've successfully configured route redistribution between all these protocols now this doesn't cover absolutely everything i haven't covered off on my isis for example and i haven't covered off on redistribution from rip into ergrp directly or vice versa to configure and go through every possible route redistribution uh with every protocol would just take way too long or i'd have to cover it at a very high level without going into detail which isn't what i want to do if i'm teaching this stuff i want to be able to go into enough detail so you can properly understand what's going on so if you are curious about some of the other things like maybe redistributing bgp into isis just go into a lab and give it a crack that's pretty much how i've gone through a lot of this i just go into it and just start typing redistribute seeing if the options there and then press enter and just see if it works and if it doesn't troubleshoot this is how you learn all right but aside from that i hope you enjoyed feel free to drop down some comments if you've got some further questions this is a fairly complicated lab as i've said plenty of times already so feel free to ask questions if you've got them otherwise i do appreciate the time that you've put in to reach this far in the video and hopefully i'll see you in the next one [Music] [Music] you
Info
Channel: Your IT Explained
Views: 11
Rating: undefined out of 5
Keywords: Ccnp, enarsi, cisco, exam, topics, troubleshoot, tshoot, aus, aussie, connected, static, redist, ebgp, namedeigrp, intra
Id: c8i1YzuG6Tg
Channel Id: undefined
Length: 37min 58sec (2278 seconds)
Published: Tue Dec 14 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.