How to configure OSPF on a Cisco router in Cisco Packet Tracer - CCNA Network+ 2020 #LetsLabITup.

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone guys welcome back to another video with infosec pack in this video what i want to go over is ospf configuring it labbing it up and showing you guys how to verify neighbor relationships and all that good stuff so without further ado let's get into it and let's resume on the desktop [Music] okay guys welcome back so this is going to be our topology that we're going to be using and this might be looks familiar it might look familiar from the hsrp lab i pretty much was figured i'm just going to use the same one i just obviously cleared out the configuration and this one we're going to be talking about ospf oh spf cisco lab okay 2020. all right so let's go ahead and zoom well i guess we can't really zoom it in too much but we can zoom in like that so first things first we are going to the interfaces are on the the the routers the switches and not the switches switches are they don't have any spi's but for example we go to switch the isp switch uh isp router sorry and we could do show ip interface brief right and in there we see the ip addresses or the ip address so if we do show ip protocols there's nothing running show ip ospf there's nothing running right so if you do show neighbors nothing and show ip routes ospf nothing okay perfect so we're going to check on all the routers to see if the ip addresses are up and configured so for the isp router i configured 11.11.11.3 and with i believe it's a 24-bit mask but we can check that in the show running config yes so gigabit one is a 24-bit mask and this is the configuration for that interface right here okay as you see there's nothing else in the config perfect so let's x out of this router let's go to r1 let's go ahead and do the same thing we're in r1 show ipospf nothing show ip protocols nothing and show ip interface interface brief so same thing we have our two interfaces one that's going up to the router of the isp and then one going into our lan right so let me back up a little bit so so we can see that here let's go ahead and go back minimize this so router one we have one going up to the switch up here going up to the isp and then we have one going to the switch here go into our pcs which is right there uh zooming this out a little bit so you can see it i'm trying to see if you guys can see on that screen all right cool so now let's go ahead and go back to router one you can see that those that is the configuration and that's how it's um lining up okay so next thing i'm going to do is show run and we can see the interfaces for gigabit zero zero zero and a gig gigabit zero zero one okay perfect and this is the like i said this is the lan segment and this is the lan segment the the wan interface okay so that's that now we can let's go to r3 okay show ip protocols we have nothing and show running config let's see what we have going on here all right i'm gonna have to fix something really quick as you see on this interface it has standby so this was from a previous lab for hsrp i'm going to copy this we're going to take this out of there okay i'm going to show you how to do that it's a little bonus configure t i'm going to go into the interface gigabit zero slash zero slash one and i want to negate it so i'm gonna say no paste this boom do write w wr wr and then let's end here show running config again now we don't have this guy there anymore so good so if we do show ip route we have just connected okay perfect and now we do show iprout ospf nothing and show id protocols i want to actually show standby that is the command to see hsrp okay i think we're um we're good so now this is our topology that we were given to our boss to configure ospf on right so the approach i'm going to take and and if you guys want to stop it right now and try to attempt this yourself bring in an isr router or switch two isrs you know two more switches and connect you know just exactly how i have it pause it now attempt it and then resume and i'm gonna walk through the the process of getting this configured all right cool deal all right perfect so we'll start out our uh i'll start off the isp router all right so first things first like i said let's do show ip interface brief my favorite command all right so on this isp router we have to create ospf for just one network right so the way we do that is configure terminal and then router and in question mark you can see the routing protocols that we have to configure today we're going to be using open shortest path first all right so let's do that and then let's type the processor id and i'm going to use one okay fair enough cool deal so in here we're going to do network question mark what is the i you know what is the network that we want to use i believe it's 11.11.11.0 and then we're going to use the wildcard wildcard bits so on a 24-bit mask the way we write that in dotted decimal is 0.0.0.255. perfect and then the next one is area okay the area we're going to put it in is zero this is only a single area ospf it's not multi-area it's not any craziness like that okay so that is it for now this is router one of the isp router should be configured so ospf so now we can just do ospf interface here we go we can see the interface that we have ospf on from for 11 11 11.3 24 bit and it's an area zero perfect okay cool so isp router is done now it's just gonna hang out and wait for its brothers and sisters and neighbors okay cool deal so let's go to r1 r1 and we can just do the same exact thing let's make sure show ip interface brief so we know what we're messing with so on this one what we're going to do is do the 192 168.1 network or 10 network in this sense actually let me have the change at my notes you know why i have that as that one um let me actually see something real quick uh let me make sure i'm trying to make sure yeah it's not 10. i don't know why i had that one on on my notes all right so sorry sorry guys sorry sorry sorry all right cool deal so on router one we're gonna do configure terminal same same same uh process router ospf one okay but on this one whoops on this one what we're going to be doing is putting in the network that this is connected to so here we're going to be doing the one one 11.11.11.0 network and then the 192.168.10 network fair enough okay cool so the network 192 168 type oh my god 10.0 with uh 20 24. oh number remember wildcard wild card i remember i used to love getting my wild cards and uh in my uh i think it's the wild cards my baseball cards whatever upper deck or whatever they used to be i don't know maybe that shows i'm i'm old i look young but i'm i'm old um okay cool deal so that's that one network and then the next the next network is the 11.11.11. zero okay cool so let 11 10 11 type in 10. got zero same thing area zero right because we want to have these guys all in the same thing and the do wr is saying i want to write the the write to config i want to save the config and do because since i'm not in on privilege mode i'm going to configure uh i'm going to configure router mode and that's the reason why i had to do do and look at this boom i'm already getting adjacencies see that process one neighbor and this is dot one so technically let's go ahead and try to ping 11.11.11.3 look at that cool we're in action do we oh shoot i think we missed um i think we got both right show ip ospf ospf neighbors cool cool we're we're getting somewhere all right fair enough so let's do show iv interface brief because i always forget everything all right so we have show show running config ospf where you right here so those two are in there okay hopefully you guys are following so far and then um let's do show ip route ospf okay cool it's not yet so so now let's go ahead and um configure router 3. uh okay i already did the show ipa interface brief for this show ip protocols nothing yet show ip ospf nothing yet okay cool so this is router3 now so let's do configure terminal and we're going to do router ospf one all right because that's the processor id and then this is router three so the networks are going to be 192 192.168.10 and then 11.11.11.11. 11.11 line 11.0 a lot of 11's okay so network 11.11.11.0 0.0.0.255 area zero right and then network 192. 168.10.0 0.0.0.255 area zero cool cool so that's pretty much how we how we configure and you can see we have adjacency is loading we'll give that a few minutes and we can do this we can write the config we show ip protocols now we can see the routing protocol that's running is ospf and let's see the router id is 192.168.10.3 this is good and the routing for networks the the networks that we're routing is only the two networks because it's a small topology which is 11.11 11.11.11.0 and then 192.168.10.0. see that okay so technically let's see if we can go from pc1 up to the isp router okay let's see if we can ping that so let's go here terminal ipconfig okay so let's go to ping one one one one one dot three let's give it a second to arp hopefully it doesn't make me look silly i break something like a tracer sometimes is a little slow maybe i broke something i don't know maybe i broke something let's go we'll have to go check troubleshoot all right so let's see what's going on here all right so i don't want to do that uh let's go ahead and go to router 1. show ip route all right let's see let's show ip ospf all right and that okay that is the right let's see if we can find the gateway maybe i have let me go check my ip settings oh that's why see troubleshooting 101 make sure your gateway is correct right and like i said this was a lab from the hsrp so hsrp uses a um a virtual ip for the gateway so one router goes down it picks up the secondary router but you can watch that video if you want to check that out but this is cool i'm glad this happened i wasn't i wasn't planning this so now let's go back let's go ahead and ping 192 192.168.168.10.1 okay i can we can ping the gateway that's a good sign right now let's see if we can get out to the internet right let's go ahead and see if we're ping there it is hopefully there it is there it is cool let's ping again so there we are ospf has been configured let's go ahead and pc two it's probably the same problem let's go ahead and fix the ip that one okay cool deal i don't know why i act that out but my bad all right so do it ipconfig ping the gateway for uh for testing connectivity perfect and then i'm gonna do one more thing on the other machine and this machine too let's go ahead and ping remember os osp um ospf is the shortest path right so we're going to see how it's traversing through the network right so 11.11.11.3 all right let's probably do arp so let's go ahead and open this one again and pc2 and let's do a trace route right 1.11.11.3 let's do the same thing here and i want to explain that in a second oh trace wrap all right so let's look at the topology so the first hop that it's tracing through is r1 right so it's going through r1 i1 and then going up to steam thing going up to the isp router so how this is going as you've seen through the path which this is awesome check this out let's actually do my favorite move this whole thing over but maybe you guys can't see because my my big head is in the way and now let's go ahead and bring this guy back over pc1 all right so let's go ahead and pc1 is on the left side right so let's go ahead and do this right and we're going through router 1 up to the the isp router right so from pc2 it's not going to router 3 and going up it's actually taking the route that it's going over the switch to the to the router up to the isp router as you've seen let's go back here pc2 and let's do the same thing and you see that probably because the cost and all that stuff but that is how you configure ospf and uh hopefully it's been very informative for you guys and it's educational and you guys are learning something so if you want to copy this topology take a screenshot configure it the same exact way and um and you know just for a bonus if you guys want to know where to get these icons so they don't look like you know if you open up a regular for an example we go to we got a regular router and if i click on here i can change customize the icon browse and then i have my documents and then i have a packet tracer icons and i could put the mask the anonymous mask and now this can be my router that's how i do like the rogue dhcp servers i'll put this bad guy so um so we can uh do some do some cool stuff but that is it that is ospf hopefully this guy hopefully guys has been helpful for you guys i really appreciate everything like i always say and um if you guys know what bada bing is bada bing bada boom um look it up look it up and it's it's a it's a it's a unique place in new jersey but um again thank you so much if you enjoyed it please like subscribe share with your friends and family and let's grow together happy 2020. thank you you
Info
Channel: InfoSec Pat
Views: 2,370
Rating: undefined out of 5
Keywords: OSPF, Cisco, Packet tracer, network, Open shortest path first, ospf routing protocol tutorial, CCNA, ospf configuration in packet tracer, ospf configuration, ospf configuration step by step, ospf configuration in packet tracer in hindi, beginners, tutorial, cisco, cisco systems, ospf explained, network plus, network plus certification, network+, network+ certification
Id: ciwlr26TKp0
Channel Id: undefined
Length: 19min 12sec (1152 seconds)
Published: Tue Jan 07 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.