Configuring DHCP using Cisco iOS - DHCP Server & DHCP Helper

Sdílet
Vložit
  • čas přidán 8. 01. 2017
  • 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...

Komentáře • 181

  • @peterk917
    @peterk917 Před 5 lety +6

    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
    @cda9140 Před 5 lety +18

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

  • @MrAlexizhukov
    @MrAlexizhukov Před 5 lety +5

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

  • @Odim65
    @Odim65 Před 5 lety +2

    by far the nicest and quickest vid on Dhcp

  • @MrFmontero
    @MrFmontero Před 6 lety +5

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

  • @williamcattr267
    @williamcattr267 Před 4 lety +6

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

  • @diegoalfredoarandaherrera3074

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

  • @shiori43
    @shiori43 Před 6 lety

    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
    @macyeeterson1782 Před 3 lety

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

  • @brianpmcg
    @brianpmcg Před rokem

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

  • @976shark
    @976shark Před 5 lety +2

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

  • @TheSilentflight
    @TheSilentflight Před 5 lety +3

    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  Před 5 lety

      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 Před rokem

      Hey man I hope you read this comment... you posted this 4 years ago... did you get your CCNA?

  • @tracyannegriffinmanning387

    Best training site ever! Thank you, Keith!!

  • @steliostsotras9050
    @steliostsotras9050 Před 6 lety +1

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

  • @matmcpaul9060
    @matmcpaul9060 Před 5 lety

    Great video. Makes understanding DHCP easy.

  • @paulmimicry9147
    @paulmimicry9147 Před 4 lety +3

    THANK YOU, JUST WHAT I NEED

  • @120smk
    @120smk Před 6 lety +1

    Very informative video. I recommend any one to see this video for all DHCP scenarios. Thanks for your effort .

  • @Vasco947
    @Vasco947 Před 2 měsíci

    thank you so much man. You saved my life

  • @aminaqx
    @aminaqx Před 3 lety

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

  • @baconatorman3770
    @baconatorman3770 Před 3 lety +4

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

  • @szabolcskovacs8071
    @szabolcskovacs8071 Před 5 lety +1

    Excellent help, thank you very much :)

  • @tak-ada
    @tak-ada Před 4 lety +1

    This is the best video ever!

  • @enriquer3612
    @enriquer3612 Před 3 lety

    Great video, thank you very much!

  • @HamdanALGhafri
    @HamdanALGhafri Před 4 lety

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

  • @gokulprasanth9517
    @gokulprasanth9517 Před 2 lety

    This was so helpful thank you

  • @mjb1552
    @mjb1552 Před rokem

    Thanks 👍😊 Keith.

  • @ronniekipkirui
    @ronniekipkirui Před 6 lety

    Nice piece thumbs up and kudos

  • @bestlososever1869
    @bestlososever1869 Před 4 lety

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

  • @mangkepweng8670
    @mangkepweng8670 Před 5 lety

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

  • @eyadbassam7756
    @eyadbassam7756 Před 6 lety

    You are a good teacher and the best

    • @LearnTechTraining
      @LearnTechTraining  Před 6 lety

      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 Před 8 měsíci

    Thank you very much for this tutorial

  • @shirazi_khan
    @shirazi_khan Před 5 lety

    Thanks a lot great video

  • @a.q118
    @a.q118 Před 2 lety

    Thank you and please don't stop shearing veds

  • @Paasj
    @Paasj Před 3 lety

    God stuff! Thank you :D

  • @mohamedhossam708
    @mohamedhossam708 Před 4 lety

    thank you for your effort.

  • @FoysalChowdhuryGoni
    @FoysalChowdhuryGoni Před 3 lety

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

  • @kacperp5517
    @kacperp5517 Před 2 lety

    koksem jesteś, nie zmieniaj się

  • @CriticalzDetucora
    @CriticalzDetucora Před 3 lety +1

    Muy interesante, gracias me ayudaste mucho.

  • @MsHardland
    @MsHardland Před 5 lety

    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
    @wildertorres7501 Před 3 lety

    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.

  • @trendingeverything7854
    @trendingeverything7854 Před 9 měsíci

    Good explanation

  • @petersu4869
    @petersu4869 Před 2 lety

    my right ear is very well informed

    • @petersu4869
      @petersu4869 Před 2 lety

      my bad, my shit earphones lol, vid is fine

  • @islamiclifeandearth
    @islamiclifeandearth Před rokem

    very nice bro

  • @AhmedSamir-nd2cz
    @AhmedSamir-nd2cz Před 2 lety

    Very Nice

  • @nguyenquangduy910
    @nguyenquangduy910 Před 2 lety

    Thank you so much!

  • @theonewhonevergaveup785

    very professional

  • @everythingispossiblecz2445

    Thank you very much.

  • @kbaudewyns7
    @kbaudewyns7 Před rokem

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

  • @CaNaOfficial68
    @CaNaOfficial68 Před 3 lety

    thank you so much!

  • @sorinpaduret6775
    @sorinpaduret6775 Před 3 lety

    THANK YOU MAN

  • @estebangonzalezgomez3581

    ur the best

  • @BucNasty42
    @BucNasty42 Před 4 lety

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

  • @SantoshShrestha135
    @SantoshShrestha135 Před 2 lety

    Thanks😀

  • @xibu5576
    @xibu5576 Před 4 lety

    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
    @highlights973 Před 2 lety

    amazing

  • @naim2639
    @naim2639 Před 4 lety

    thank you

  • @noorihamid1718
    @noorihamid1718 Před 3 lety

    Thanks

  • @classix5848
    @classix5848 Před 2 lety

    god bless your soul

  • @BeeBumper
    @BeeBumper Před 4 lety

    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?

  • @hasanalbanna1600
    @hasanalbanna1600 Před 4 lety

    nice

  • @ahmadasghar7193
    @ahmadasghar7193 Před 4 lety

    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 ?

  • @zglitch4021
    @zglitch4021 Před rokem

    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.

  • @amarananamaranan5287
    @amarananamaranan5287 Před 5 lety

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

  • @mateoasakusabashi498
    @mateoasakusabashi498 Před 5 lety +1

    Merci

  • @BaronHnid
    @BaronHnid Před 4 lety

    You saved my grade in school thanks ;)

  • @TECStudy
    @TECStudy Před 2 lety

    merci

  • @drgrockster
    @drgrockster Před 3 lety

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

  • @cabecitavides
    @cabecitavides Před 4 lety

    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.

  • @BeeBumper
    @BeeBumper Před 4 lety

    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.

  • @BeeBumper
    @BeeBumper Před 4 lety

    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?

  • @MrPotato948
    @MrPotato948 Před 3 lety

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

  • @azazel_1167
    @azazel_1167 Před rokem

    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?

  • @danielnyayarkarjr3378

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

  • @sandeepnainwal13
    @sandeepnainwal13 Před 6 lety

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

  • @akbdipu7586
    @akbdipu7586 Před 7 měsíci

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

  • @SantoshShrestha135
    @SantoshShrestha135 Před 2 lety

    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

  • @hectorcardenas6616
    @hectorcardenas6616 Před rokem

    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.

  • @bayuwibawa436
    @bayuwibawa436 Před 3 lety

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

  • @ryanwellmer9297
    @ryanwellmer9297 Před 6 lety +2

    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 Před 6 lety +1

      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 Před 6 lety +3

      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 Před 6 lety

      I had the same problem but this solution helped me! THX!! Great video Btw!

    • @kaushalpatel6638
      @kaushalpatel6638 Před 5 lety +1

      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 Před 4 lety

      got the same 2 issues on scenario 2 and no fix with my latest PT though...so disappointing!

  • @mh63111
    @mh63111 Před 6 lety

    Thanks a lot brother,
    I need to know: how to configure (lease time) on DHCP router?

    • @LearnTechTraining
      @LearnTechTraining  Před 6 lety

      Under your router DHCP configuration mode:
      Router(dhcp-config)# lease {days [hours][minutes] | infinite}

  • @poise8702
    @poise8702 Před rokem

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

  • @TorontoVeganTravellers
    @TorontoVeganTravellers Před 5 lety +1

    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  Před 5 lety

      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 Před 5 lety +1

      @@LearnTechTraining Thank you! :)

  • @jtgamesnl4808
    @jtgamesnl4808 Před 6 lety

    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.

  • @saldoris8328
    @saldoris8328 Před 4 lety

    THANK

  • @louiealbarico2784
    @louiealbarico2784 Před 6 lety +1

    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 Před 6 lety

      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 Před 6 lety

      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.

  • @subhendutarafdar6815
    @subhendutarafdar6815 Před 11 měsíci

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

  • @lordnoobster
    @lordnoobster Před 2 lety

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

  • @tiltyler4056
    @tiltyler4056 Před 5 lety

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

  • @bowchicabowwow467
    @bowchicabowwow467 Před 3 lety +2

    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.

  • @H0TDigidy
    @H0TDigidy Před 5 lety

    Would there be a different process if I want to just use a layer 3 switch and some host?

    • @LearnTechTraining
      @LearnTechTraining  Před 5 lety

      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.

  • @alexmason7393
    @alexmason7393 Před 3 lety

    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

  • @sarmadghafoor8215
    @sarmadghafoor8215 Před 5 lety +1

    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 Před 5 lety

      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 Před 5 lety +1

    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  Před 5 lety

      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 Před 5 lety

      You need to configure the IP helper address on the 3rd Router you added.

  • @akashprasad8168
    @akashprasad8168 Před 4 lety

    On last one
    Server need vlan 10 ?

  • @naifox1
    @naifox1 Před 3 lety

    Excenlent tutorial. But VTP is missing to control de Vlans

    • @LearnTechTraining
      @LearnTechTraining  Před 3 lety

      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.

  • @digitaltechnical2691
    @digitaltechnical2691 Před 6 lety

    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  Před 6 lety

      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 Před 6 lety

      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.

  • @tomu_sange
    @tomu_sange Před 5 lety

    How do we set a worell network and again use dhcp

  • @zeomarviloria9610
    @zeomarviloria9610 Před 5 lety

    comparted the practique pkt

  • @jeremygonzalez8140
    @jeremygonzalez8140 Před 7 měsíci

    switchport native vlan 40 returns an error in the 3rd example

  • @t00nlegend51
    @t00nlegend51 Před 2 lety

    How can the PC on another router get the IP from DHCP Server without VLAN ?