Configuring DHCP using Cisco iOS - DHCP Server & DHCP Helper

Поделиться
HTML-код
  • Опубликовано: 8 янв 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...

Комментарии • 182

  • @peterk917
    @peterk917 5 лет назад +7

    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 5 лет назад +18

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

  • @MrFmontero
    @MrFmontero 6 лет назад +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.
    :)

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

  • @MrAlexizhukov
    @MrAlexizhukov 5 лет назад +5

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

  • @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 лет назад +2

    by far the nicest and quickest vid on Dhcp

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

  • @TheSilentflight
    @TheSilentflight 5 лет назад +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  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?

  • @976shark
    @976shark 5 лет назад +2

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

  • @tracyannegriffinmanning387
    @tracyannegriffinmanning387 5 лет назад +1

    Best training site ever! Thank you, Keith!!

  • @steliostsotras9050
    @steliostsotras9050 6 лет назад +1

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

  • @120smk
    @120smk 6 лет назад +1

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

  • @williamcattr267
    @williamcattr267 4 года назад +6

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

  • @matmcpaul9060
    @matmcpaul9060 5 лет назад

    Great video. Makes understanding DHCP easy.

  • @paulmimicry9147
    @paulmimicry9147 4 года назад +3

    THANK YOU, JUST WHAT I NEED

  • @aminaqx
    @aminaqx 3 года назад

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

  • @baconatorman3770
    @baconatorman3770 3 года назад +4

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

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

  • @szabolcskovacs8071
    @szabolcskovacs8071 6 лет назад +1

    Excellent help, thank you very much :)

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

  • @tak-ada
    @tak-ada 4 года назад +1

    This is the best video ever!

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

  • @HamdanALGhafri
    @HamdanALGhafri 4 года назад

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

  • @bestlososever1869
    @bestlososever1869 4 года назад

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

  • @Vasco947
    @Vasco947 3 месяца назад

    thank you so much man. You saved my life

  • @enriquer3612
    @enriquer3612 4 года назад

    Great video, thank you very much!

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

  • @kacperp5517
    @kacperp5517 2 года назад

    koksem jesteś, nie zmieniaj się

  • @ronniekipkirui
    @ronniekipkirui 6 лет назад

    Nice piece thumbs up and kudos

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

  • @FoysalChowdhuryGoni
    @FoysalChowdhuryGoni 3 года назад

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

  • @gokulprasanth9517
    @gokulprasanth9517 2 года назад

    This was so helpful thank you

  • @mjb1552
    @mjb1552 Год назад

    Thanks 👍😊 Keith.

  • @mangkepweng8670
    @mangkepweng8670 5 лет назад

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

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

  • @shirazi_khan
    @shirazi_khan 5 лет назад

    Thanks a lot great video

  • @mohamedhossam708
    @mohamedhossam708 4 года назад

    thank you for your effort.

  • @brendastoicy3242
    @brendastoicy3242 9 месяцев назад

    Thank you very much for this tutorial

  • @Paasj
    @Paasj 3 года назад

    God stuff! Thank you :D

  • @CriticalzDetucora
    @CriticalzDetucora 3 года назад +1

    Muy interesante, gracias me ayudaste mucho.

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

  • @a.q118
    @a.q118 2 года назад

    Thank you and please don't stop shearing veds

  • @estebangonzalezgomez3581
    @estebangonzalezgomez3581 4 года назад

    ur the best

  • @nguyenquangduy910
    @nguyenquangduy910 2 года назад

    Thank you so much!

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

  • @theonewhonevergaveup785
    @theonewhonevergaveup785 5 лет назад

    very professional

  • @CaNaOfficial68
    @CaNaOfficial68 3 года назад

    thank you so much!

  • @kbaudewyns7
    @kbaudewyns7 Год назад

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

  • @sorinpaduret6775
    @sorinpaduret6775 3 года назад

    THANK YOU MAN

  • @petersu4869
    @petersu4869 3 года назад

    my right ear is very well informed

    • @petersu4869
      @petersu4869 3 года назад

      my bad, my shit earphones lol, vid is fine

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

  • @everythingispossiblecz2445
    @everythingispossiblecz2445 3 года назад

    Thank you very much.

  • @naim2639
    @naim2639 4 года назад

    thank you

  • @trendingeverything7854
    @trendingeverything7854 11 месяцев назад

    Good explanation

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

  • @AhmedSamir-nd2cz
    @AhmedSamir-nd2cz 2 года назад

    Very Nice

  • @islamiclifeandearth
    @islamiclifeandearth Год назад

    very nice bro

  • @SANTOSHSHRESTHA111
    @SANTOSHSHRESTHA111 2 года назад

    Thanks😀

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

  • @highlights973
    @highlights973 2 года назад

    amazing

  • @noorihamid1718
    @noorihamid1718 3 года назад

    Thanks

  • @bayuwibawa436
    @bayuwibawa436 3 года назад

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

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

  • @classix5848
    @classix5848 2 года назад

    god bless your soul

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

  • @hasanalbanna1600
    @hasanalbanna1600 4 года назад

    nice

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

  • @danielnyayarkarjr3378
    @danielnyayarkarjr3378 Год назад

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

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

  • @drgrockster
    @drgrockster 3 года назад

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

  • @mateoasakusabashi498
    @mateoasakusabashi498 5 лет назад +1

    Merci

  • @tiltyler4056
    @tiltyler4056 5 лет назад

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

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

  • @sandeepnainwal13
    @sandeepnainwal13 6 лет назад

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

  • @akbdipu7586
    @akbdipu7586 8 месяцев назад

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

  • @akashprasad8168
    @akashprasad8168 4 года назад

    On last one
    Server need vlan 10 ?

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

  • @TECStudy
    @TECStudy 2 года назад

    merci

  • @lordnoobster
    @lordnoobster 2 года назад

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

  • @poise8702
    @poise8702 Год назад

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

  • @subhendutarafdar6815
    @subhendutarafdar6815 Год назад

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

  • @saldoris8328
    @saldoris8328 5 лет назад

    THANK

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

  • @TorontoVeganTravellers
    @TorontoVeganTravellers 5 лет назад +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  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 лет назад +1

      @@LearnTechTraining Thank you! :)

  • @tomu_sange
    @tomu_sange 6 лет назад

    How do we set a worell network and again use dhcp

  • @bowchicabowwow467
    @bowchicabowwow467 3 года назад +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.

    • @doubleromans4916
      @doubleromans4916 3 года назад +1

      Same problem here,did you found the problem?

  • @ryanwellmer9297
    @ryanwellmer9297 6 лет назад +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 6 лет назад +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 6 лет назад +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 6 лет назад

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

    • @kaushalpatel6638
      @kaushalpatel6638 5 лет назад +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 4 года назад

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

  • @louiealbarico2784
    @louiealbarico2784 6 лет назад +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 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.

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

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

  • @sarmadghafoor8215
    @sarmadghafoor8215 6 лет назад +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 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 лет назад +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  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.

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

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

  • @jeremygonzalez8140
    @jeremygonzalez8140 8 месяцев назад

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

  • @BaronHnid
    @BaronHnid 4 года назад

    You saved my grade in school thanks ;)

  • @t00nlegend51
    @t00nlegend51 2 года назад

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

  • @wangbo00
    @wangbo00 10 месяцев назад

    why when i send a message from switch 1 to switch 2(vice versa) end users it always failing