How Address Resolution Protocol (ARP) Works

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024
  • See this entire course on the Intro to Networking playlist. cbt.gg/2VK11NH
    Address resolution protocol (ARP) is used by computers to discover each other's Layer 2 ethernet address. CBT Nuggets trainer Keith Barker provides an overview of how ARP works.
    Continue learning networking with CBT Nuggets and sign up for a FREE trial: training.cbt.g...
    -----------------
    Connect with CBT Nuggets for the latest in IT training:
    • Twitter - / cbtnuggets
    • Facebook - / cbtnuggets
    • Instagram - / cbtnuggets
    • LinkedIn - / cbt-nuggets

ความคิดเห็น • 55

  • @NamNguyen-oz8uj
    @NamNguyen-oz8uj ปีที่แล้ว

    Your teaching style and enthusiasm are awesome. Thank you very much!

  • @CesarCastro-bn5kt
    @CesarCastro-bn5kt ปีที่แล้ว

    Love your videos, they are amazing!

  • @KevinYap91
    @KevinYap91 2 ปีที่แล้ว +1

    Ok this is if its in the same layer, but what if two devices in a different network wants to communicate, how will ARP work between networks? I understand u need routing in that situation, and it goes to layer 3. But does ARP travel to layer 3 or only in layer 2. Anyone can help answer this for me? thanks.

  • @faithoverfear345
    @faithoverfear345 ปีที่แล้ว

    Thank you

  • @VokaLive
    @VokaLive หลายเดือนก่อน

    Yo my pc just started saying REQUEST TIMED OUT and all my games or streams I watch/play would freeze for like 1 or 2sec does anyone know how to fix this

  • @US_Joe
    @US_Joe 5 ปีที่แล้ว +14

    Been following you for yrs. Having such advanced credentials with switches,etc, your nuggets are very successful for dummies like me. Thank you - Joe

    • @Gummybearv_r
      @Gummybearv_r 5 ปีที่แล้ว

      I have been thinking the same thing!

  • @barbaluti
    @barbaluti 3 ปีที่แล้ว +7

    awesome videos! I ended up on this series after googling what's a port number and I've learnt so much! This one finally answers the question I had since episode 3 😄

  • @umarridhwan9885
    @umarridhwan9885 4 ปีที่แล้ว +4

    How do bobs computer know the destination ip address in the first place ?

    • @eruelsantos3695
      @eruelsantos3695 4 ปีที่แล้ว +5

      It can be setup manually or through some other protocol like DNS.

    • @JackT-ht2pg
      @JackT-ht2pg 4 หลายเดือนก่อน

      When you enter the web address in your browser the pc will send a dns request to find the ip from a dns server. A pc will have a dns server ip in its settings set either manually or dynamically by a dhcp server. It knows what the dhcp server ip is by sending a dhcp offer request out to the local lan and the dhcp ip is usually set on the router (known as a helper) or there is a server on the local lan actively listening for dhcp requests and it will respond to bobs pc with its ip. Look up dhcp dora process

  • @anasibrahim6548
    @anasibrahim6548 3 ปีที่แล้ว +1

    well sir i have a question if the ip is a layer 3 technology who layer 2 devices are using this technology?

    • @cbtnuggets
      @cbtnuggets  3 ปีที่แล้ว

      They are useing physical addresses like a MAC address. Hope that helps!

  • @qaipak1
    @qaipak1 3 ปีที่แล้ว +1

    I don't understand 4:27 -- if it is sent as a broadcast, why it would be everyone on the local network. Would it not be everyone on any network? Also isn't all F's like one specific IP address? Wouldn't all 0's mean any possible IP?

    • @cbtnuggets
      @cbtnuggets  3 ปีที่แล้ว +1

      Hi! Thank you for your question.
      If ARP was initiated, the computer is needing more information on a destination. The computer may not have the information needed to immediately forward the data. The ARP will use the broadcast to see who will respond if at all to the message. If there are no responses from the broadcast message, the computer will then forward the data to the default gateway. You wouldn't want the broadcast to go beyond the subnet boundary to prevent a flooding of traffic.
      If you have thousands of devices doing that it's possible to cause congestion. There are a handful of mac addresses that are reserved for special use, so if a device has not received an IP address it can still do some communication. F:F:F:F:F:F is reserved for the broadcast messages. 0.0.0.0 address is certainly used for something that is not routable, but this is at the layer 3 of the OSI model, whereas, F:F:F:F:F:F is Layer 2 and is a broadcast. You'd see the 0.0.0.0 for the default route, and it will push it to the default gateway.
      Hope that helps!

    • @qaipak1
      @qaipak1 3 ปีที่แล้ว

      @@cbtnuggets thank you!

  • @Ramsas154
    @Ramsas154 2 ปีที่แล้ว

    Okay, but what if IP address is on the other network? It doesn't broadcast then? It checks (who checks - computer or switch?) if it matches subnet mask, if it's not it sends straight to gateway? I can't find a proper video explaining all these things working together: computers, arp tables, mac tables, routing tables, default gateways, routers, switches. It seems i know the "theory" but can't understand how it ACTUALLY works all in conjunction.
    Switches also have their own MAC address, when they do come into play, do computers send packets to Switch MAC address?

  • @ralphwaters8905
    @ralphwaters8905 7 หลายเดือนก่อน

    Clearly, I would like to know how all the layers work, but I'm too lazy. Two other routing topics of interest (for dummies) that I would love are (1) how is data routed to different applications (such as browser windows) running on a single machine? and (2) how are message packets thru a router and the WAN (internet) routed?

  • @machdaddy6451
    @machdaddy6451 6 หลายเดือนก่อน

    When I execute the arp -a command it does not list all of the devices that are connected to my network? Also these devices are not listed in my routers connected device list? I would like to log onto some wireless bridges to configure them, but I can't determine their IP addresses.

  • @culpinha
    @culpinha 4 ปีที่แล้ว +3

    ma goodness wot a greater vídeo mate!
    thanks for your incredible explaining

  • @ShortsItalyVibes
    @ShortsItalyVibes 5 หลายเดือนก่อน

    How did you obtain the specific wireshark files. ?

  • @isumitd9586
    @isumitd9586 3 ปีที่แล้ว +1

    If internet server is in different network say B and Bob is in A network then :
    We know routers never broadcast so how ARP is going to travel there to get destination host MAC

    • @zakariafarah1101
      @zakariafarah1101 3 ปีที่แล้ว

      ARP just needs the Router's MAC. The router takes care of the routing decision (how to get to an outside network).

    • @isumitd9586
      @isumitd9586 3 ปีที่แล้ว

      I meant what and how router B gonna do after receiving the ping packet from A router. How s router B will execute the packet to send it to switch and then to host 2. I was talking about the second B network.

  • @cameron_blackwell_
    @cameron_blackwell_ 3 ปีที่แล้ว +2

    Great video and very well explained!
    I have just one question tho... how does the source computer get the IP address of the destination computer, as it needs that to get the MAC address?
    Would you have to pre-configure that into the source computer?

    • @saurabhchaubey7861
      @saurabhchaubey7861 3 ปีที่แล้ว

      It does it through using the DNS request.. (domain name service) sent to DNS servers which basically resolve a domain name(eg google.com) to its ip address

  • @SAR2325
    @SAR2325 2 ปีที่แล้ว +1

    Absolutely loved this video. Many thanks.

  • @amiramiri4517
    @amiramiri4517 2 ปีที่แล้ว +1

    Well explained! Thanks a lot🙏🍀

  • @gordonpoon4780
    @gordonpoon4780 4 ปีที่แล้ว +1

    Question: would not the ARP request broadcast be an exhuastion? It is fine if the broadcast is only sent in a local network. But what if the destination is somewhere over the internet? There will be hundred of thousand machines out there.

    • @eruelsantos3695
      @eruelsantos3695 4 ปีที่แล้ว +1

      ARP broadcasts are only sent within the same network. It does not go past beyond network boundaries.

  • @AbuIbrahim84
    @AbuIbrahim84 4 ปีที่แล้ว +2

    Amazing explanation, I really like your way of teaching, keep up the great work. Thank you

  • @umarridhwan9885
    @umarridhwan9885 4 ปีที่แล้ว +1

    Then how the heck DNS service is used? The client doesnt even know the IP Add of the server, how to broadcast the request to LAN ? Can someone please explain to me

    • @coreystoker8014
      @coreystoker8014 4 ปีที่แล้ว

      In the case of DHCP, the DNS Server address is provided in the DHCP Request. You normally provide a DNS IP for static connections. Happy Networking!

  • @SS-jd7ke
    @SS-jd7ke 4 ปีที่แล้ว +2

    goodness, well explained!
    THANK YOU DEAR

  • @Liamo__han
    @Liamo__han 4 ปีที่แล้ว +2

    Another well explained, to the point video. Thanks

  • @ilikebreathingtoo
    @ilikebreathingtoo ปีที่แล้ว

    How does one know the IP destination though?

  • @K1LLERP
    @K1LLERP 4 หลายเดือนก่อน

    Is ARP a layer 3 protocol???

  • @viggolagerstedtekholm4166
    @viggolagerstedtekholm4166 3 ปีที่แล้ว +1

    Super helpful! I like the fact you showed Wireshark to really prove that you sent and received the ARP.

  • @karandeepkapoor1705
    @karandeepkapoor1705 หลายเดือนก่อน

    What a great explanation.

  • @flewkey
    @flewkey 5 ปีที่แล้ว +2

    These videos are very informative and easy to understand, thank you.

  • @itsAnaMC
    @itsAnaMC 4 ปีที่แล้ว +2

    Yall are amazing! Super interesting and informative. Thank you for these great videos.

    • @cbtnuggets
      @cbtnuggets  4 ปีที่แล้ว

      Thanks for watching!

  • @ajaxSAF
    @ajaxSAF 2 ปีที่แล้ว +1

    Keith Barker has been so helpful to me. Thank you!

  • @arbershehu3528
    @arbershehu3528 3 ปีที่แล้ว +1

    Great explaining and love the enthusiasm in your words!

  • @imneell8629
    @imneell8629 4 ปีที่แล้ว +1

    So first we have to find the ARP of the sender? (The one requested) Or find the ARP of the receiver (server)?

  • @ardentdfender4116
    @ardentdfender4116 5 ปีที่แล้ว +1

    What I s that Protocol Analyzer software being used and is it free? If not free what is a good one to use?

    • @Penguin-1966
      @Penguin-1966 4 ปีที่แล้ว +2

      i think its wire shark

  • @qasim9976
    @qasim9976 4 ปีที่แล้ว +1

    Well explained!
    Thanks sir.

  • @kevin_kk
    @kevin_kk 4 ปีที่แล้ว +1

    Thanks

  • @sahanahegde9021
    @sahanahegde9021 2 ปีที่แล้ว

    @CBT Nuggets please share the data packet File wich is used at the last part of video which ARP request and send packet

  • @AnilSharma-gr6ck
    @AnilSharma-gr6ck 4 ปีที่แล้ว +1

    Great work thanks

  • @annafebland4460
    @annafebland4460 ปีที่แล้ว

    Thank you! Very followable video with good visuals ❤

  • @armank10_
    @armank10_ 7 หลายเดือนก่อน

    Thank you sir. You are an amazing teacher!

  • @iannailmonen4261
    @iannailmonen4261 2 ปีที่แล้ว

    i love this!!!!!