DHCP: How Your PC Gets Its IP Address

  Рет қаралды 549,479

PieterExplainsTech

PieterExplainsTech

Күн бұрын

Пікірлер: 374
@slidenerd
@slidenerd 8 жыл бұрын
dude, bloody awesome! as Einstein says, you can simplify it if you understand it, that was totally badass
@jibin7277
@jibin7277 9 жыл бұрын
Better than reading 1 whole text book !!!
@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 7 жыл бұрын
yes u r correct.
@raydenross477
@raydenross477 7 жыл бұрын
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.
@h-batchmailadmin5958
@h-batchmailadmin5958 8 жыл бұрын
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.
@ajaytamang5957
@ajaytamang5957 7 жыл бұрын
Pieter you the best man when it comes to explaining the technical stuffs in simple language.
@MrSaemichlaus
@MrSaemichlaus 10 жыл бұрын
These videos are a pleasure to watch! Superior design and clear words, very well done.
@DaBBoSaH
@DaBBoSaH 11 жыл бұрын
your style is really nice, please don't stop, keep it up
@oranjizer
@oranjizer 10 жыл бұрын
One of the best, very well explained videos on the concept.
@kirandevkumble6975
@kirandevkumble6975 5 жыл бұрын
dude u really make a great videos . Your teaching method is really awesome . Dude come on, make some more .Where are you?
@Gg8YRwnc3e
@Gg8YRwnc3e 10 жыл бұрын
Professionally & beautifully done and explained. Thank you. 10/10 :)
@wangyuntong9428
@wangyuntong9428 8 жыл бұрын
So clean and simple!!!! I love your illustration ~ Helped me before exam
@nishadkumar7322
@nishadkumar7322 6 жыл бұрын
And the emmy award for making things simple to understand goes to YOU!! Great video!!!
@Drew.DrivesYT
@Drew.DrivesYT 9 жыл бұрын
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!
@freeze30able
@freeze30able 10 жыл бұрын
ur better than any of my teacher. u explanation is so so good.
@tonywang7933
@tonywang7933 9 жыл бұрын
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
@DanielBuenrostroC
@DanielBuenrostroC 11 жыл бұрын
You saved my life, Thanks!
@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
@sourabhsomdeve1373
@sourabhsomdeve1373 7 жыл бұрын
Bro how easily you explain this.....i definitely show this video to my teacher and tell him to explain in this way......
@PotatoChixMoMo
@PotatoChixMoMo 4 жыл бұрын
Mannnnn...u r better than my teacher. 100 times better than a teacher out there
@UpusCumupus
@UpusCumupus 10 жыл бұрын
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.
@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.
@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.
@seetsamolapo5600
@seetsamolapo5600 2 жыл бұрын
-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!
@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
@applegaming3461
@applegaming3461 10 жыл бұрын
That was simply superb. May I request you to share similar tutorial on DNS to public?
@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,
@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.
@BoomWahDis
@BoomWahDis 6 жыл бұрын
Wow just frigging wow .why doesnt everybody explain it like that,the teacher?😢😢 .God bless you sir , thank you thank you .
@hakeem4793
@hakeem4793 6 жыл бұрын
Damn your explaining is so simple and easy to understand. I wonder why don't you upload no more
@davidkimkan
@davidkimkan 9 жыл бұрын
I enjoyed this explanation of how DHCP works. Very nice video.
@Trotskisty
@Trotskisty 8 жыл бұрын
A very clear exposition. Kudos.
@meochieng
@meochieng 10 жыл бұрын
Very informative video. Good work, Pieter!
@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.
@razpet20
@razpet20 7 жыл бұрын
Cmon Pieter, thousands of computer science students depend on you making more videos, for finishing their course! :D
@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)
@arunhit1993
@arunhit1993 8 жыл бұрын
i liked this video it clearly explained the doubts i had with DHCP, i dont know what it is. very good presentation.
@recolian
@recolian 6 жыл бұрын
man you earned 55K subscribers just by uploading 6 or 7 videos. why would you not keep doing this!
@zealeatoire
@zealeatoire 10 жыл бұрын
I love it. Thank you very much for the videos. 2 ideas maybe for additional videos. Access Control List, Routes Tables?
@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
@karthik20121
@karthik20121 9 жыл бұрын
Hi Peter, I would like to know the difference b/w 1. Dynamic allocation 2. Static allocation 3. automatic allocation.
@thepoojaghosh
@thepoojaghosh 10 жыл бұрын
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
@nikhilnagaraj4113
@nikhilnagaraj4113 5 жыл бұрын
Best explanation on net bud.. Subscribed
@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.
@wolfteamUpdates
@wolfteamUpdates 9 жыл бұрын
Please make some more videos. You are the best.
@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
@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 6 жыл бұрын
what is the message ?
@theot58
@theot58 7 жыл бұрын
Awesome videos - clear, consice and easy to watch.
@ankitprajapati3768
@ankitprajapati3768 8 жыл бұрын
Just one word want to say. Excellent!!!
@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.
@sriniatiisc
@sriniatiisc 8 жыл бұрын
Pieter. What a nice work you have done in simplifying the tutorial about DHCP. We need more videos like this. Great work.
@MasEja
@MasEja 10 жыл бұрын
hey,Im Reza from Indonesia. i need you to explain the routing protocols like OSPF,BGP,RIP and EGRP .Thanks for your attention .
@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?
@aragiewube8833
@aragiewube8833 7 жыл бұрын
wow your explanation is accurate and in understandable form!thanks sir...
@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?
@victorklimov5254
@victorklimov5254 8 жыл бұрын
perfect explanation!
@charchildudani6675
@charchildudani6675 7 жыл бұрын
Hello Peter.. I like this simple and clear explanation.. could you explain with the packet format ?
@badavinaykumarreddy1199
@badavinaykumarreddy1199 9 жыл бұрын
Great explanation. But i have two questions, 1)what would the source and destination mac addresses at layer 2 in the DORA process ? 2)why would the dhcp server sends broadcast offer and ack packets even though it knows the mac address of the client?
@zhiyaowang8826
@zhiyaowang8826 11 жыл бұрын
Excellent videos! Wish you can make more. Like the HTTP request and what happens when we visit a website.
@akhilvarghese206
@akhilvarghese206 8 жыл бұрын
nice description is simplest way possible. :)
@Learnwithspades
@Learnwithspades 9 жыл бұрын
peter that awsome... thank you.. did you know what is recursive and iterative query in dns ???....'
@SimplyWreckless
@SimplyWreckless 10 жыл бұрын
and another thing is i get confused with 'domain names' , do you create the domain names using the windows 2008 server host computer. also with 'network' The term the wireless router is considered when a computer connects to the wireless network , but LAN is the local area network , is that when the ethernet or cable from the switch is plugged into the modem ?
@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!
@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
@billyboller9871
@billyboller9871 9 жыл бұрын
I would like to see you explain frame relay.
@aakashgautam9805
@aakashgautam9805 7 жыл бұрын
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 !
@EddieSundvall
@EddieSundvall 10 жыл бұрын
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.
@_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!
@marinakim2929
@marinakim2929 4 жыл бұрын
Pieter come baaaack, i miss you!
@h.oliabak
@h.oliabak 9 жыл бұрын
I have a question: The client in the first step creates a discovery message for example by transaction ID = 655 and this will be broadcast. Suppose there are many DHCP severs in the network, they all will receive this message by transaction ID = 655, and they all in the second step offer an IP address with that transaction ID. So the client will receive many messages with the same transaction ID but maybe different offer, (am I right till here?). then in the 3rd step the client broadcasts the chosen IP address as a request message with transaction ID = 655, now here which server would send the Ack message?
@kso35
@kso35 3 жыл бұрын
hello 2021----Wish you could upload more, Pieter. Your content is helpful. Thank you!
@NikolayNechaev
@NikolayNechaev 5 жыл бұрын
And what's about if there are multiple machines trying to connect to one DHCP server in one moment? If the DHCP server broadcasts a new IP address, multiple computers can send a DHCP request... By the way, is it possible that after a machine answers it doesn't want to use an IP address after the DHCP offer?
@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?
@deveshgautam6198
@deveshgautam6198 9 жыл бұрын
Hi Peter, Step 2: Offer packet should be unicast because the server identifies the rest of the network node.... ? Please right if it is making sence to you...
@ankitprajapati3768
@ankitprajapati3768 8 жыл бұрын
Plz upload video on why we need both ip and mac addresses. Thanks in advance.
@rameshram6875
@rameshram6875 9 жыл бұрын
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
@manojg7144
@manojg7144 10 жыл бұрын
Hi Pieter, Love your channel... Please explain the differnce between MAC address and IP address.
@spicyLEGO
@spicyLEGO 9 жыл бұрын
In step 3, why is the receiver IP address set 4x 255? The DHCP server have already sent an offer with its sender IP in step 2, right? Why can't the client send a accept signal to that specific IP address, instead of broadcasting it? Sorry if I asked too many questions.
@vaishnaviandvihaan
@vaishnaviandvihaan 9 жыл бұрын
Good topic & you explained well. What is the diffrence between DHCP & DHCP option set in Amazon Web Services?
@pupulmayank3823
@pupulmayank3823 5 жыл бұрын
I am not sure if anyone still is responding here or not, but why is it that the Request and Ack steps are broadcast? Why can't the client make not of DHCP IP from Offer step and then send a unicast message to DHCP server only. I understand that DHCP server might still not have the IP address of client and that can still be a broadcast but the Request can be unicast. Isn't it? Also a continuation: When DHCP sends the offer message as a broadcast or Ack message as a broadcast, I know that other clients in the network discard that message. But how do they discard it? What is the parameter based on which they decide that it is of no use for them?
@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 ?
@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.
@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?
@tayadihyt
@tayadihyt 6 жыл бұрын
Thank you very much. very clear to people who are new to IT/networking. what is your next project?
@nilakshatra2024
@nilakshatra2024 6 жыл бұрын
Totally awesome. I need a bit of a help. I need to hook up my laptop (running ubuntu) with a raspberry pi (running ubuntu, not raspbian) only with an Ethernet cable. I have a DHCP server running on my laptop, which means I only need to add a DHCP client on my Rpi and add it to startup application list, right? If there's a better way with given limitations (only ethernet cable), Can you please tell me?
@praveenkumarsettipalli3963
@praveenkumarsettipalli3963 9 жыл бұрын
Hi peeter, I have few questions :- 1.How the system came to know about the DHCP is connected to my system ? 2.With the DHCP enabled if the conflict happens,so How the system can know about the conflict ? what's happening at the back end ?
@adityapandya1572
@adityapandya1572 7 жыл бұрын
Thanks man......it was freaking awesome and so simple too....doing a great job
@chiheangchea9460
@chiheangchea9460 8 жыл бұрын
hi PieterExplainsTech, i need some suggestion from you i use tp-link router (model TD-w8960N) as main router.and i have 3 pro-link access point (model prn2001) using as repeater from main router(share by wirless, dont use any cable).after i configue pro_link do as repeater , it work simply(mobile phone can connect and access to the internet).but after few hours late , the repeater isnt working (mobile phone cant connect and access to the internet(the phone still obtaining ip address)).i dont know the DHCP problem or something..! one more thing, my DHCP provide ip address to connection device 24h,if phone_A connect to wifi 1h, then phone_A disconnect( stop using wifi).that ip can't use(need to waiting more 23h). i think it is waste my ip, but i dont know where to manage it, maybe my router dont have DHCP management function..!
@Iamherp
@Iamherp 10 жыл бұрын
Hi peter, does one need to always use the private Ip address ranges on a private network? What happens if I assign a public address to my own private network instances and then use an internet router to connect my private network to the internet? Wont it still work? i.e. switch all 192.168. to something like 24.1
@gainev6108
@gainev6108 7 жыл бұрын
Is the DHCP Server considering Static IP Adresses I haven given to hosts ? Will there be a conflict, if I have a configured a static IP adress on my laptop ?
@stevepalmateer
@stevepalmateer 9 жыл бұрын
Why do you use the terms sender/receiver as opposed to source/destination?
@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
@thomasxeon1912
@thomasxeon1912 10 жыл бұрын
Thanks, can you explain about the DHCP option?
@navekeinan
@navekeinan 8 жыл бұрын
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 ?
@VARDHAN_CAPTURES
@VARDHAN_CAPTURES 8 жыл бұрын
Sir your way of explanation is awesome. can u please confirm me is DHCP four steps process is same for wired and wireless networks ?
@sandejai
@sandejai 9 жыл бұрын
I haven't finished watching it, but I am compelled to , thank you :)
@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 ?
@AdrianJuliusRandall
@AdrianJuliusRandall 5 жыл бұрын
When we say join the network does it stay the same after the first time it gets on the network, or is there a new ip address assigned everytime a computer hops on the internet or is it the first time you connect to a wifi password and router?
DHCP Explained - Dynamic Host Configuration Protocol
10:10
PowerCert Animated Videos
Рет қаралды 3 МЛН
UDP and TCP: Comparison of Transport Protocols
11:35
PieterExplainsTech
Рет қаралды 1,2 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Subnet Mask - Explained
17:55
PowerCert Animated Videos
Рет қаралды 3,1 МЛН
Что такое TCP/IP: Объясняем на пальцах
15:38
How DHCP Works // DHCP EXPLAINED
9:56
Chris Greer
Рет қаралды 28 М.
How Network Address Translation Works
10:05
PieterExplainsTech
Рет қаралды 803 М.
How DNS translates domain names to IP addresses
13:29
PieterExplainsTech
Рет қаралды 329 М.
Network Ports Explained
10:33
PowerCert Animated Videos
Рет қаралды 1,8 МЛН
DHCP Explained | Step by Step
5:30
CertBros
Рет қаралды 988 М.
Такого Корпуса для ПК нет ни у кого в России
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 847 М.
Что такое дагестанский кирпичный завод!
0:53
АВТОБРОДЯГИ - ПУТЕШЕСТВИЯ НА МАШИНЕ
Рет қаралды 746 М.
amazing japanese home gadgets vlog/tiktok china #shorts
0:59
High Tech USA
Рет қаралды 17 МЛН
(✋❌)kageihina VS siajiwoo VS meosimmyyt VS oxzung#tiktok #shorts
0:12