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...
  • Наука та технологія

КОМЕНТАРІ • 374

  • @jibin7277
    @jibin7277 8 років тому +137

    Better than reading 1 whole text book !!!

  • @slidenerd
    @slidenerd 7 років тому +97

    dude, bloody awesome! as Einstein says, you can simplify it if you understand it, that was totally badass

  • @BLBytes
    @BLBytes 9 років тому +37

    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 6 років тому

      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 років тому +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.

  • @oranjizer
    @oranjizer 10 років тому +3

    One of the best, very well explained videos on the concept.

  • @h-batchmailadmin5958
    @h-batchmailadmin5958 7 років тому +8

    Its the best video with excellent explanation i've known so far ! Thankyou sir !

  • @MrSaemichlaus
    @MrSaemichlaus 10 років тому +1

    These videos are a pleasure to watch! Superior design and clear words, very well done.

  • @DaBBoSaH
    @DaBBoSaH 10 років тому +2

    your style is really nice, please don't stop, keep it up

  • @ajaytamang5957
    @ajaytamang5957 7 років тому

    Pieter you the best man when it comes to explaining the technical stuffs in simple language.

  • @Gg8YRwnc3e
    @Gg8YRwnc3e 10 років тому +5

    Professionally & beautifully done and explained. Thank you. 10/10 :)

  • @konradlubaszka3769
    @konradlubaszka3769 8 років тому +1

    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

  • @AndrewWilson1991
    @AndrewWilson1991 8 років тому +19

    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!

  • @wangyuntong9428
    @wangyuntong9428 8 років тому +2

    So clean and simple!!!! I love your illustration ~ Helped me before exam

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

  • @paleshyrain
    @paleshyrain 8 років тому +1

    more videos please. youre doing a great job! better and simpler explanation than the ones given by my professors in college.

  • @nishadkumar7322
    @nishadkumar7322 6 років тому

    And the emmy award for making things simple to understand goes to YOU!! Great video!!!

  • @jgwood89
    @jgwood89 8 років тому +22

    maaaaaaan come BACK!

  • @meochieng
    @meochieng 10 років тому

    Very informative video. Good work, Pieter!

  • @geod6694
    @geod6694 7 років тому

    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?

  • @junaidtanoli1
    @junaidtanoli1 8 років тому +2

    Pieter your videos are awesooooooomeeeeee

  • @zealeatoire
    @zealeatoire 9 років тому

    I love it. Thank you very much for the videos. 2 ideas maybe for additional videos. Access Control List, Routes Tables?

  • @freeze30able
    @freeze30able 9 років тому +4

    ur better than any of my teacher. u explanation is so so good.

  • @DanielBuenrostroC
    @DanielBuenrostroC 10 років тому +12

    You saved my life, Thanks!

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

  • @razpet20
    @razpet20 7 років тому +1

    Cmon Pieter, thousands of computer science students depend on you making more videos, for finishing their course! :D

  • @Atpugtihsrah
    @Atpugtihsrah 9 років тому +1

    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?

  • @chrisvillareal7140
    @chrisvillareal7140 5 років тому

    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!

  • @linkedcvsite7431
    @linkedcvsite7431 10 років тому +2

    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?

  • @applegaming3461
    @applegaming3461 10 років тому +1

    That was simply superb. May I request you to share similar tutorial on DNS to public?

  • @theot58
    @theot58 6 років тому

    Awesome videos - clear, consice and easy to watch.

  • @bekcekcingnaknyet1382
    @bekcekcingnaknyet1382 6 років тому

    thanks Pieter you're a legend, my grandma really loved how she can finally got it without an argument with me :D

  • @kso35
    @kso35 3 роки тому

    hello 2021----Wish you could upload more, Pieter. Your content is helpful. Thank you!

  • @tonywang7933
    @tonywang7933 8 років тому +3

    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 років тому +1

      The down votes are those who were jealous of Peter's superb videos perhaps. They're in vain lol

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

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

  • @zhiyaowang8826
    @zhiyaowang8826 10 років тому

    Excellent videos! Wish you can make more. Like the HTTP request and what happens when we visit a website.

  • @victorklimov5254
    @victorklimov5254 7 років тому +4

    perfect explanation!

  • @ankitprajapati3768
    @ankitprajapati3768 7 років тому

    Just one word want to say. Excellent!!!

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

  • @VADroidTS555
    @VADroidTS555 10 років тому

    Beautiful explanation!

  • @tayadihyt
    @tayadihyt 6 років тому

    Thank you very much. very clear to people who are new to IT/networking.
    what is your next project?

  • @amitatray7782
    @amitatray7782 8 років тому

    short and crisp... lovely...

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

  • @hilaryjansz4687
    @hilaryjansz4687 9 років тому

    Simply Excellent Explanation

  • @wolfteamUpdates
    @wolfteamUpdates 9 років тому +3

    Please make some more videos. You are the best.

  • @DuuAlan
    @DuuAlan 7 років тому

    Amazingly explained.

  • @charchildudani6675
    @charchildudani6675 6 років тому

    Hello Peter.. I like this simple and clear explanation.. could you explain with the packet format ?

  • @greatvedas
    @greatvedas 9 років тому

    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.

  • @kikaider003
    @kikaider003 10 років тому +4

    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

  • @gazmellen7881
    @gazmellen7881 9 років тому

    Fantastic keep em coming like port forwarding uses of adhoc Cheers!!!

  • @TheKeule33
    @TheKeule33 7 років тому

    Very nicely done and easy to understand. thank you

  • @larskinder1138
    @larskinder1138 6 років тому

    Really well explained.

  • @ayushmalik8317
    @ayushmalik8317 7 років тому +1

    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.

  • @Peter-hb7tl
    @Peter-hb7tl 9 років тому

    Thanks alot. you´re great at explaining these things.
    Keep at it!

  • @nikhilnagaraj4113
    @nikhilnagaraj4113 4 роки тому

    Best explanation on net bud.. Subscribed

  • @PotatoChixMoMo
    @PotatoChixMoMo 4 роки тому

    Mannnnn...u r better than my teacher. 100 times better than a teacher out there

  • @aragiewube8833
    @aragiewube8833 6 років тому

    wow your explanation is accurate and in understandable form!thanks sir...

  • @recolian
    @recolian 5 років тому +1

    man you earned 55K subscribers just by uploading 6 or 7 videos. why would you not keep doing this!

  • @OnsDlaili1
    @OnsDlaili1 9 років тому

    thank u so much for the video
    i hope that u add more vedios of the different others protocols !
    good luck

  • @9830404999
    @9830404999 10 років тому

    Nice video and well explained.

  • @theapricotbambino
    @theapricotbambino 6 років тому

    This was extremely helpful. Thank you

  • @ozanmuyes
    @ozanmuyes 7 років тому

    Your tutorials awesome and easy to follow. I would like to watch a video that you explain network topologies. Thanks in advance.

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

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

  • @EchoesOf_Emotion
    @EchoesOf_Emotion 6 років тому

    Great, it was totally interesting I love the voice over.

  • @sakawale7677
    @sakawale7677 6 років тому

    Very good explanation

  • @MasEja
    @MasEja 9 років тому +4

    hey,Im Reza from Indonesia.
    i need you to explain the routing protocols like OSPF,BGP,RIP and EGRP .Thanks for your attention .

  • @akhilvarghese206
    @akhilvarghese206 7 років тому +1

    nice description is simplest way possible. :)

  • @prachisaxena7635
    @prachisaxena7635 6 років тому

    Useful explanation. Thanks

  • @jayanthinraju8661
    @jayanthinraju8661 7 років тому

    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

  • @redberry8197
    @redberry8197 9 років тому

    Very good lecture in every way! :-) Thanks!

  • @RicardoQuirinoPT
    @RicardoQuirinoPT 9 років тому

    Thank you for this great video! Helped me quite a BIT. :)

  • @manojg7144
    @manojg7144 10 років тому

    Hi Pieter, Love your channel... Please explain the differnce between MAC address and IP address.

  • @navekeinan
    @navekeinan 7 років тому

    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 ?

  • @vivekpatel4562
    @vivekpatel4562 10 років тому

    Nicely explained.

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

  • @ponczman
    @ponczman 7 років тому

    I am learning CISCO right now. Your videos is ve
    ry usefull, thankyou :)

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

  • @BoomWahDis
    @BoomWahDis 5 років тому

    Wow just frigging wow .why doesnt everybody explain it like that,the teacher?😢😢 .God bless you sir , thank you thank you .

  • @surianisalleh1423
    @surianisalleh1423 9 років тому

    Thanks for the explanation.

  • @bcjitu
    @bcjitu 7 років тому

    neatly explained !

  • @adityapandya1572
    @adityapandya1572 7 років тому

    Thanks man......it was freaking awesome and so simple too....doing a great job

  • @vaishnaviandvihaan
    @vaishnaviandvihaan 9 років тому

    Good topic & you explained well. What is the diffrence between DHCP & DHCP option set in Amazon Web Services?

  • @rameshram6875
    @rameshram6875 8 років тому +1

    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

  • @seminaljim
    @seminaljim 8 років тому +1

    Great video, you have a new subscriber! Thanks alot

  • @er.narainderprasher5770
    @er.narainderprasher5770 10 років тому

    in love with Networking... :P lol
    Hat's Off to Your Awesome Explanation

  • @marinakim2929
    @marinakim2929 4 роки тому

    Pieter come baaaack, i miss you!

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

  • @asafel
    @asafel 9 років тому

    great explanation, thank you

  • @forcelyopen
    @forcelyopen 10 років тому

    really well explained video.
    thanks

  • @luizashukurova3564
    @luizashukurova3564 7 років тому

    great explanation! Thank you!

  • @dmoreno4200
    @dmoreno4200 10 років тому

    Informative video! Thanks!!

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

  • @gaurang12585
    @gaurang12585 10 років тому

    amazing...so simple explanation

  • @surajchothave4485
    @surajchothave4485 6 років тому

    Thankyou very much this is very helpful, appreciate your efforts good job!

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

  • @ACDC60332
    @ACDC60332 6 років тому

    Thanks Pieter!

  • @abhishekbahuguna1130
    @abhishekbahuguna1130 8 років тому +2

    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

  • @sandejai
    @sandejai 9 років тому

    I haven't finished watching it, but I am compelled to , thank you :)