Packet Tracer 7.4.1 - Implement DHCPv4

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone this video walks through completing packet tracer assignment 7.4.1 implementing dhcp version 4. this packet tracer assignment is a part of the switching routing and wireless essentials version 7 cisco networking academy curriculum so in this video we're working through again implementing dhcp for our networks our local area networks now right now we have r2 up here kind of as the middleman and it is splitting these two local area networks here on r1 and here on r3 that includes r3 s3 pc2 the other one r1 s1 pc one so kind of looking at the different notations here our r1 lan i'm just going to put some notes here should be uh 192 168 10.0 that's my network address right or my start and then my broadcast or my ending address should be 192.16 and i know that because my subnet mask is 255-255-2550 okay that subnet mask lets me know if i start at 10.0 i need to take up that whole fourth octet and i'm sorry that should be 255. usable addresses are 192.168.10.1 through 192.168.10.254. so that's my usable now when i set up my pool that's all very important to know also what is my default gateway here so my default gateway is going to be 192.168.10.1 that is the interface on r1 down here um so right here g00192168.10.1 for that default gateway um let's see my dns server for that that part of the network is let's see what's our dns server's ip address 192.168.20.254. and that should be all i need right oh also what addresses are we going to exclude right so we need to exclude some starting and ending it says exclude the first 10 from both land so 192 168.10.1 to 192.168.10.10. those are going to be excluded from my addressing um pool all right so that's for the r1 lan the r3 lan over here our network our start is 192.168.30.0 my broadcast or my ending address is 192.168.30.25 my subnet mask is 255-255-2550 my usable address is here that means i can assign them to an interface is 192.168.30.1 through 192.168.30.254. my dns server is still on the other network 192.168.20.254 and my excluded addresses are 192.168.30.1 we want to use our usable okay start starting with 230.1 and then 30.10 so the first 10 addresses there we're going to exclude oh and my default gateway i forgot my default gateway in there is 192.168.30.1 that should be the address of uh g zero zero on r three which is again right here all right so we got all that information it's good to note that because when we start plugging it in that'll help us now again all of this is being configured on r2 so for r2 to know to relay this information down correctly to to r3 and r1 we have to figure configure this as a dhcp relay so my dhcp relay on r1 g00 my dhcp relay address from r2 is um again going to be whatever address this right here is on r2 so that lan that sorry that weigh in that wide area network interface right here on r2 that goes down to r1 so this address right here and on r2 that happens to be s000 so that's 10.1.1.2 okay so again this is an address the wide area network that connects r2 to r1 so it is this address right here on r2 this one right here going down to r1 but we set it on r1's g00 right here to let it know hey any request needs to be forwarded from into this interface up here now our threes g00 needs dhcp relay address from r2 is 10.2.2.2 which again it should be this ip address right here that it is forwarding down to g00 and again it needs to know how to contact that because r2 remember holds all the dhcp information and we call that a relay or a helper so let's start configuring these so we're going to go to r2 and this lab tells you kind of what to do but not necessarily how to do it so i'm going to go over where i can kind of see both of these so i'm gonna do enable config t and i'm gonna configure r1's lan first so i p excluded address and then again you can do a question mark ipdhcp that would help excluded address and you can do a question mark of our starting and ending and they should be usable addresses 10.1 and then you don't have to do it through or anything you just type the second one okay so that excludes the first 10 addresses ipdhcp pool they wanted it named r1land and we're going to put our starting or our network address here network 192.168.10.0 we do have to include the subnet mask there again so it knows it starts at 10.0 and it ends at 10.255. we don't have to put an ending address because that subnet mask lets it know and then we are going to configure my default gateway which is the default router command 192 168 10.1 and then our dns server and that is 192.168.20.254. so that configures the r1 lan okay now let's configure our next one so i'm gonna scroll over a little bit so we can see all our information and good notes we took for the r3 lan so we're gonna name this one uh the uh r3 land pool but let's exclude our addresses first uh ipdhcp excluded address 192 168 30.1 through 192.168.30.10 and then we're going to do ipdhcp pool 192.168.30.0.255.255.255.0. oh i'm sorry get my head on itself we gotta name this r3 land now we can do network 192.168.30.0.255.255.2550. again that lets it know my network address or my starting and it knows the ending is 255 from again that subnet mask then we'll do default router for our default gateway is 30.1 and then dns dash server is 192.168.20 so again when it starts assigning addresses here for the r1 lan it is going to not use 10.0 because that's the network address it's not going to use 10.1 through 10.10 either because we excluded them right here so it's going to start at 10.11 for the first address request 192.168.10.1 will be the default gateway and this will be the dns server same thing for 30.0 right 30.0 is the network address so it won't use it it also won't use 30.1 through 30.10 so 30.11 will be the first address that it assigns to anybody and 30.1 will be the default gateway 20.254 is the dns server as well all right now before i click on dhcp for this to be used remember i got to set up my helper address or my relay here and here so on r1 this is g00 make sure you always configure the correct interface and again you won't have to do this if you configured the dhcp pool on r1 and the dhcp pool on r3 so if you did the r3 land pool on r3 you wouldn't need a helper address because it's directly connected here same thing on r1 if you did the dhcp pool on r1 you wouldn't need a helper address because it's directly connected here we set everything else up on r2 so because we set everything on r2 we have to uh let r1 and r3 know where to get its dhcp information from um it's kind of better to set it up on one and use the helper address so everything is configured on that one router so we'll go into interface g00 on r1 and again our helper address is going to be the interface on r2 that's connected to uh that goes to r1 so it's going to be r2's uh s 0 0 0 interface which is um we'll do ip dhcp oh sorry i p and then you see here helper address we haven't gotten that far yet helper address 10.1.1.2 we'll exit out of there and we'll go to r3 and again it is interface g00 doesn't have to be zero zero it's just what it's plugged into um interface g zero zero um ip helper dash address and then you can see here our helper address is 10.2.2.2 and again 10.2.2.2 is r2's s001 address again it is 10.2.2.2 okay now that we got those set up correctly all right now we got this set up correctly this interface here on r2 should be able to relay that information down here to r3 this interface on r2 on s000 should be able to relay that inner information to g00 now the truth is in the pudding here all right that works go to pc2 desktop and it says successful so we're good all right and again you can check we said it was going to be 30.11 we said it was going to be 10.11 check our default gateways and everything you can check connectivity with pings as well that always helps all right now the other thing we need to do is configure to the right of r1 this interface here is uh g01 dhcp assigned so we actually want to get this assigned from our internet cloud so we're going to go to r2 and do interface g01 and then we're actually going to do ipdhcp sorry ip address dhcp hit enter and then type in no shutdown and turn it on we're going to give it a second i heard my fast forward it actually and you see here it'll pop up and it says this was given an address 209.165.200.254. subnet mask 255.255.255.224. it was given the hostname r2 g01 interface all right so you can try pinging everything we're at 100 now in our lab again this lab kind of told you what needed to be configured for dhcp and the different ways the main things to take away are again how to set up your pools how to do the relay address if you do have a central kind of router connected to some other routers if you don't have that setup you don't need a helper address or relay but because we had everything configured our pools on r2 it needed to relay it to r1 and r3
Info
Channel: Anthony Lucas
Views: 1,379
Rating: undefined out of 5
Keywords:
Id: n3tqBHXyjY0
Channel Id: undefined
Length: 14min 8sec (848 seconds)
Published: Fri Mar 05 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.