Packet Tracer 7.2.10 - Configure DHCPv4

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone this video walks through completing packet tracer assignment 7.2.10 configuring dhcp version 4. this packet tracer assignment is a part of the switching routing and wireless essentials version 7 cisco networking academy curriculum so we did enable and config t and now we're going to exclude the addresses with the ip dhcp you'll notice that most of our dhcp commands start with ipdhcp if we're using dhcp for uh ipv4 then excluded address and you put the starting and the ending address okay ipdhcp excluded i'm gonna do a tab so it'll finish it out for me and then i'm gonna do my first address and it was 192.168.10.1 then 192.168.10.10. remember if you do a question mark there it'll tell you start and end for the starting and ending address so i'm going to exclude the first 10 again excluded addresses 192 168.30.1 192. oops 1.168.30.10 so that excludes the first 10 because again you got to have a default gateway so you got to exclude something a lot of times with your home wireless routers and stuff if you ever look at it it actually excludes like the first uh 99 addresses it'll actually start at like 192.168.1.100. but that still gives you from 100 to.255 or 254 154 more devices that you can use so we'll do that and then ip dhcp pool r3 dash lan all uppercase then our network address this time is the two five five 30.0.255.255.2 five five zero the default router is 192.168.30.1 and then the dns server should be the same as the other network the 20.254 all right so we've excluded my addresses here 30.1 to 30.10 we've set up again the 30.0 network with a slash 24 subnet mask that means it'll span from 30.0 to 30.255 it will not use 0.255 because of being the network and broadcast it will not use 1 through 10 because those are excluded or reserved so that means it will start at 30.11 when it starts assigning addresses okay so we've got those two pools set up now wants me to configure dhcp relay we want to configure r1 and r3 as a dhcp relay agent and the reason being is because we configured this stuff on r2 but r2 is not directly connected to these lans these local area networks on r1 and r3 so we want r1 and r3 to kind of be like a pass through a helper um when it gets that information okay so we got to tell it hey r2 i want you to pass my information um through r1 to my lan and same thing for r3 so to do that you notice here we need a helper address so we go into interface g zero zero which again if you hover your mouse over these interfaces all right g zero zero is the one right here on r1 and we're going to configure it to be a helper address so you notice 10.1.1.2 if you look at your addressing table 10.1.1.2 is this s000 what it's doing is saying hey if r2 sends me a request to s000 which is 10.1.1.2 i'm going to forward this over to g00 but i got to tell g00 to do that on r1 so that's why i go into interface g00 on r1 so we'll go to configuration mode interface g00 and we do iphelper address and then you notice it tells me what is my destination address all right so again it lets me know right here on g zero zero hey i need you to forward any request from s zero zero zero over to me same thing here let's check our interface for r3 it is g zero zero as well so right here on r3 we're going to set a helper address so we'll do interface g00 ip helper address and we're going to forward over from our two's 10.2.2.2 so we want to contact here and say hey i need you to for this over here so we're going to do 10.2.2.2 for the helper address here now we want to make sure that our uh pcs get the information correctly so we need to go to pc1 and go to ipconfiguration before we've always done it as static if we just click this button as long as we've got it configured correctly voila now if you notice it give you some information here it'll be like 64 or 164 dot something it'll say dhcp request unsuccessful so even if you get some stuff here always check to make sure it's right so we get 192.168.10.11. remember i mentioned that would be the first address because we excluded 10.1 through 10.10. you see the same subnet mask you see the default gateway there and the dns server right and when we go to pc2 we should be able to change it from static to dhcp and voila we have our address and again it starts at 30.11. all right and then lastly but not least we see how to get a dhcp address on a router's interface so on r2 over here on g01 we have this shutdown between r2 and the internet cloud here that's g01 right that's g01 right here okay so that one is actually getting an ip address through dhcp from somebody else on the internet so to do that we would do interface g01 and instead of actually going through normally we do ipad whatever the ip address is a subnet mask no shut we're going to do ip and if you notice the options here one of them is dhcp right here ip address and instead of the ip address is dhcp hit enter and then let's turn it on with no shutdown all right so let's make sure it actually got an ip address when you do a show run you'll also see our dhcp pools here you see dhcp pools what is excluded what the network address is subnet mavs default gateway dns servers all of that what addresses are excluded are up here and you'll notice again g01 it says ip address dhcp so it is not a static address i mean you see here it also tells you at the bottom it was assigned 209 165 200.231 from its neighbor all right now that gets us to a hundred percent for our lab assignment
Info
Channel: Anthony Lucas
Views: 2,818
Rating: undefined out of 5
Keywords:
Id: ArYbXmqxvmc
Channel Id: undefined
Length: 8min 3sec (483 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.