Configuring DHCP using Cisco iOS - DHCP Server & DHCP Helper
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...
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.
Loved the pacing of the video, efficient explanation of how to setup DHCP server. Thanks!
Excellent. Exactly what I was looking and very professionally made. Thanks!
by far the nicest and quickest vid on Dhcp
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.
:)
YES!!!! Someone who actually speaks English (and without an accent)! This fact all on its own is worth a thumbs up!
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 :,)
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!!
You are the bees knees man I’m new to Cisco and your videos help me a ton!!
Great video! Quick and to the point, thanks for showing different options. Instant sub!
Thank you for taking the time to put all this together....
Not gunna lie. I've been learning ccna for the last 5 weeks, and your videos helped A TON. Thank you so much.
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!
Hey man I hope you read this comment... you posted this 4 years ago... did you get your CCNA?
Best training site ever! Thank you, Keith!!
Awh thanks, Tracy! Much appreciated!
Thank you very much!! Excellent video from an excellent teacher!!!
Great video. Makes understanding DHCP easy.
THANK YOU, JUST WHAT I NEED
Very informative video. I recommend any one to see this video for all DHCP scenarios. Thanks for your effort .
Thank you soliman - keeps your eyes open for more!
thank you so much man. You saved my life
THANK YOU, YOU'RE AN ABSOLUTE LIFE SAVER!!
This was so helpful thank you. Your second example is exactly what I needed for my network in Packet Tracer!
Excellent help, thank you very much :)
This is the best video ever!
Great video, thank you very much!
Thank so much just what I need to learn DHCP. with best wishes
This was so helpful thank you
Thanks 👍😊 Keith.
Nice piece thumbs up and kudos
Man, you are God. Thank you so much, keep up with the good work! ;)
Thanks....... Complete tutorial........
You are a good teacher and the best
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!
Thank you very much for this tutorial
Thanks a lot great video
Thank you and please don't stop shearing veds
God stuff! Thank you :D
thank you for your effort.
I am surprised help me for study lesson DHCP Server, Thank you very much.
koksem jesteś, nie zmieniaj się
Muy interesante, gracias me ayudaste mucho.
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!
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.
Good explanation
my right ear is very well informed
my bad, my shit earphones lol, vid is fine
very nice bro
Very Nice
Thank you so much!
very professional
Thank you very much.
Very good thank you although a little fast near the end haha : D
thank you so much!
THANK YOU MAN
ur the best
Is this pretty much the way I would set up a DHCP router/server in a work environment? This has helped a ton
Thanks😀
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
amazing
thank you
Thanks
god bless your soul
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?
nice
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 ?
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.
is it possible to connect the dedicated dhcp server to the router to distribute the ip addresses?
DHCP Server -> router -> switch -> PCs
Merci
You saved my grade in school thanks ;)
merci
ok had to renew the pc addresses a couple of times it's working now
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.
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.
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?
in third scenario, do we need to put ip address of the router on the fa0/0 because i dont see u do it.
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?
What are the command you can used for static routine protocol.
nice video..could you please help me setting up cisco ips in gns3
Is it possible to use pc as server and configure DNS?
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
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.
can it intervlan routing but dhcp in server ? with 2 vlan ( vlan 5, vlan 10)
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.
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
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.
I had the same problem but this solution helped me! THX!! Great video Btw!
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.
got the same 2 issues on scenario 2 and no fix with my latest PT though...so disappointing!
Thanks a lot brother,
I need to know: how to configure (lease time) on DHCP router?
Under your router DHCP configuration mode:
Router(dhcp-config)# lease {days [hours][minutes] | infinite}
it is assigning the defaul tip to first pc instead in pool i mentioned starting ip would be from 1.3
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?
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.
@@LearnTechTraining Thank you! :)
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.
THANK
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.
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.
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.
Was looking for application of show ip route and ip helper address.
why did pc-4 acquire the ip address of the default gateway?
how can i do it if i am using an etherswitch router with two vlans
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.
Same problem here,did you found the problem?
Would there be a different process if I want to just use a layer 3 switch and some host?
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.
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
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.
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.
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
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.
You need to configure the IP helper address on the 3rd Router you added.
On last one
Server need vlan 10 ?
Excenlent tutorial. But VTP is missing to control de Vlans
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.
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?
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.
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.
How do we set a worell network and again use dhcp
comparted the practique pkt
switchport native vlan 40 returns an error in the 3rd example
How can the PC on another router get the IP from DHCP Server without VLAN ?