How to Configure OSPF Routing in Cisco Packet Tracer

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi friends welcome to all in this video we are going to see how to configure OSP of v2 in a single area here we are going to use a three rotors one and four one series also three sutures tune and 6 0 then the nd device now we will rename these devices this is PC tree here we have PC 2 and here we have PC 1 this is our such s1 this is r1 this is r2 this is s 2 this is our 3 and this is s Troy now we will connect these devices coming to connection so here we will use copper straight through from our 1 G 0 star 0 to s 1 G 0 / 1 yes 1 FA 0 / 1 - PC one coming to our to G 0 star 0 to s to G 0 / 1 yes to F a0 / 1 to this PC - on our 3G 0 star 0 to G 0 / 1 from s 3f h 0 / 1 to this PC 3 now we will add seal interface for these rotors coming to r1 you will switch it off and we will add this serial high speed of an interface card switch it on coming to R 2 we will repeat that same step here also and coming to R 3 coming to the connectivity here we will use the serial DCE will connect from our one serial 0/0 star 0 to r 2 serial 0 0 star 0 then from our 2 serial 0 star 0 / 1 to r 3 serial 0 star 0 / 1 now we will label all the ports we used to hear here we used G 0 star 0 and here we used G 0 / 1 he also be used to G 0 star 0 here also be used to G 0 0 should we use G 0 / 1 on this uchi s 2 g 0 / 1 on this s 3 here we used serial 0 / 0 / 0 other end also be used to serial 0 / 0 star 0 and between R 2 and R 3 serial 0 / 0 / 1 the other end to be connected to see R 0 so R 0 / 1 now we will highlight all the networks in this topology here we can see one Network here we can see the second Network here we can start or network also we have two more networks here is the fort Network and here is our 50 Network here is over a network one trace or network to whistle network 3 here is our network for and here is how it works five here we can see the enteric actress for the each unit to work for that work one we will give 192.168.1.0 / 24 for network to 192.168.0 / 24 it worked three 192.168.0 / 24 for network of 4 1 7 2016 2 1 . 0 / 3 & 4 network 5 1 7 2.16 dot 1.4 stars 30 first of all we will configure a network of 1 and here we can see the network actress we planned for this network 1 its 192.168.1.0 / 24 so we will configure this a PC 1 as well as this our interface G 0 / 0 here we can see the IP address we planned for this network 1 for this PC 1 we will assign my nine two dot one six eight dot two 1.10 / 24 and the Folies interface G 0 / 0 on this row R 1 we will assign 192.168.1.2 1/24 coming through the configuration first of all we will do it on this PC 1 the scope IP configuration here we will set the IP address its 192.168.1.1 and here we can see the set to mask its correct default gateway its 192.168.1.2 1 we have to set these IP address for this interface G 0 / 0 on this road or R 1 coming to the configuration on this road or R 1 CLI would you like to enter the initial configuration dialog and no enable configure terminal here we will set the hostname as R 1 now we will go to that interface that is interface G 0 so R 0 & 2 here we will set the IP address 192.168.1.1 this to mask 255.255.255.0 and we will give nor should come and he and here we can see this interface D 0 / 0 changed state 2 up also line protocol changed state 2 up you will copy running-config startup-config now we can verify the configuration show IP interface brief and here we can see the status of the et interfaces so now we can figure this is G 0 star 0 and here we can see the IP address it status and protocol are up also we can give show running config and here we can see the details interface Gigabit Ethernet 0 star 0 here we can see the IP address and it's separate - mask now we will verify the connectivity in this network 1 coming to PC 1 command prompt and T we will ping to the default gateway 192.168.1.1 and here we can see we are getting very plain now we will configure this network - here we can see the intricate rest we plan to folly's network - it's over nine two dot one sixty eight dot 2.0 slash 24 here we can see the IP address details for this network - for PC - wheel and say in this IP address 192.168.1.1 slash 24 and for this interface g0 smart 0 on the server or r2 we will assign when I in 2006 a door-to-door to 1/24 first of all we will assign the IEP a trust for this PC - coming to desktop IP configuration and here we will set the IP address it's so 192.168.100.1 I into dot one six eight dot a 2 Rho 2 1 now we will configure this interface g0 so R 0 on the server or r2 no enable configure terminal here we'll set the hostname as r2 now we will go to that interface Gigabit Ethernet 0 star 0 and we will set the IP address 192.168.1.1 255.255.255.0 and here we will give no command copy running-config startup config and we will verify the configuration show IP interface brief and here we can see that interface G 0 so R 0 status up protocol up show running config and here we can see the interface Gigabit Ethernet 0/0 here we can see the IP address and to mask now we will verify the connectivity in this network - coming to PC - command prompt and T we will ping - it's a default gateway that is 192.168 or 2 Rho 2 1 and here we can see we are getting the replay now we will configure this Network 3 and here we can see the network I trust we plan to for this network three two one nine two dot one sixty eight dot 3.0 slash 24 here we can see the IP address for this PC three it's 192.168.0 tens now is 24 and for this interface g 0 slash 0 and these are our three when I in 2.26 8.3 dot one we will configure this now coming to PC 3 the stop IP configuration here we will set the IP address 192.168.1.1 to mask coming to the default the Gateway 192.168.0 2 1 coming to this or or r3 now enable configure terminal you will set the hostname as r3 and now we will go to the interface g0 star zero and we will set the IP address that is 192.168.0 to one this up to mask 255.255.255.0 no shut command copy running-config startup config and we will verify the configuration show IP interface brief and here we can see the details G 0 star 0 IP HR status and protocol up also we will give the show command the show running config and here we can see the IP address and it's submit to mask now we will verify the connectivity in this network 3 coming to PC 3 and we will ping - it's a default to Gateway ping - 192.168.1 and here we can see we are getting the replay now we will configure a network for and here we can see the 2 rakat trust we planned a for this network for is 1 7 2 dot 16.2 1.0 stars 30 here we can see the IP address for this interface serial 0 star 0 / 0 on this road or r1 it's 1 7 2 dot 16.1 door to 1/30 and here we can see the IP address for this interface serial 0 / 0 / 0 on this road or r2 that is 1 7 2.16 dot one dot two stars 30 so we will configure these interfaces on these rotors first of all we will do it on this road or r1 enable configure terminal we will go to that interface that is serial 0 / 0 / 0 and here we will set the IP address 1 7 2.16 dot one dot 2 1 the subnet mask 255.255.255.0 five - we will give the no command here copy running-config startup-config we will verify the configuration show running config and here we can see the interface serial 0/0 star zero here we can see the IP address and it's submit to mask also here we can see the clock rate so this side is the DCE we can verify that show controller's serial 0 star 0 star 0 and here we can see DCE now we will do it on this Aurora are to enable configure terminal and we will go to that interface seriously Roseland 0 star 0 and here we will set the IEP at rs.1 7 2.16 to 1.2 and decided to mask 255.255.255.0 2 and here we will give you the no command copy running-config startup config and we will verify the configuration show running config and here we can see the interface serial 0 star 0 star 0 here we can see the IP address and it's a submit to mask it's correct now here we can see the link between these horrors R 1 and R 2 is up we will verify the connectivity here we will pink from the server r1 to this R 2 coming to our run ping to 1/7 2.16 tour to 1.2 and here we can see success alright is hundred percent no we will configure our last unit to work that is network 5 here we can see the network I trust we planned for this a network 5 it's 1 7 2 Road 16.2 1.4 / 30 here we can see the IP I trust details for AC interfaces on the server are too near 0 / 0 / 1 we will set to 1 7 2.16 dot 1.5 you / 30 and for this interface seriously Roseland 0 / 1 on the server are 3 we will set to 1 7 2.16 door to 1.6 / 30 coming through the configuration on this row are to configure terminal interface serials rosin r 0 / 1 and here we will set the IP address 1 7 2.16 to 21.5 on this happy to mask 255.255.255.0 - and we will give you no come on here copy running-config startup config and we will verify the configuration show running config and here we can see the interface serial 0 / 0 / 1 here we can see the IP address and it says submit to mask its correct also here we can see the clock rate no we will do turn this or rr3 enable can figure terminal you will go to that interface that is serial 0 / 0 / 1 and we will set the IP address 1 7 2.16 to 1.6 and this up into mask 255.255.255.0 - here we will give the notion command copy running-config startup config we will verify the configuration show running config and here we can see the interface serial 0 / 0 / 1 it i Beatrice and seven two masks here we can see that link between these Aurora's r2 and r3 is now up now we will verify the connectivity between these rotors r2 and r3 coming to our three CLI we will ping to 1/7 2.16 wrote a 1.5 and here we can see success rate is under % this topology we have seen total 5 networks if you consider this rotor r1 we can see total - directly connected networks and for this ruler our two we have three drug the connector networks and on this rotor r3 here we can see two directly connected networks we can verify those directly connected and it works on these servers coming to r1 sure we will get the show command show IP route connected and here we can see two directly connected networks in this rotor r1 coming to our to show IP route connected and here we can see three directly connected networks on this r2 and coming to r3 show IP route connected here we can see two directly connected networks so here we can see this r1 is unaware of these networks that is network to network three and it worked five r2 is unaware of these two networks that is network of one and a network true then these are true is another of these three networks such as Network one network - and network for so here we are going to configure OSPF v2 in a single area on these rollers r1 r2 and r3 first of all we will do it on this ruler r1 configure terminal here we will give rotor and here we can see the protocol OSPF open shortest path first so we'll give our SPF and then all we have to give a process ID here we can see the number between 1 and the 65535 we can specify this process ID so here we are going to give one no we will give a rotor ID and here we can see we can give the rotor ID as the IP address with the for octet or SPF rotor ID is IP address format so here this is a ruler one we will give one dot one dot one dot two one now we have to specify the network's so before that we will give a do show IP route connected and we can see or the connection networks here now we are going to give then it works directly connected networks on this road or r1 it work here we can see the first network 1 7 2 root 16 dot one dot 0 here is that then we have to give or SPF while the guard beats so here we can see the prefix is / 30 so here the wild card bits will be 0.0 or 0.3 then we can see set the OSPF area ID so here we can give you a area then we have to give the area ID OSPF area ID as a decimal value here we can see the range oh it's got bigger it will give area 0 also we have one more network here here we can see that two 192.168.1.0 now we have to give this wildcard bits so we will see how we have to make this vial dig a bit so we will come to that so here we can see the prefix is last 24 so here the while together bits 0 dot 0 dot 0 dot 2 5 5 then we have to give the area 0 also here we can see the interface G 0 / 0 on this rawrrr 1 we will set this interface as a passive interface so coming to that configuration passive interface Gigabit Ethernet 0/0 now before coming to the verification here we can see be given the wild-card to bits as 0 dot 0 dot 0 dot 3 for this network that means here we can see the prefix as the slash 30 so how we got this while together bits we will calculate that now here we can see then the network address you'll copy this address comment or a text editor here is that so here we can see the prefix is slash 30 this is prefix we will convert to the subnet to mask it is 255.255.255.0 - so here how we will get this of aldicott bits so we have to a subtract this certain to mask from this wildcard to be I mean from this to mask 255.255.255.0 5 so we are going to subtract here we can see so here we can see two five five minus two five five we will get 0 then a 2 5 5 minus 2 5 5 you'll get 0 2 5 5 minus a 2 5 5 we will get 0 and here we can see 2 5 5 minus 2 5 2 we will get 3 here we can see the wild Academies so this is what we configured here here we can see that or here is that next we will consider this network address directly connected network or we can see that I will copy this address and here we can see the prefix is slash 24 so for that be given the wildcard bits as 0.0025 5 coming to your text editor so here we can see the prefix is last 24 so we have to substract 255.255.255.0 5 from this we have to subtract this subnet mask 255.255.255.0 so here we can see the result 2 5 5 minus 2 5 5 is 0 then 2 5 5 minus 2 5 5 5 0 then here we can see 255.255.0.0 minus 0 it's 2 5 5 here we can see the while there are 2 bits here is that now we will verify the configuration on this RRR one show running config and here we can see rotor OSPF one rotor ID passive interface this is what we set G 0 star 0 also we can see the network details well they got the bits also here we can see the area 0 everything correct also we can use the Shaka man to show IP protocols and here we can see the details routing protocol is our SPF one here we can see ruler ID maximum path here we can see routing for networks here we can see the passive interface G 0 so R 0 this tends to 110 no we will configure on this road or R to enable configure terminal here we will give our aura OSPF process ID as 1 and here we will give the rover or ID 2.2 or 2.2 then we have to give it specify the networks before that we will give a show not sure we have to start with to do show IP route connected and here we can see the directly connected networks know very easily we can do then it works here network 1 7 2.16 total 1.0 then we have to specify that while the car bits here we can see the prefixes as large 34 that while the cutter bits we have seen 0 dot 0 dot 0 dot 3 then we have to give the area as 0 now we will do the second network and here we can see we got a message process one neighbor 100 200 to 1 on serial zero slash zero zero from loading to full loading ten so they got the neighbor 100 200 to 1 that is the rotor r1 right so network next to so one seven 2.16 to 1.4 / 31 seven 2.16 toe to 1.4 then the wildcard bits 0 0 0 Road truiy it's ash 30 and we have to give an area zero and here we can see the third network 192.168.1.0 and here the prefix is last 24 so we will give the wild agad bits as 0 dot 0 dot 0 2 5 5 area 0 also we will set the passive interface coming to a topology here we can see that passive interface g0 starts your own this Aurora are too passive interface the Gigabit Authority lost our cero copy running-config startup-config now we will verify the configuration on the server are to show running config and here we can see your RRSP of one rotor ID passive interface and we can see the network we given also we can give show IP protocols and here we given this protocol OSPF OSPF one rotor ID coding for networks passive interface also here we will check the routing table of this rotor our to show IP route and here we can see the code Oh Oh is for OSPF here we can see that here we can see the network address 192.168.1.0 slash 24 why I won 7-2 Road 16.2 1.21 so here we can see this network I know topology sure is that Network it's network of 1 so now this R or R 2 is our of this network also network who won but this error R 2 is unaware of this network 3 because we have to configure this OSPF on this rotor r3 or so we will verify the routing table on this roller r1 also show IP route and here we can see the details here we can see total at two routes here is one and here we can see one more this route is so 1:7 2.16 dot a 1.4 here we can see that network its network v yes here we can see that one seven two dots 16 to 1.4 its network 5 so this roller r1 is aware of this network network 5 also here we can see one more network over nine two dot one sixty eight dot 2.0 as last 24 here we can see that network its network to here we can see 192.168.0 now this roller r1 is aware of these two or remote networks that is network to and it worked 5 but it is not it is unaware of this network that is network 3 as I told we how to configure this OSPF on this road or r3 here we can display these two routes which is learned with the help of this OSP of protocol using this a show command show IP route or SPF here we can see two Road civet YZ learned with the help of this protocol OSPF now we will configure our SPF on this or our tree enable configure terminal rotor OSPF process ie d1 and we will give the rotor ID 3.3 or 3.3 then now we have to specify the network's before that we will give the show command with the dew dew show IP route connected and here we can see that directly connected networks so now we can give this Network very easily and it works here we can see the first one one seven towards 1600 to 1.4 1.4 then we hope to give you the Wilding at the bits here we can see the prefixes last 30 so the vial together bits 0 dot 0 dot 0 dot three areas 0 and you will give the next to network network here we can see that 192.168 or 3.0 slash 24 also we got a message your process 1 I about 2 Row 2 Row 2 Row 2 on serial 0 / 0 / 1 from loading 2 for loading gen right so here we will give 192.168.0 then the vial to got to beat 0.0025 5 then the area is 0 also we will set the passive interface here we can see that interface G 0 star 0 on this / r 3 you will give that interface here gigabit the third R 0 / 0 copy running-config startup config now we will verify the configuration on this R or R 3 show running config here we can see the details are our ISP of one rotor ID passive interface also we can see the network details also we can do the show command show IP protocols here we can see the details rotor ID routing for networks passive interfaces or against eroding information sources so this rotor is aware of all the routers here we can see that no here we will verify the routing table on this or our tree so IP route here will give only OSPF and here we can see total 3 remote networks land with the help of its protocol OSPF show IP route the here we can see all the routes 1 2 3 4 5 so this rotor is aware of all the routes we can verify on this R or R to enable show IP route OSPF here we can see two remote networks al and with the help of this protocol OSPF show IP route and here we can see total five networks five routes three connected and two or remote networks coming to r1 here also will give a show IP route connected total to show IP route OSPF three so total five networks hen so here our network is a fully converged now we will verify the connectivity first of all we will ping from pc1 to pc2 coming to pc one the stop command prompt and here we will pin to over nine to door to 168 or 2.10 and here we can see we are getting the replay now we will bring from this a PC one two of these pc3 it's a 3.10 and here we can see we are getting the replay now we will ping from pc to to this PC three coming to PC to desktop command prompt ping to over nine two dot one six eight or a three-toed 10 and here we can see we are getting a replay even we can ping to PC one also it's a 1.10 and here we can see we are getting the real plain we can try from PC three to PC one as well as PC to desktop command prompt ping to when I entered or two one six eight dot one dot 10 this is PC one here we are getting the replay now we will ping to a PC to its 2.10 and here we can see we are getting the replay yes so this is really interesting and easy configuration configuring OS P of V 2 in a single area here we can see all the stroke commands we used in this configuration also here we can see the interface configurations on each rotors here we can see the configuration of our one here we can see the configuration of our two and here we can see the configuration of our three and here we can see how we can figure this is P of V 2 on this roller R 1 here we can see the configuration be done on this roller R 2 and here we can see the configuration amino SPF configuration be done on this rotor R 3 well this video we have seen how to configure OS P of V 2 in a single area front see how any doubt in this video please comment below also if you like my video give a thumb and share with your friends and if you like to get this type of videos in future consider subscribing thank you
Info
Channel: Tech Acad
Views: 15,645
Rating: undefined out of 5
Keywords: CISCO, Packet Tracer, OSPF, CCNA
Id: UuxKkzunR5U
Channel Id: undefined
Length: 40min 24sec (2424 seconds)
Published: Wed Jul 25 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.