DHCP: How Your PC Gets Its IP Address

  Рет қаралды 548,408

PieterExplainsTech

PieterExplainsTech

Күн бұрын

Пікірлер: 374
@jibin7277
@jibin7277 8 жыл бұрын
Better than reading 1 whole text book !!!
@slidenerd
@slidenerd 8 жыл бұрын
dude, bloody awesome! as Einstein says, you can simplify it if you understand it, that was totally badass
@BLBytes
@BLBytes 9 жыл бұрын
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.
@bekcekcingnaknyet1382
@bekcekcingnaknyet1382 7 жыл бұрын
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?"
@ApexSpeedster
@ApexSpeedster 6 жыл бұрын
yes u r correct.
@raydenross477
@raydenross477 6 жыл бұрын
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
@slokaroy4430
@slokaroy4430 6 жыл бұрын
It is because of ARP(Address Resolution Protocol) Reverse-ARP in the cache provided by the server.
@ajaytamang5957
@ajaytamang5957 7 жыл бұрын
Pieter you the best man when it comes to explaining the technical stuffs in simple language.
@h-batchmailadmin5958
@h-batchmailadmin5958 7 жыл бұрын
Its the best video with excellent explanation i've known so far ! Thankyou sir !
@paleshyrain
@paleshyrain 8 жыл бұрын
more videos please. youre doing a great job! better and simpler explanation than the ones given by my professors in college.
@MrSaemichlaus
@MrSaemichlaus 10 жыл бұрын
These videos are a pleasure to watch! Superior design and clear words, very well done.
@razpet20
@razpet20 7 жыл бұрын
Cmon Pieter, thousands of computer science students depend on you making more videos, for finishing their course! :D
@konradlubaszka3769
@konradlubaszka3769 8 жыл бұрын
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
@seetsamolapo5600
@seetsamolapo5600 Жыл бұрын
-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
@jgwood89
@jgwood89 8 жыл бұрын
maaaaaaan come BACK!
@DaBBoSaH
@DaBBoSaH 10 жыл бұрын
your style is really nice, please don't stop, keep it up
@Drew.DrivesYT
@Drew.DrivesYT 8 жыл бұрын
Just remember DORA and you'll never get confused.
@peachapple960
@peachapple960 6 жыл бұрын
Ozma2112 Man! You're a genius! You've just saved me for my exam! Thank you!
@oranjizer
@oranjizer 10 жыл бұрын
One of the best, very well explained videos on the concept.
@sourabhsomdeve1373
@sourabhsomdeve1373 6 жыл бұрын
Bro how easily you explain this.....i definitely show this video to my teacher and tell him to explain in this way......
@nishadkumar7322
@nishadkumar7322 6 жыл бұрын
And the emmy award for making things simple to understand goes to YOU!! Great video!!!
@Gg8YRwnc3e
@Gg8YRwnc3e 10 жыл бұрын
Professionally & beautifully done and explained. Thank you. 10/10 :)
@hakeem4793
@hakeem4793 6 жыл бұрын
Damn your explaining is so simple and easy to understand. I wonder why don't you upload no more
@wangyuntong9428
@wangyuntong9428 8 жыл бұрын
So clean and simple!!!! I love your illustration ~ Helped me before exam
@BoomWahDis
@BoomWahDis 5 жыл бұрын
Wow just frigging wow .why doesnt everybody explain it like that,the teacher?😢😢 .God bless you sir , thank you thank you .
@wliaputs
@wliaputs 8 жыл бұрын
Should provide a summary at the end of the video. So here's the summary on how DHCP works: 1)DHCP Discover [ By Client ] (Search for DHCP server) 2)DHCP Offer [ By Server ] (Offering an IP to the requester) 3) DHCP Request [By Client] (Agree with the offer) 4)DHCP Ack [ By Server ] (Acknowledge the agreement, set the offered IP to the requester)
@tonywang7933
@tonywang7933 8 жыл бұрын
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
@andrewlira1537
@andrewlira1537 8 жыл бұрын
The down votes are those who were jealous of Peter's superb videos perhaps. They're in vain lol
@PotatoChixMoMo
@PotatoChixMoMo 4 жыл бұрын
Mannnnn...u r better than my teacher. 100 times better than a teacher out there
@recolian
@recolian 5 жыл бұрын
man you earned 55K subscribers just by uploading 6 or 7 videos. why would you not keep doing this!
@j7ndominica051
@j7ndominica051 9 жыл бұрын
The network should still used static addresses if possible, to make it organized, except these addreses can be managed from a central table of static leases on the router. It makes sense to give the "laptops" host numbers 1,2,3,4, give the "smart TV" address 17, and let guest "devices" share a pool .128/26 that doesn't overlap with these. Then you can easily put a server on any laptop, or write a firewall rule that restricts the devices as a group. What DHCP enables is to move those portable hosts onto a different network without reconfiguring them manually.
@youarewelcome2009
@youarewelcome2009 5 жыл бұрын
Note: 0 0.0.0 stands for the zero network (local network that is not forwarded by routers). 255.255.255.255 allows all devices connected to the local network to accept UDP datagrams. Before packages become packages (network layer) they are called segments or datagrams. (Depending on which protocol is used on the transport layer, TCP or UDP) DHCP uses UDP as is it a stateless protocol and does not require a connection. Hope this helps.
@paterson00
@paterson00 10 жыл бұрын
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
@UpusCumupus
@UpusCumupus 9 жыл бұрын
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.
@Trotskisty
@Trotskisty 8 жыл бұрын
A very clear exposition. Kudos.
@freeze30able
@freeze30able 9 жыл бұрын
ur better than any of my teacher. u explanation is so so good.
@DanielBuenrostroC
@DanielBuenrostroC 10 жыл бұрын
You saved my life, Thanks!
@arunhit1993
@arunhit1993 7 жыл бұрын
i liked this video it clearly explained the doubts i had with DHCP, i dont know what it is. very good presentation.
@SimplyWreckless
@SimplyWreckless 10 жыл бұрын
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,
@_burd.
@_burd. 9 жыл бұрын
I like how the superhero has a butt, but this is a lifesaver. The clearness of the explanation made me understand in an instant and the backstory of everything makes me more interested in the topic. Thanks!
@applegaming3461
@applegaming3461 10 жыл бұрын
That was simply superb. May I request you to share similar tutorial on DNS to public?
@bekcekcingnaknyet1382
@bekcekcingnaknyet1382 7 жыл бұрын
thanks Pieter you're a legend, my grandma really loved how she can finally got it without an argument with me :D
@junaidtanoli1
@junaidtanoli1 8 жыл бұрын
Pieter your videos are awesooooooomeeeeee
@ayushmalik8317
@ayushmalik8317 7 жыл бұрын
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.
@kirandevkumble6975
@kirandevkumble6975 4 жыл бұрын
dude u really make a great videos . Your teaching method is really awesome . Dude come on, make some more .Where are you?
@ankitprajapati3768
@ankitprajapati3768 7 жыл бұрын
Just one word want to say. Excellent!!!
@Gazunklenut
@Gazunklenut 7 жыл бұрын
Sometimes the DHCP server will unicast the ACK message if the host is behind a switch using MAC addresses, the switch would then broadcast the message to all connected hosts.
@amitatray7782
@amitatray7782 9 жыл бұрын
short and crisp... lovely...
@zhiyaowang8826
@zhiyaowang8826 10 жыл бұрын
Excellent videos! Wish you can make more. Like the HTTP request and what happens when we visit a website.
@thepoojaghosh
@thepoojaghosh 9 жыл бұрын
I would like to see a video featuring transmission of packet in a network and how it operated with a swatch and router, also a video featuring transmission of packet through all the osi layers
@Wizardboz
@Wizardboz 3 жыл бұрын
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
@zealeatoire
@zealeatoire 9 жыл бұрын
I love it. Thank you very much for the videos. 2 ideas maybe for additional videos. Access Control List, Routes Tables?
@shivanisrivarshini180
@shivanisrivarshini180 8 жыл бұрын
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
@aragiewube8833
@aragiewube8833 6 жыл бұрын
wow your explanation is accurate and in understandable form!thanks sir...
@marinakim2929
@marinakim2929 4 жыл бұрын
Pieter come baaaack, i miss you!
@kso35
@kso35 3 жыл бұрын
hello 2021----Wish you could upload more, Pieter. Your content is helpful. Thank you!
@sriniatiisc
@sriniatiisc 7 жыл бұрын
Pieter. What a nice work you have done in simplifying the tutorial about DHCP. We need more videos like this. Great work.
@MasEja
@MasEja 9 жыл бұрын
hey,Im Reza from Indonesia. i need you to explain the routing protocols like OSPF,BGP,RIP and EGRP .Thanks for your attention .
@EddieSundvall
@EddieSundvall 9 жыл бұрын
One thing I'd like to see is of course how data packets are routed through the internet, although I understand its a science field of its own.
@kikaider003
@kikaider003 10 жыл бұрын
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
@VishalSharma-gt1hy
@VishalSharma-gt1hy 5 жыл бұрын
what is the message ?
@davidkimkan
@davidkimkan 9 жыл бұрын
I enjoyed this explanation of how DHCP works. Very nice video.
@TheMooseLP
@TheMooseLP 9 жыл бұрын
I might understoond it wrong but at 3:17 the broadcast sound not reach the second laptop, because the router stops it and divides the network in separate broadcast areas.
@linkedcvsite7431
@linkedcvsite7431 10 жыл бұрын
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?
@meochieng
@meochieng 10 жыл бұрын
Very informative video. Good work, Pieter!
@abhishekbahuguna1130
@abhishekbahuguna1130 8 жыл бұрын
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
@kalpeshss
@kalpeshss 9 жыл бұрын
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 ?
@victorklimov5254
@victorklimov5254 7 жыл бұрын
perfect explanation!
@hilaryjansz4687
@hilaryjansz4687 9 жыл бұрын
Simply Excellent Explanation
@Atpugtihsrah
@Atpugtihsrah 9 жыл бұрын
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?
@wolfteamUpdates
@wolfteamUpdates 9 жыл бұрын
Please make some more videos. You are the best.
@chrisvillareal7140
@chrisvillareal7140 6 жыл бұрын
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!
@Pali051
@Pali051 9 жыл бұрын
Hi Pieter! Is this your real voice? Cos your tone is just hilarious and Kind of exaggerated. But i love it, it entertained me. :D
@rameshram6875
@rameshram6875 8 жыл бұрын
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
@nikhilnagaraj4113
@nikhilnagaraj4113 4 жыл бұрын
Best explanation on net bud.. Subscribed
@geod6694
@geod6694 8 жыл бұрын
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?
@sandejai
@sandejai 9 жыл бұрын
I haven't finished watching it, but I am compelled to , thank you :)
@karthik20121
@karthik20121 9 жыл бұрын
Hi Peter, I would like to know the difference b/w 1. Dynamic allocation 2. Static allocation 3. automatic allocation.
@DuuAlan
@DuuAlan 7 жыл бұрын
Amazingly explained.
@adityapandya1572
@adityapandya1572 7 жыл бұрын
Thanks man......it was freaking awesome and so simple too....doing a great job
@theot58
@theot58 6 жыл бұрын
Awesome videos - clear, consice and easy to watch.
@TheKeule33
@TheKeule33 8 жыл бұрын
Very nicely done and easy to understand. thank you
@akhilvarghese206
@akhilvarghese206 8 жыл бұрын
nice description is simplest way possible. :)
@SOU6900
@SOU6900 7 жыл бұрын
This answers the big question I have with my network which is how the DHCP works on my wireless router since I know I don't have a DHCP server. I'm assuming that a router that is connected to a switch can be used as a DHCP server as well.
@obinnaomego1971
@obinnaomego1971 10 жыл бұрын
very very good. pls can you explain IP addressing and subnet mask
@VADroidTS555
@VADroidTS555 10 жыл бұрын
Beautiful explanation!
@wacz016
@wacz016 7 жыл бұрын
In step 3, why does the new computer on the network broadcast the DHPC request to all devices, when it knows the IP adress of the router from the offer it received in step 2?
@ozanmuyes
@ozanmuyes 8 жыл бұрын
Your tutorials awesome and easy to follow. I would like to watch a video that you explain network topologies. Thanks in advance.
@manojmohan07
@manojmohan07 7 жыл бұрын
I want to know since router broadcast the ip to be assigned, how router handles if conflict arises when two device accepts the invitation of the received ip?
@Alex-mv3ht
@Alex-mv3ht 6 жыл бұрын
If the offer UDP packet contains the router IP, why does the the host still broadcast the request instead of sending it directly to that IP?
@redberry8197
@redberry8197 9 жыл бұрын
Very good lecture in every way! :-) Thanks!
@Arihanth1720
@Arihanth1720 7 жыл бұрын
How will a computer know if a particular ip address is on the same network or a different network. How does it find out that using different layers of the osi model
@B0nztube
@B0nztube 10 жыл бұрын
hi how to solve this issue? here's the scenario.. user used laptops, sometimes they can connect.. but there's another time that they didn't. "i have set.up here a dhcp server in clear os and the 2 wifi router is acting now a access point" users laptops is using dhcp but can't have IP address from dhcp server, only the autoconfiguration ipv4 will shown it give IP automatically but a wrong ip. what i do is: restarting the 2 wifi router and restarting the dchp server and i also using putty to restart the service by using this code "sudo service dnsmasq restart" but unsuccessful.
@divinepath5706
@divinepath5706 7 жыл бұрын
Please explain why the destination IP address of DHCP dicovers all 1's ???
@manojg7144
@manojg7144 10 жыл бұрын
Hi Pieter, Love your channel... Please explain the differnce between MAC address and IP address.
@larskinder1138
@larskinder1138 6 жыл бұрын
Really well explained.
@rpiian
@rpiian 8 жыл бұрын
I was trying to connect a solar inverter w/dhcp to a switch which was then connected to a modem. The inverter could not pull an IP address from the switch so replaced the switch with a router and voila, the inverter could connect. Obviously this was the addition of a DHCP server. Is it impossible to get an IP address when I connect: Device > Switch > Cable Modem ?
@claireslater6243
@claireslater6243 8 жыл бұрын
One of the most common errors it seems is The default Gateway is not available [ this includes me ] but so far and despite countless hours of searching i've yet to come across a fix for this i'm positive thousands [ millions ?:] would be etenally grateful to any one that solved this i know I would
@ankitprajapati3768
@ankitprajapati3768 7 жыл бұрын
Plz upload video on why we need both ip and mac addresses. Thanks in advance.
@charchildudani6675
@charchildudani6675 6 жыл бұрын
Hello Peter.. I like this simple and clear explanation.. could you explain with the packet format ?
@tayadihyt
@tayadihyt 6 жыл бұрын
Thank you very much. very clear to people who are new to IT/networking. what is your next project?
@billyboller9871
@billyboller9871 9 жыл бұрын
I would like to see you explain frame relay.
@NikhilJumle
@NikhilJumle 10 жыл бұрын
DHCP very well explained , thanks !
@AmitSharma-nj2dd
@AmitSharma-nj2dd 6 жыл бұрын
Awesome for revision purposes
@SaginaPraj
@SaginaPraj 10 жыл бұрын
Hi Pieter I'm confused with your explanation. I have read that , DHCPOFFER & DHCPACK sent by DHCP server are unicast but you are saying broadcast. Does it make any difference or not?
@PieterExplainsTech
@PieterExplainsTech 10 жыл бұрын
According to the DHCP specification (RFC 2131), unicast and broadcast can both be used. You might want to read this: stackoverflow.com/questions/10636699/why-are-dhcp-offer-and-ack-broadcasted
@SaginaPraj
@SaginaPraj 10 жыл бұрын
Thank you !
@ponczman
@ponczman 7 жыл бұрын
I am learning CISCO right now. Your videos is ve ry usefull, thankyou :)
@azar1642
@azar1642 6 жыл бұрын
Superb..Brother make Dhcp relay agent video too.
Что такое TCP/IP: Объясняем на пальцах
15:38
DHCP Explained - Dynamic Host Configuration Protocol
10:10
PowerCert Animated Videos
Рет қаралды 2,9 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,1 МЛН
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 45 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 3,3 МЛН
UDP and TCP: Comparison of Transport Protocols
11:35
PieterExplainsTech
Рет қаралды 1,2 МЛН
Hub, switch or router? Network devices explained
7:40
PieterExplainsTech
Рет қаралды 1,2 МЛН
Subnet Mask - Explained
17:55
PowerCert Animated Videos
Рет қаралды 2,8 МЛН
IPv4 Addressing Lesson 2: Network IDs and Subnet Masks
20:32
NGT Academy
Рет қаралды 1,7 МЛН
How DNS translates domain names to IP addresses
13:29
PieterExplainsTech
Рет қаралды 328 М.
How Network Address Translation Works
10:05
PieterExplainsTech
Рет қаралды 801 М.
microsoft doubles down on recording your screen
10:00
Low Level Learning
Рет қаралды 57 М.
It's time for change, it's time for Linux.
10:53
DankPods
Рет қаралды 223 М.
How DHCP Works // DHCP EXPLAINED
9:56
Chris Greer
Рет қаралды 25 М.
Мой новый мега монитор!🤯
1:00
Корнеич
Рет қаралды 8 МЛН
when foldable cellphones follow the trend#shorts
0:11
amazing populer
Рет қаралды 15 МЛН
Новый фонарик в iPhone с iOS 18
0:49
Wylsacom
Рет қаралды 659 М.
USB-C ИЛИ THUNDERBOLT | А ЕСТЬ ЛИ РАЗНИЦА?
19:54