Configuring DHCP using Cisco iOS - DHCP Server & DHCP Helper

  Рет қаралды 259,625

LearnTech Training

LearnTech Training

7 жыл бұрын

Do you want to know how to configure DHCP on a Server or Router in Cisco Packet Tracer? Do you want to know how to configure DHCP on a Inter VLAN Routing Network in Cisco Packet Tracer? Do you want to see how to configure a trunk link for inter vlan routing in Cisco Packet Tracer?
In this video we explain the two methods for configuring DHCP. We will build four labs which allow us to configure DHCP using a server and then DHCP using a server in an inter vlan routing network. We will also build a network using DHCP on a router and then again DHCP on a router in an inter vlan routing network.
This video is part of my "Cisco Networking Introduction" Course available on Udemy.com
www.udemy.com/cisco-networkin...
DONT FORGET TO SUBSCRIBE AND LIKE THIS VIDEO! Any Questions? Feel free to comment!
Check out "Configuring VoIP Phones"
• Configuring VoIP Phone...

Пікірлер: 182
@peterk917
@peterk917 5 жыл бұрын
That was exactly what I was looking for, thank you! Most videos I've seen don't utilize multiple pools to make sense of how different networks grab leases from different pools.
@diegoalfredoarandaherrera3074
@diegoalfredoarandaherrera3074 5 жыл бұрын
Thank you. I don´t speak english very well (in fact, I have english classes more late), but I have to say "thanks". I have an exam about cisco packet tracer in 60 min and your video saved me. Thank you so much :,)
@cda9140
@cda9140 5 жыл бұрын
Loved the pacing of the video, efficient explanation of how to setup DHCP server. Thanks!
@MrAlexizhukov
@MrAlexizhukov 5 жыл бұрын
Excellent. Exactly what I was looking and very professionally made. Thanks!
@MrFmontero
@MrFmontero 6 жыл бұрын
Wow Thanks Keith! several different DHCP scenarios all in one video. awesome. I got your Udemy video, haven't started it yet finishing another class, but if this is any indicator of the lessons, I'm already hooked and happy. :)
@shiori43
@shiori43 6 жыл бұрын
Thaaaankkk youuu!!! You helped me to finish my HW, I didn't know ip helper command so the DHCP server never distributed the IPs to the Vlan, now it does! Also, explaining multiple cases is very helpful!!
@Odim65
@Odim65 6 жыл бұрын
by far the nicest and quickest vid on Dhcp
@TheSilentflight
@TheSilentflight 5 жыл бұрын
Not gunna lie. I've been learning ccna for the last 5 weeks, and your videos helped A TON. Thank you so much.
@LearnTechTraining
@LearnTechTraining 5 жыл бұрын
Sure thing! Be sure to subscribe. More will be coming. After I retire courses I sell, I start throwing them up on here. I also take a lot of frequently asked questions from students in my online and in class courses and post them here. Good luck with your continued studies!
@mosasa1307
@mosasa1307 Жыл бұрын
Hey man I hope you read this comment... you posted this 4 years ago... did you get your CCNA?
@macyeeterson1782
@macyeeterson1782 3 жыл бұрын
You are the bees knees man I’m new to Cisco and your videos help me a ton!!
@brianpmcg
@brianpmcg Жыл бұрын
Great video! Quick and to the point, thanks for showing different options. Instant sub!
@976shark
@976shark 5 жыл бұрын
Thank you for taking the time to put all this together....
@120smk
@120smk 6 жыл бұрын
Very informative video. I recommend any one to see this video for all DHCP scenarios. Thanks for your effort .
@LearnTechTraining
@LearnTechTraining 6 жыл бұрын
Thank you soliman - keeps your eyes open for more!
@matmcpaul9060
@matmcpaul9060 5 жыл бұрын
Great video. Makes understanding DHCP easy.
@steliostsotras9050
@steliostsotras9050 6 жыл бұрын
Thank you very much!! Excellent video from an excellent teacher!!!
@tracyannegriffinmanning387
@tracyannegriffinmanning387 5 жыл бұрын
Best training site ever! Thank you, Keith!!
@LearnTechTraining
@LearnTechTraining 5 жыл бұрын
Awh thanks, Tracy! Much appreciated!
@MsHardland
@MsHardland 5 жыл бұрын
Excellent. Thank your sir! it was to the point. you should also add 5th topology as well. which more kinda real environment. Dedicated DHCP Server>Router>Switch>end-users. thanks!
@paulmimicry9147
@paulmimicry9147 4 жыл бұрын
THANK YOU, JUST WHAT I NEED
@aminaqx
@aminaqx 3 жыл бұрын
THANK YOU, YOU'RE AN ABSOLUTE LIFE SAVER!!
@szabolcskovacs8071
@szabolcskovacs8071 6 жыл бұрын
Excellent help, thank you very much :)
@baconatorman3770
@baconatorman3770 3 жыл бұрын
This was so helpful thank you. Your second example is exactly what I needed for my network in Packet Tracer!
@HamdanALGhafri
@HamdanALGhafri 4 жыл бұрын
Thank so much just what I need to learn DHCP. with best wishes
@williamcattr267
@williamcattr267 4 жыл бұрын
YES!!!! Someone who actually speaks English (and without an accent)! This fact all on its own is worth a thumbs up!
@ronniekipkirui
@ronniekipkirui 6 жыл бұрын
Nice piece thumbs up and kudos
@FoysalChowdhuryGoni
@FoysalChowdhuryGoni 3 жыл бұрын
I am surprised help me for study lesson DHCP Server, Thank you very much.
@enriquer3612
@enriquer3612 4 жыл бұрын
Great video, thank you very much!
@BucNasty42
@BucNasty42 4 жыл бұрын
Is this pretty much the way I would set up a DHCP router/server in a work environment? This has helped a ton
@wildertorres7501
@wildertorres7501 3 жыл бұрын
Thank you very much, this video helped me a lot Excelente esta en ingles pero entendi perfectamente el procedimiento que realizaste de nuevo muchas gracias.
@Vasco947
@Vasco947 3 ай бұрын
thank you so much man. You saved my life
@tak-ada
@tak-ada 4 жыл бұрын
This is the best video ever!
@mangkepweng8670
@mangkepweng8670 5 жыл бұрын
Thanks....... Complete tutorial........
@gokulprasanth9517
@gokulprasanth9517 2 жыл бұрын
This was so helpful thank you
@eyadbassam7756
@eyadbassam7756 6 жыл бұрын
You are a good teacher and the best
@LearnTechTraining
@LearnTechTraining 6 жыл бұрын
Thanks Eyad. If you havnt done so yet please subscribe and turn on notifications. We will be launching a lot of Cisco CCNA, Cisco CCNA Security and CompTia Net+ content starting in January!
@brendastoicy3242
@brendastoicy3242 10 ай бұрын
Thank you very much for this tutorial
@shirazi_khan
@shirazi_khan 5 жыл бұрын
Thanks a lot great video
@bestlososever1869
@bestlososever1869 4 жыл бұрын
Man, you are God. Thank you so much, keep up with the good work! ;)
@CriticalzDetucora
@CriticalzDetucora 3 жыл бұрын
Muy interesante, gracias me ayudaste mucho.
@mjb1552
@mjb1552 Жыл бұрын
Thanks 👍😊 Keith.
@a.q118
@a.q118 2 жыл бұрын
Thank you and please don't stop shearing veds
@kacperp5517
@kacperp5517 2 жыл бұрын
koksem jesteś, nie zmieniaj się
@mohamedhossam708
@mohamedhossam708 4 жыл бұрын
thank you for your effort.
@trendingeverything7854
@trendingeverything7854 11 ай бұрын
Good explanation
@nguyenquangduy910
@nguyenquangduy910 2 жыл бұрын
Thank you so much!
@xibu5576
@xibu5576 4 жыл бұрын
Man i had this fking shit homework. i literally searched how to do the last one for like 4 days and finally found you ty so fking much man
@theonewhonevergaveup785
@theonewhonevergaveup785 5 жыл бұрын
very professional
@Paasj
@Paasj 3 жыл бұрын
God stuff! Thank you :D
@everythingispossiblecz2445
@everythingispossiblecz2445 3 жыл бұрын
Thank you very much.
@petersu4869
@petersu4869 3 жыл бұрын
my right ear is very well informed
@petersu4869
@petersu4869 3 жыл бұрын
my bad, my shit earphones lol, vid is fine
@kbaudewyns7
@kbaudewyns7 Жыл бұрын
Very good thank you although a little fast near the end haha : D
@AhmedSamir-nd2cz
@AhmedSamir-nd2cz 2 жыл бұрын
Very Nice
@sorinpaduret6775
@sorinpaduret6775 3 жыл бұрын
THANK YOU MAN
@islamiclifeandearth
@islamiclifeandearth Жыл бұрын
very nice bro
@CaNaOfficial68
@CaNaOfficial68 3 жыл бұрын
thank you so much!
@estebangonzalezgomez3581
@estebangonzalezgomez3581 4 жыл бұрын
ur the best
@BeeBumper
@BeeBumper 4 жыл бұрын
Is there any scenario where the Default-router would be something other than the default-gateway? I saw someone do this when teaching dhcp and I always thought it had to be the gateway but they used some other address. It still worked and that kind of made sense as you define the network and mask using the network command in DHCP-Config mode, which makes me ask why would you need the default-gateway since the range of addresses is defined. I guess it depends on how the DHCP server determine the NW that the request is coming from, but if it had to do with the defined default-router I would expect putting another address other than the default-gateway would cause a failed attempt. When he did this it didn't fail, it worked like it always does. I will be going back to that lecture so perhaps I can give more detail but off the top of your head is there any scenario this might be the case?
@ahmadasghar7193
@ahmadasghar7193 4 жыл бұрын
Hi mate it helped me alot Cheers I have one question If router is acting as a server(case 1) How can we limit the numer of users on one network ?
@classix5848
@classix5848 2 жыл бұрын
god bless your soul
@highlights973
@highlights973 2 жыл бұрын
amazing
@SANTOSHSHRESTHA111
@SANTOSHSHRESTHA111 2 жыл бұрын
Thanks😀
@naim2639
@naim2639 4 жыл бұрын
thank you
@noorihamid1718
@noorihamid1718 3 жыл бұрын
Thanks
@cabecitavides
@cabecitavides 4 жыл бұрын
Hi , First of all, THANK YOU, finally i am able to do DHCP at least on Packet tracer. One thing that i noticed that in your video as well as when i tried it at home, i noticed on sample two, this is the one where you add the dchp server without vlan. The dhcp server gave the addresses to the hosts but i don't see them getting the default gateway info. Can you please explain why? it occurs on my sample that i followed from you as well as in your presentation.
@hasanalbanna1600
@hasanalbanna1600 4 жыл бұрын
nice
@drgrockster
@drgrockster 3 жыл бұрын
ok had to renew the pc addresses a couple of times it's working now
@BeeBumper
@BeeBumper 4 жыл бұрын
I also noticed you didn't use the "Service DHCP" command, is it on by default? This would be the first step I would think to enable the dhcp service.
@amarananamaranan5287
@amarananamaranan5287 5 жыл бұрын
is it possible to connect the dedicated dhcp server to the router to distribute the ip addresses? DHCP Server -> router -> switch -> PCs
@sandeepnainwal13
@sandeepnainwal13 6 жыл бұрын
nice video..could you please help me setting up cisco ips in gns3
@mateoasakusabashi498
@mateoasakusabashi498 5 жыл бұрын
Merci
@zglitch4021
@zglitch4021 2 жыл бұрын
Has the info i need.. Kind of Currently doing a Networking class and trying to figure out why my FHCP server wont extend past the router. Have not done any training for the CLI yet, so I'm trying to to interpret the reasons of the IP's entered.
@BeeBumper
@BeeBumper 4 жыл бұрын
Very easy to understand for sure so thank you for that but sorry man the fact you put a helper address on both router interfaces confuses me. I understand how and what we are doing but I don't get one aspect. It works simply by having the 2 dot 1 interface having a helper address why would you need one on the 1 dot 1 interface as it works for the 1 dot 0 network without it and it doesn't add anything to the 2 dot 0 network getting an address. I did it with only adding the ip helper-address to the 2 dot 1 interface and it works fine. You also showed any device on the 1 dot 0- nw can get an ip address as soon as you configure the services dhcp pool. No helper address required. Is there a scenario that it does come into play?
@hectorcardenas6616
@hectorcardenas6616 Жыл бұрын
in the last configuration having just the server and the switch, you can have dhcp configured for all 3 computers without the need for the router configuration.
@BaronHnid
@BaronHnid 4 жыл бұрын
You saved my grade in school thanks ;)
@mh63111
@mh63111 6 жыл бұрын
Thanks a lot brother, I need to know: how to configure (lease time) on DHCP router?
@LearnTechTraining
@LearnTechTraining 6 жыл бұрын
Under your router DHCP configuration mode: Router(dhcp-config)# lease {days [hours][minutes] | infinite}
@MrPotato948
@MrPotato948 4 жыл бұрын
in third scenario, do we need to put ip address of the router on the fa0/0 because i dont see u do it.
@TorontoVeganTravellers
@TorontoVeganTravellers 5 жыл бұрын
It's interesting to see the first example, the only thing configured on the router was DHCP on both sides of the router interface. I was suspecting that since there is no routing protocol, the ping would stop at one side of the router interface and not allow to ping through, however I was wrong. I did the example myself and discovered that I could ping the other computer with just DHCP setup on both sides. Usually a router will prevent different networks communicating without a routing protocol?
@LearnTechTraining
@LearnTechTraining 5 жыл бұрын
A router knows of its directly connected routes and therefor will know how to transmit that data to another network. If you did a “show ip route” you will see the different networks in the routing table. It will use that information to determine where to forward the packets You only need to use routing protocols when communicating to different routers neighboring each other.
@TorontoVeganTravellers
@TorontoVeganTravellers 5 жыл бұрын
@@LearnTechTraining Thank you! :)
@danielnyayarkarjr3378
@danielnyayarkarjr3378 Жыл бұрын
What are the command you can used for static routine protocol.
@TECStudy
@TECStudy 2 жыл бұрын
merci
@bowchicabowwow467
@bowchicabowwow467 3 жыл бұрын
I noticed on your 2nd network you made. The first set of PCs cannot find the default gateway while the 2nd set of PCs can. I am also trying to troubleshoot that so both networks can talk to each other but so far I am hitting a wall.
@doubleromans4916
@doubleromans4916 3 жыл бұрын
Same problem here,did you found the problem?
@KingCruzer
@KingCruzer Ай бұрын
I hope you're still active..... can you make a vid about 1 DHCP server connected to a switch and the switch has 2 routers connecting to it? please, I'm dying to know and learn about this one (if this is possible), because I tried doing it but only one router gets the IP from the DCHP server, the other one was assigned by the APIPA. Thank you in advance!!!
@jtgamesnl4808
@jtgamesnl4808 6 жыл бұрын
you use DHCP in the first example. I do not want to use DHCP but a static ip. how can I connect that between the separate PC and the PC with the switch in between. I only want cables I don't wanna use a wireless connection.
@azazel_1167
@azazel_1167 2 жыл бұрын
Hey im learning and i have a question that confuses me if any one could answer that would be much appreciated. I have a dhcp server and it works correctly, as i was able to give pc a dhcp address. I also have a wireless router on the network and 3 laptops are connected to it wirelessly. I have the dhcp service off on the router and im confused why the server isnt giving a dhcp address to the 3 laptops. Shouldnt it give them one because it is connected to the server?
@saldoris8328
@saldoris8328 5 жыл бұрын
THANK
@poise8702
@poise8702 Жыл бұрын
it is assigning the defaul tip to first pc instead in pool i mentioned starting ip would be from 1.3
@ryanwellmer9297
@ryanwellmer9297 6 жыл бұрын
Very Informative and helpful! I do have a question about the second example you go over. I was wondering why the PCs in the 192.168.1.0 network did not learn default gateways from the server like the 192.168.2.0 network side did? I can't seem to get a working ping between the two halfs without that DGW.
@krg3604
@krg3604 6 жыл бұрын
Ryan Wellmer hey Ryan - as awesome as Packet tracer is, it sometimes does weird things. Not that it’ll hinder your studies, definitely keep using it. Packet tracer likes one network to use the “serverPool” name inside of the server and dhcp. So try deleting dotOne pool we create. And then click server pool fill in the same address information and slick save. Go back to the laptop and click static and toggle back to dhcp and it should work for you
@krg3604
@krg3604 6 жыл бұрын
Let me write that a little more clearly - 1.) click dhcp server > services > dhcp 2.) delete “dotOneNetwork” we created 3.) click the default “serverPool” and fill in the same information for the 192.168.1.0/24 network. > Click Save 4.) go back to laptop > desktop > ip configuration > toggle between dhcp/static and then go back to DHCP and that should work. Little bug that sometimes causes this to happen.
@84follow
@84follow 6 жыл бұрын
I had the same problem but this solution helped me! THX!! Great video Btw!
@kaushalpatel6638
@kaushalpatel6638 5 жыл бұрын
Hi Keith, Thanks for this nice video i have same problem of ping and gateway. I tried with your provided solution. It does not work. Furthermore, i found in your video that gateway is not there. Please help in this solution.
@chsene8214
@chsene8214 4 жыл бұрын
got the same 2 issues on scenario 2 and no fix with my latest PT though...so disappointing!
@SANTOSHSHRESTHA111
@SANTOSHSHRESTHA111 2 жыл бұрын
when using the iphelper address , aren't we supposed to use ip helper-address on fa0/1 ???? ... PS: i have 3 routers.. and dhcp only worked when i used ip helper address on the port facing towards the LAN side
@louiealbarico2784
@louiealbarico2784 6 жыл бұрын
Nice tutorial! I have a question about the last scenario, considering the Server is on a different VLAN and different Network (ex. fa0/2 is on VLAN 50 with 192.168.5.0 Network), is it possible that the Server will still be able to give IP addresses to the other VLANS(10,20,30)? I'm just curious.
@krg3604
@krg3604 6 жыл бұрын
Sure. The last example goes through this. As long as you have a DHCP pool configured on the server for each vlan, you will then use the ip helper command on each of the sub interfaces on the router.
@nm2064
@nm2064 6 жыл бұрын
I just did it and it worked. My servers are on VLAN50 and the rest of the boxes on different VLANs. I just did not create a pool for VLAN 50 as I want the servers with static addresses.
@bayuwibawa436
@bayuwibawa436 3 жыл бұрын
can it intervlan routing but dhcp in server ? with 2 vlan ( vlan 5, vlan 10)
@naifox1
@naifox1 4 жыл бұрын
Excenlent tutorial. But VTP is missing to control de Vlans
@LearnTechTraining
@LearnTechTraining 4 жыл бұрын
VTP is bad practice and not recommended even by Cisco. You won’t use it in the real world. Throw it in transparent and manage the network properly.
@H0TDigidy
@H0TDigidy 5 жыл бұрын
Would there be a different process if I want to just use a layer 3 switch and some host?
@LearnTechTraining
@LearnTechTraining 5 жыл бұрын
Short answer is yes, but every network fabric and topology is different. Depends how your building your network. In something like this, yes you can.
@subhendutarafdar6815
@subhendutarafdar6815 Жыл бұрын
Was looking for application of show ip route and ip helper address.
@akbdipu7586
@akbdipu7586 8 ай бұрын
Is it possible to use pc as server and configure DNS?
@alexmason7393
@alexmason7393 3 жыл бұрын
In the last example, I did exactly what he did at the start before configuring the router but when I switch to dhcp on pc, it didn't get ip from dhcp server, wierd
@tiltyler4056
@tiltyler4056 5 жыл бұрын
how can i do it if i am using an etherswitch router with two vlans
@digitaltechnical2691
@digitaltechnical2691 7 жыл бұрын
The two networks utilizing each router port are each their own broadcast domain so is there a method for relaying dhcp between routers without using a dedicated dhcp server?
@LearnTechTraining
@LearnTechTraining 7 жыл бұрын
You need some kind of device to act as a DHCP server, being a dedicated server or a router configured to at as a dhcp server, so if thats what you mean than yes absolutely, its all done by using the DHCP Helper or relay command. Depending on how the network is set up, there may be some more detailed configurations one would implement but at its basic understanding, you would just use the DHCP helper. That will tell the router that it needs to pull DHCP from the DHCP Server ( or router essentially) and then it will hand out the addresses you configured for that subnet.
@digitaltechnical2691
@digitaltechnical2691 7 жыл бұрын
Sorry for being unclear. I mean between two routers where one of the routers is configured with dhcp. I understand how helper addresses work but the packets are being dropped on the adjacent router.
@sarmadghafoor8215
@sarmadghafoor8215 6 жыл бұрын
Hello, Can we use DHCP relay agent for Wifi Network? if yes then how? Because Wifi Access Points do not support dhcp helper . Can you tell me any cisco router which can be used as Wifi AP and also supports DHCP helper.
@joshuabarbosa4824
@joshuabarbosa4824 5 жыл бұрын
I'm not an expert at this, but I don't think the access points themselves need to be assigned IP addresses. It's the devices that are ATTACHED to the AP that need to be configured with IP addresses. But again, I could be wrong.
@rojenabuyen1365
@rojenabuyen1365 5 жыл бұрын
tried the first one, it works but can you help me add another network. I have 1 server connected to 1 switch and 2 routers are connected to that switch the 1st router receives the ip but the 3rd one doesnt. Any ideas? Thanks
@LearnTechTraining
@LearnTechTraining 5 жыл бұрын
I might be mis understanding you, but the way I’m reading this isn’t making sense. 1 server. 1 switch. 2 routers... where is this 3rd router coming in? Is this a physical network or packet tracer? If it’s physical network draw out a diagram, or if it’s packet tracer take a screen shot of your topology and email instructorkgeb@gmail.com and I can take a better look.
@user-lo3bq5py1h
@user-lo3bq5py1h 5 жыл бұрын
You need to configure the IP helper address on the 3rd Router you added.
@normalguyize
@normalguyize 6 жыл бұрын
in the third example is it necessary to configure the routers for a DHCP relay? If yes, what should you set up?
@LearnTechTraining
@LearnTechTraining 6 жыл бұрын
Hi Jim, third example - so if your looking at the bottom left network, yes you need to add DHCP relay to the router due to the fact we have multiple networks that are pulling from the physical DHCP server. If you are referring to the bottom right example than no you do not need dhcp relay since the router itself is acting as the dhcp server.
@normalguyize
@normalguyize 6 жыл бұрын
thanks, but what about the switches. Same question for third and bottom right example.
@LearnTechTraining
@LearnTechTraining 6 жыл бұрын
If you implement DHCP on the router than you don’t need to for the switches. They are working because we have a trunk link. Since we have sub interfaces using dot1q and we created a dhcp pool to each network for the vlans, the router knows where to send the traffic through the one interface which does not require ip helper
@a.n.7338
@a.n.7338 4 жыл бұрын
@@LearnTechTraining in 2nd example pcs are not getting default gateway why is that?
@tomu_sange
@tomu_sange 6 жыл бұрын
How do we set a worell network and again use dhcp
@lordnoobster
@lordnoobster 2 жыл бұрын
why did pc-4 acquire the ip address of the default gateway?
@akashprasad8168
@akashprasad8168 4 жыл бұрын
On last one Server need vlan 10 ?
@user-gc8ti7bd5o
@user-gc8ti7bd5o 4 жыл бұрын
I did everything like your video (the last example) and the server doesn't give me addresses for any VLAN I get APIPA
@user-gc8ti7bd5o
@user-gc8ti7bd5o 4 жыл бұрын
I found my mistake, excellent job.
Understanding VLANS, TRUNK, NATIVE VLAN and Router on a stick - Cisco CCNA
42:52
Configuring VoIP Phones in Cisco Packet Tracer
11:33
LearnTech Training
Рет қаралды 456 М.
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 183 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 15 МЛН
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 14 МЛН
DHCP Relay Agent Lab
18:47
The Networking Doctors
Рет қаралды 70 М.
Router on a Stick Inter-VLAN Routing | CISCO Certification
29:14
11.Видео уроки Cisco Packet Tracer. Курс молодого бойца. DHCP
21:35
NetSkills. Видеоуроки. Cisco, zabbix, linux.
Рет қаралды 257 М.
Configured DHCP For Multiple VLANs
12:42
PM Networking
Рет қаралды 40 М.
Wireshark Tutorial for Beginners | Network Scanning Made Easy
20:12
Anson Alexander
Рет қаралды 225 М.
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 183 МЛН