DHCP: How Your PC Gets Its IP Address
Вставка
- Опубліковано 19 лип 2024
- Explains the concept of DHCP, an application-layer protocol that your own computer probably uses to get an IP address from your network.
00:00 Intro
00:14 A world without DHCP
01:26 DHCP to the rescue
02:15 The four-step process
My DHCP video was originally uploaded on September 7th 2013, but I made a new version after an attentive viewer pointed out some inaccuracies.
== Further reading ==
Can I have multiple DHCP servers on one network?
- serverfault.com/questions/3685...
How can IP conflicts be resolved?
- support.microsoft.com/kb/13349...
The fine print: in some cases DHCP offer and ACK messages are unicast
- stackoverflow.com/questions/1... - Наука та технологія
Better than reading 1 whole text book !!!
dude, bloody awesome! as Einstein says, you can simplify it if you understand it, that was totally badass
My Cisco course taught that the messages were:
DHCP Discover - Broadcast
DHCP Offer - Unicast
DCHP Request - Broadcast
DHCP ACK - Unicast
The server can send unicast messages because it knows the MAC address of the client from the original discover frame sent out. Since DHCP will only really happen on a local network (with exceptions) it doesn't need to know the IP address of the client, only the MAC.
The client broadcasts the request so that if there are other DHCP servers on the network, they can see the request too. Only the server that made the offer will ACK the request.
tru dat, but then the grandmas don't need to know the whole cisco system, the video has done its job of stopping the regular questions of some grandmas with slippery fingers "why these numbers keep on changing?"
yes u r correct.
That is true grandmas don't but networking students looking to study subject matter do. It seems as though we catch it anyway so I digress
It is because of ARP(Address Resolution Protocol) Reverse-ARP in the cache provided by the server.
One of the best, very well explained videos on the concept.
Its the best video with excellent explanation i've known so far ! Thankyou sir !
These videos are a pleasure to watch! Superior design and clear words, very well done.
your style is really nice, please don't stop, keep it up
Pieter you the best man when it comes to explaining the technical stuffs in simple language.
Professionally & beautifully done and explained. Thank you. 10/10 :)
Another great entry describing the principle of operation of these complicated things. I really like your simple explanation that can be easily understood by people who are taking the first steps in networks. Did you could make a video in which you could explain the principle of DAS , NAS and SAN on some examples? This would help me a lot
Just remember DORA and you'll never get confused.
Ozma2112 Man! You're a genius! You've just saved me for my exam! Thank you!
So clean and simple!!!! I love your illustration ~ Helped me before exam
hi pieter ..just like to tell you that i really enjoy your videos. They're very informative and easy to understand! Keep up the good work.
more videos please. youre doing a great job! better and simpler explanation than the ones given by my professors in college.
And the emmy award for making things simple to understand goes to YOU!! Great video!!!
maaaaaaan come BACK!
Very informative video. Good work, Pieter!
Great job!! Gongrats! You are really good at explaining difficult terms in a very simple way!
One Question! Do you have in mind what kind of different offers several servers can offer?
Pieter your videos are awesooooooomeeeeee
I love it. Thank you very much for the videos. 2 ideas maybe for additional videos. Access Control List, Routes Tables?
ur better than any of my teacher. u explanation is so so good.
You saved my life, Thanks!
Damn your explaining is so simple and easy to understand. I wonder why don't you upload no more
I enjoyed this explanation of how DHCP works. Very nice video.
A very clear exposition. Kudos.
Cmon Pieter, thousands of computer science students depend on you making more videos, for finishing their course! :D
You're great in explaining things!
The idea of how the datalink, network and transport layer execute in tandem is still fuzzy in my mind.
How the frames, datagrams and messages(segment) are encapsulated in each other? Could you please explain this thing or refer me a good video like this?
Hi @PieterExplainsTech I watch all of your videos and all of them are very good and well explained. I wonder why you didn't continue to add more videos? I only saw few of them. I hope to watch more of your contents about computer networking. Thanks!
Hey Pieter, thank you so much for this video - it explains the concepts very well and helped me prepare for my upcoming exam!
Is there any way to download the presentation slides you used here?
That was simply superb. May I request you to share similar tutorial on DNS to public?
Awesome videos - clear, consice and easy to watch.
thanks Pieter you're a legend, my grandma really loved how she can finally got it without an argument with me :D
hello 2021----Wish you could upload more, Pieter. Your content is helpful. Thank you!
Thank you so much, to make it so simple and clean. Hard to find anything with this good quality. Don't know why there are down votes
The down votes are those who were jealous of Peter's superb videos perhaps. They're in vain lol
Bro how easily you explain this.....i definitely show this video to my teacher and tell him to explain in this way......
Thanks for creating the video. I need to know this stuff in the future for work as networks become more and more used. I work in the railway and equipment in the field is now communicating like this and I will be left behind if I don't start to learn it. I didn't get everything there but I am starting to understand. The illustrations help a lot
Excellent videos! Wish you can make more. Like the HTTP request and what happens when we visit a website.
perfect explanation!
Just one word want to say. Excellent!!!
i liked this video it clearly explained the doubts i had with DHCP, i dont know what it is. very good presentation.
Beautiful explanation!
Thank you very much. very clear to people who are new to IT/networking.
what is your next project?
short and crisp... lovely...
dude u really make a great videos . Your teaching method is really awesome .
Dude come on, make some more .Where are you?
Simply Excellent Explanation
Please make some more videos. You are the best.
Amazingly explained.
Hello Peter.. I like this simple and clear explanation.. could you explain with the packet format ?
Hi Pieter
I love this video tutorial. Very clear explanation and easy to understand.
The visuals are very effective and animations well done.
Technically, ( though I am new ), why are you referring to laptops joining networks as "hosts" ? They should be clients to the network right ? correct me if I am wrong.
Great instructional video please help. Im having an issue with my smart tv. The router connection went down for a few hrs, when it came back I could no longer access my smart tv features such as youtube or the browser. I checked the network on the tv and it says connected, a message also appears saying something about dhcp
what is the message ?
Fantastic keep em coming like port forwarding uses of adhoc Cheers!!!
Very nicely done and easy to understand. thank you
Really well explained.
reply from DHCP server to client is dependent on the flag if it is set then broadcasting is done if reset then unicasting. in Cisco router it is reset by default so reply is generally unicast. Unicasting can be done by using the physical address of the client sent during the request for IP.
Thanks alot. you´re great at explaining these things.
Keep at it!
Best explanation on net bud.. Subscribed
Mannnnn...u r better than my teacher. 100 times better than a teacher out there
wow your explanation is accurate and in understandable form!thanks sir...
man you earned 55K subscribers just by uploading 6 or 7 videos. why would you not keep doing this!
thank u so much for the video
i hope that u add more vedios of the different others protocols !
good luck
Nice video and well explained.
This was extremely helpful. Thank you
Your tutorials awesome and easy to follow. I would like to watch a video that you explain network topologies. Thanks in advance.
Pieter. What a nice work you have done in simplifying the tutorial about DHCP. We need more videos like this. Great work.
maybe its just because I'm ready for the info but this really easy to understand. THank you, im watching all your videos now lol
Great, it was totally interesting I love the voice over.
Very good explanation
hey,Im Reza from Indonesia.
i need you to explain the routing protocols like OSPF,BGP,RIP and EGRP .Thanks for your attention .
nice description is simplest way possible. :)
Useful explanation. Thanks
Hi Pieter, I loved this video its very simple and informative. But I had a doubt on how will the dhcp server select an ip address that is unique so that it isn't as same as other ip addresses on other networks
Very good lecture in every way! :-) Thanks!
Thank you for this great video! Helped me quite a BIT. :)
Hi Pieter, Love your channel... Please explain the differnce between MAC address and IP address.
about the transaction ID.
how's that going in my house when I have 2 computers and A router ?
does the routher give ID's to my computer ?
how does he know by the mac address ?
Nicely explained.
Sir your videos are simple and understandable thanks for your explanation Please make more videos .
I want to know about application layer protocols and about stateful protocols in application layer
Thank you
I am learning CISCO right now. Your videos is ve
ry usefull, thankyou :)
-DHCP server typically inbuilt in a router and a DHCP client in built in each host
- When a new host is added to a network it goes through a DHCP discover process, looking for a DHCP server. Since the host doesn't know where the server is it will send a discover request (broadcasting) to all devices on the local network. Port 68 - DHCP clients, port 67 - DHCP servers
- The DHCP server then responds by sending a broadcast of an allocated/offered IP addresses to all hosts. Since the server doesn't know where to find this new host it sends the DHCP offer to everyone
Wow just frigging wow .why doesnt everybody explain it like that,the teacher?😢😢 .God bless you sir , thank you thank you .
Thanks for the explanation.
neatly explained !
Thanks man......it was freaking awesome and so simple too....doing a great job
Good topic & you explained well. What is the diffrence between DHCP & DHCP option set in Amazon Web Services?
when the dhcp server(192.168.1.1) offers new ip address 192.168.1.3 for new host then why new host bradcast the message "dhcp request" on the network without sending only to 192.168.1.1 address who is the dhcp server
Great video, you have a new subscriber! Thanks alot
in love with Networking... :P lol
Hat's Off to Your Awesome Explanation
Pieter come baaaack, i miss you!
I have completed the cisco small home and networking course , but I want to do an apprenticeship within networking , but most of the roles involve using windows server. Now I know that dhcp can be set on clients computers to enable them to obtain ip addresses. But say for example the dhcp server is a computer host using windows 2008 server does the ip address of this machine have to be static. And it is a larger business so they use more dhcp servers,
great explanation, thank you
really well explained video.
thanks
great explanation! Thank you!
Informative video! Thanks!!
Awesome explanation . Could you please make a video tutorial for dhcp server configuration for a small network in linux based machine . Particularly in my scenario i have 10 laptops and i should complete a project on dhcp server for providing those machines unique ip address . If i use a router it have a built in dhcp server in it but i want to know how can i make one of my machine over my network as a dhcp server . Please guide !
amazing...so simple explanation
Thankyou very much this is very helpful, appreciate your efforts good job!
Good explanation Pieter. Superb. Easy to understand in common lay mans language with graphical representation. Do u have more vidoes on subnet mask, subnetting or VLSM etc ?
Thanks Pieter!
How can a router broadcast the offer and ACK . The use of router is to split the broadcast domain , otherwise what is the benefit of using a router. Just imagine the number of hosts being connected to the network and how much traffic they will generate , and so much unnecessary ACK and Offer will be broadcast to all hosts. It is like unnecessary traffic and will lead to congestion. Once the IP is assigned , hosts can use gratious ARP to validate if IP is unique or not
I haven't finished watching it, but I am compelled to , thank you :)