Configuring DHCP using Cisco iOS - DHCP Server & DHCP Helper

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
    @peterk9175 жыл бұрын

    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.

  • @cda9140
    @cda91405 жыл бұрын

    Loved the pacing of the video, efficient explanation of how to setup DHCP server. Thanks!

  • @MrAlexizhukov
    @MrAlexizhukov5 жыл бұрын

    Excellent. Exactly what I was looking and very professionally made. Thanks!

  • @MrFmontero
    @MrFmontero6 жыл бұрын

    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. :)

  • @Odim65
    @Odim655 жыл бұрын

    by far the nicest and quickest vid on Dhcp

  • @shiori43
    @shiori436 жыл бұрын

    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!!

  • @macyeeterson1782
    @macyeeterson17823 жыл бұрын

    You are the bees knees man I’m new to Cisco and your videos help me a ton!!

  • @diegoalfredoarandaherrera3074
    @diegoalfredoarandaherrera30745 жыл бұрын

    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 :,)

  • @976shark
    @976shark5 жыл бұрын

    Thank you for taking the time to put all this together....

  • @brianpmcg
    @brianpmcg Жыл бұрын

    Great video! Quick and to the point, thanks for showing different options. Instant sub!

  • @tracyannegriffinmanning387
    @tracyannegriffinmanning3875 жыл бұрын

    Best training site ever! Thank you, Keith!!

  • @LearnTechTraining

    @LearnTechTraining

    5 жыл бұрын

    Awh thanks, Tracy! Much appreciated!

  • @steliostsotras9050
    @steliostsotras90506 жыл бұрын

    Thank you very much!! Excellent video from an excellent teacher!!!

  • @matmcpaul9060
    @matmcpaul90605 жыл бұрын

    Great video. Makes understanding DHCP easy.

  • @120smk
    @120smk6 жыл бұрын

    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!

  • @aminaqx
    @aminaqx3 жыл бұрын

    THANK YOU, YOU'RE AN ABSOLUTE LIFE SAVER!!

  • @paulmimicry9147
    @paulmimicry91474 жыл бұрын

    THANK YOU, JUST WHAT I NEED

  • @MsHardland
    @MsHardland5 жыл бұрын

    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!

  • @wildertorres7501
    @wildertorres75013 жыл бұрын

    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.

  • @szabolcskovacs8071
    @szabolcskovacs80716 жыл бұрын

    Excellent help, thank you very much :)

  • @baconatorman3770
    @baconatorman37703 жыл бұрын

    This was so helpful thank you. Your second example is exactly what I needed for my network in Packet Tracer!

  • @bestlososever1869
    @bestlososever18694 жыл бұрын

    Man, you are God. Thank you so much, keep up with the good work! ;)

  • @HamdanALGhafri
    @HamdanALGhafri4 жыл бұрын

    Thank so much just what I need to learn DHCP. with best wishes

  • @tak-ada
    @tak-ada4 жыл бұрын

    This is the best video ever!

  • @Vasco947
    @Vasco9473 ай бұрын

    thank you so much man. You saved my life

  • @TheSilentflight
    @TheSilentflight5 жыл бұрын

    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?

  • @enriquer3612
    @enriquer36124 жыл бұрын

    Great video, thank you very much!

  • @williamcattr267
    @williamcattr2674 жыл бұрын

    YES!!!! Someone who actually speaks English (and without an accent)! This fact all on its own is worth a thumbs up!

  • @kacperp5517
    @kacperp55172 жыл бұрын

    koksem jesteś, nie zmieniaj się

  • @eyadbassam7756
    @eyadbassam77566 жыл бұрын

    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!

  • @ronniekipkirui
    @ronniekipkirui6 жыл бұрын

    Nice piece thumbs up and kudos

  • @CriticalzDetucora
    @CriticalzDetucora3 жыл бұрын

    Muy interesante, gracias me ayudaste mucho.

  • @FoysalChowdhuryGoni
    @FoysalChowdhuryGoni3 жыл бұрын

    I am surprised help me for study lesson DHCP Server, Thank you very much.

  • @gokulprasanth9517
    @gokulprasanth95172 жыл бұрын

    This was so helpful thank you

  • @mangkepweng8670
    @mangkepweng86705 жыл бұрын

    Thanks....... Complete tutorial........

  • @mjb1552
    @mjb1552 Жыл бұрын

    Thanks 👍😊 Keith.

  • @brendastoicy3242
    @brendastoicy32429 ай бұрын

    Thank you very much for this tutorial

  • @shirazi_khan
    @shirazi_khan5 жыл бұрын

    Thanks a lot great video

  • @mohamedhossam708
    @mohamedhossam7084 жыл бұрын

    thank you for your effort.

  • @BucNasty42
    @BucNasty424 жыл бұрын

    Is this pretty much the way I would set up a DHCP router/server in a work environment? This has helped a ton

  • @a.q118
    @a.q1182 жыл бұрын

    Thank you and please don't stop shearing veds

  • @Paasj
    @Paasj3 жыл бұрын

    God stuff! Thank you :D

  • @petersu4869
    @petersu48693 жыл бұрын

    my right ear is very well informed

  • @petersu4869

    @petersu4869

    3 жыл бұрын

    my bad, my shit earphones lol, vid is fine

  • @nguyenquangduy910
    @nguyenquangduy9102 жыл бұрын

    Thank you so much!

  • @theonewhonevergaveup785
    @theonewhonevergaveup7855 жыл бұрын

    very professional

  • @trendingeverything7854
    @trendingeverything785410 ай бұрын

    Good explanation

  • @everythingispossiblecz2445
    @everythingispossiblecz24453 жыл бұрын

    Thank you very much.

  • @estebangonzalezgomez3581
    @estebangonzalezgomez35814 жыл бұрын

    ur the best

  • @sorinpaduret6775
    @sorinpaduret67753 жыл бұрын

    THANK YOU MAN

  • @AhmedSamir-nd2cz
    @AhmedSamir-nd2cz2 жыл бұрын

    Very Nice

  • @CaNaOfficial68
    @CaNaOfficial683 жыл бұрын

    thank you so much!

  • @kbaudewyns7
    @kbaudewyns7 Жыл бұрын

    Very good thank you although a little fast near the end haha : D

  • @noorihamid1718
    @noorihamid17183 жыл бұрын

    Thanks

  • @islamiclifeandearth
    @islamiclifeandearth Жыл бұрын

    very nice bro

  • @classix5848
    @classix58482 жыл бұрын

    god bless your soul

  • @SANTOSHSHRESTHA111
    @SANTOSHSHRESTHA1112 жыл бұрын

    Thanks😀

  • @xibu5576
    @xibu55764 жыл бұрын

    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

  • @highlights973
    @highlights9732 жыл бұрын

    amazing

  • @naim2639
    @naim26394 жыл бұрын

    thank you

  • @hasanalbanna1600
    @hasanalbanna16004 жыл бұрын

    nice

  • @ahmadasghar7193
    @ahmadasghar71934 жыл бұрын

    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 ?

  • @drgrockster
    @drgrockster3 жыл бұрын

    ok had to renew the pc addresses a couple of times it's working now

  • @mateoasakusabashi498
    @mateoasakusabashi4985 жыл бұрын

    Merci

  • @BaronHnid
    @BaronHnid4 жыл бұрын

    You saved my grade in school thanks ;)

  • @BeeBumper
    @BeeBumper4 жыл бұрын

    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?

  • @cabecitavides
    @cabecitavides4 жыл бұрын

    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.

  • @saldoris8328
    @saldoris83284 жыл бұрын

    THANK

  • @TECStudy
    @TECStudy2 жыл бұрын

    merci

  • @mh63111
    @mh631116 жыл бұрын

    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}

  • @sandeepnainwal13
    @sandeepnainwal136 жыл бұрын

    nice video..could you please help me setting up cisco ips in gns3

  • @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.

  • @amarananamaranan5287
    @amarananamaranan52875 жыл бұрын

    is it possible to connect the dedicated dhcp server to the router to distribute the ip addresses? DHCP Server -> router -> switch -> PCs

  • @BeeBumper
    @BeeBumper4 жыл бұрын

    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?

  • @BeeBumper
    @BeeBumper4 жыл бұрын

    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.

  • @ryanwellmer9297
    @ryanwellmer92976 жыл бұрын

    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!

  • @zglitch4021
    @zglitch4021 Жыл бұрын

    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.

  • @TorontoVeganTravellers
    @TorontoVeganTravellers5 жыл бұрын

    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! :)

  • @louiealbarico2784
    @louiealbarico27846 жыл бұрын

    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.

  • @naifox1
    @naifox14 жыл бұрын

    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.

  • @MrPotato948
    @MrPotato9484 жыл бұрын

    in third scenario, do we need to put ip address of the router on the fa0/0 because i dont see u do it.

  • @danielnyayarkarjr3378
    @danielnyayarkarjr3378 Жыл бұрын

    What are the command you can used for static routine protocol.

  • @bowchicabowwow467
    @bowchicabowwow4673 жыл бұрын

    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?

  • @ismarc01z46
    @ismarc01z462 жыл бұрын

    what a fucking legend

  • @KingCruzer
    @KingCruzer12 күн бұрын

    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!!!

  • @H0TDigidy
    @H0TDigidy5 жыл бұрын

    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.

  • @poise8702
    @poise8702 Жыл бұрын

    it is assigning the defaul tip to first pc instead in pool i mentioned starting ip would be from 1.3

  • @azazel_1167
    @azazel_11672 жыл бұрын

    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?

  • @bayuwibawa436
    @bayuwibawa4363 жыл бұрын

    can it intervlan routing but dhcp in server ? with 2 vlan ( vlan 5, vlan 10)

  • @SANTOSHSHRESTHA111
    @SANTOSHSHRESTHA1112 жыл бұрын

    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

  • @jtgamesnl4808
    @jtgamesnl48086 жыл бұрын

    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.

  • @digitaltechnical2691
    @digitaltechnical26917 жыл бұрын

    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.

  • @normalguyize
    @normalguyize6 жыл бұрын

    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?

  • @rojenabuyen1365
    @rojenabuyen13655 жыл бұрын

    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.

  • @sarmadghafoor8215
    @sarmadghafoor82156 жыл бұрын

    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.

  • @akbdipu7586
    @akbdipu75868 ай бұрын

    Is it possible to use pc as server and configure DNS?

  • @zeomarviloria9610
    @zeomarviloria96105 жыл бұрын

    comparted the practique pkt

  • @subhendutarafdar6815
    @subhendutarafdar681511 ай бұрын

    Was looking for application of show ip route and ip helper address.

  • @tiltyler4056
    @tiltyler40565 жыл бұрын

    how can i do it if i am using an etherswitch router with two vlans

  • @akashprasad8168
    @akashprasad81684 жыл бұрын

    On last one Server need vlan 10 ?

  • @tomu_sange
    @tomu_sange6 жыл бұрын

    How do we set a worell network and again use dhcp

  • @lordnoobster
    @lordnoobster2 жыл бұрын

    why did pc-4 acquire the ip address of the default gateway?