Address Resolution Protocol (ARP) in less than 5 minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • Address Resolution Protocol, or ARP, exists to create a mapping between an IP address to a MAC address. ARP's behavior differs whether you are communicating with a host on the local network, or a foreign network. This video explains traditional ARP in less than 5 minutes.
    But there are additional iterations of ARP, such as Gratuitous ARP, Proxy ARP, and ARP Probes and Announcements. To learn the functionality of each, check out the ARP Article Series at Practical Networking .net:
    pracnet.net/arp
    www.practicalnetworking.net
    📌 Want to learn Networking?
    • Networking Fundamentals
    📌 Want to learn Subnetting?
    • Subnetting Mastery
    📌 Studying for the CCNA?
    www.practicalnetworking.net/i...
    #arp #ccna #addressresolutionprotocol
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @PracticalNetworking
    @PracticalNetworking  3 ปีที่แล้ว +12

    We've reached 1000 likes. *Thank you so much for your support.* As promised, the next topic I explain in 5 minutes is the *Native VLAN* : th-cam.com/video/Fmq1E1Qr2W4/w-d-xo.html
    If you want a slightly longer but more thorough look at VLANs, check out my VLANs video:
    th-cam.com/video/MmwF1oHOvmg/w-d-xo.html

  • @MunkyChunk
    @MunkyChunk 5 ปีที่แล้ว +34

    Love this sort of fast paced, to-the-point kind of presentation. Thanks very much!

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

    We're approaching 1000 likes! That is awesome! _Thank you everyone for your support!_ I am _truly_ grateful.
    That said, as promised, I will make a 5 minute video on the (networking) technology or concept of your choosing. *Vote for something by making a comment* , and vote for someone else's suggestion with a "like" on their comment.

    • @MohammedAshraf-yt3wj
      @MohammedAshraf-yt3wj 4 ปีที่แล้ว +2

      Hi There, it would be very greatfull if you explains Ping and Traceroute concept. awaiting for ur responce

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

      @@isumitd9586 Hi Sam. In typical Networking Host B would never send an ARP to Host D. *Any* host will *only* send an ARP request to targets in *their own network*. So if Host B means to speak to Host D, Host B will ARP for the Default Gateway, not for Host D.
      The exception to this (and maybe this is what you are asking about) is a feature known as Proxy ARP. I wrote about that here: www.practicalnetworking.net/series/arp/proxy-arp/
      But keep in mind, Proxy ARP should *not* be relied on to enable hosts in different networks to communicate.
      Hope this helps.

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

      @@isumitd9586 Ahh, I see what you are asking. When the Router gets the packet, the Router will send an ARP for Host D's MAC address. It's all explained in the other video I linked.

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

      @@isumitd9586 A Router *can* broadcast. I think you're thinking of the fact that a Router does not *forward* a broadcast. A Broadcast is simply a message sent to everyone on the network.

    • @3232groundhog
      @3232groundhog 2 ปีที่แล้ว

      @@isumitd9586 The router de-encapsulates the packet to check the host destination address and then checks it’s routing table to discover the next hop address. If the host IP address is part of a connected network (which it is in this case), it will check its ARP table and if it knows the MAC address for Host D it will forward the packet. If it doesn’t know the MAC address, it will send an arp request to the known IP address of the host (and directly through all outgoing ports of any switches that may also be on the connected network between the router and the host, not true in this case). If the route to the host is via another router (next hop) in the chain, it will send an arp request to the router’s IP address for its MAC address (if not already known). The next router in the chain will check the destination IP address, check its routing table and determine where to send the packet or another arp request if it’s not already in its table.
      In summary: when routers receive packets they will check their ARP tables and routing tables to determine where to send them next.

  • @scottspa74
    @scottspa74 2 ปีที่แล้ว +13

    So glad you finally got a better mic lol 👍. Great videos. Also, great ethic, you are always responsive to your audience and their requests or questions; you are engaged.

  • @huzaifamazhar4981
    @huzaifamazhar4981 2 ปีที่แล้ว +7

    I cannot express to you my thank and gratitude for your excellent and to the point videos.

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

      Glad you enjoyed it, Huzaifa.
      The best way to thank me is to spread the word about this content. =)

  • @NS-Neeraj
    @NS-Neeraj 4 ปีที่แล้ว +1

    Very good video ... TH-cams search is useless in 5 years this is the first time I came across this video which was made in 2007

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

      Hi Neeraj, glad you enjoyed the video! I think you mean 2017 though, I wasn't making videos in 2007 =)

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

    So I read your articles regarding ARP and the different iterations. tbh, I'm quite exstatic about your use of language. It's simply very delightful (or if you will exhilarating).
    So this is a gratuitous compliment, and yes, I mean it's well deserved.

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

      Whoa, what a kind comment. It's fitting, in a way, that it came from a Catalytic Centaur. Thank you for the kind words, and I'm glad you enjoyed the articles =)

  • @VenalesM
    @VenalesM 6 ปีที่แล้ว +2

    Really good explanation, fast paced. Thanks!

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

    Cleared all my doubts in minutes.
    Super THANKS!

  • @pascal0868
    @pascal0868 2 ปีที่แล้ว +6

    Clear and succinct. You never disappoint.

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

    One of the Best networking learning channels ive seen yet.
    A lesson in STP would also be great

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

      Noted about STP. Thanks for the kind words, ROn. Glad you're enjoying the content!

  • @RaghavendraK555
    @RaghavendraK555 6 ปีที่แล้ว +2

    Thanks for the video. It helped for clear understanding of how packets moves between two hosts; each belong to different networks

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

    So Smoothly Explained!!

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

      Thank you.
      You'll probably like the "Hosts" video too:
      th-cam.com/video/gYN2qN11-wE/w-d-xo.html

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

      @@PracticalNetworking I ll surely check them out

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

      @@garvitkhurana5244 Excellent =)

  • @yashikashinde1668
    @yashikashinde1668 6 ปีที่แล้ว

    Really your video is perfect .... please upload more videos related to networking ... waiting for your videos ....

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

    Your videos represent the best possible explanation 🎉🎉🎉

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

    Binge watching all of practical network video is all you need to become network literate

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

      Hi again. Thank you for the kind words. Glad you're enjoying this content!

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

    Awesome video. Well explained. 👍

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

    Love it! Great explanation

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

    Best explained !!
    Thankyou very much for this wonderful content .

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

    Great piece of content ❤

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

    Awesome videos! I have learnt so much from your videos.

  • @oops_warning7676
    @oops_warning7676 6 ปีที่แล้ว +2

    Your videos are really awesome, it gave me the answer which i was looking for long time.
    Can you please make more videos ?

    • @PracticalNetworking
      @PracticalNetworking  6 ปีที่แล้ว

      Glad you enjoy them, Karthi! I'm working on videos and new articles (pracnet.net) as we speak. Stay tuned!

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

    Dense content. Love this format.

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

    Exactly what I was looking for, thanks!

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

      You're welcome. Don't forget to check out the rest of the ARP articles:
      www.practicalnetworking.net/series/arp/address-resolution-protocol/

  • @PracticalNetworking
    @PracticalNetworking  6 ปีที่แล้ว +8

    If you enjoyed that, check out the Packet Traveling video to go a step further and learn EVERYTHING that happens for data to move through a network, from one host to another through two switches and a router: th-cam.com/video/rYodcvhh7b8/w-d-xo.html

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

    Love the way you explain !!

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

    Heyy this is a great video. I have a comment, on the Web Site you have great explanations related to Proxy ARP, and so on, why do not make a video related to that? I think that have the information to read is great but sometimes is a lot better with a video. Thanks again for your time making the videos and put there the information here, it is really clear and helpful to learn

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

      Glad you enjoyed it.
      I've considered re-making a lot of my articles in video form, but its hard to prioritize that over the new content I want to create instead. =)

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

      @@PracticalNetworking totally understand. Appreciate your time doing this. Waiting always for new videos to continue learning.

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

      @@alonsosolano5117 Thank you for your support, Alonso =)

  • @yashmnnitallahabad9389
    @yashmnnitallahabad9389 26 วันที่ผ่านมา

    very helpful video for us

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

    Thank you so much

  • @zulfiaman
    @zulfiaman 6 ปีที่แล้ว +1

    this was a amazing video well explained...

    • @PracticalNetworking
      @PracticalNetworking  6 ปีที่แล้ว

      Zulfikhar Amanullah Glad you liked it! I appreciate the kind words =)

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

    Great stuff!
    It would be great if you can do some video about TCP since it is so important and widely used.

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

    Very good content!

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

      Glad you enjoyed it! You might also enjoy the Networking Fundamentals series: th-cam.com/play/PLIFyRwBY_4bRLmKfP1KnZA6rZbRHtxmXi.html

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

    You guys are awesome

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

    Well explained...

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

    Awesome work. Love it. Do you have any courses available, I'm studying for my CCNA?

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

    Awesome !!

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

    Good video.
    Clear, and concise.
    BS and jibberish free

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

    Nicely explained

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

    So when ping or dns is used the pc's ip address is obtained in pc's arp cache so that ARP process can be intiated?

  • @prince-bd1so
    @prince-bd1so 3 ปีที่แล้ว +1

    _Nice explained_

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

    When a frame leaves the subnet (i.e. LAN (NAT Masquerade)->router->Internet), does the source-MAC becomes of the router?
    And when the answers comes back to NAT (suppose TCP 3-way), the lookup back to LAN will be based exclusively on Layer 3 (IP)?
    Thank you for the video!

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

      The role of L2 is hop to hop delivery. I explain that more thoroughly here: www.practicalnetworking.net/series/packet-traveling/osi-model/
      The MAC address will always reflect the closest two Router or End Host MAC addresses.

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

    I want to ask you two questions about your article about Free ARP: 1st question: I know that Free ARP can be sent both as a request and as a reply. I want to know what would be the difference between ARP Gratuito request Opcode 1 and ARP Gratuito reply Opcode 2? All Hosts on the network that receive the Free ARP reply have their cache tables updated and in the case of the Free ARP request Opcode 1 would it be a Host asking for the MAC address of neighboring hosts?
    2nd question: I made a capture using Wireshark and a capture appeared with the name “Gratuitous ARP” Opcode: request (1) would this be an ARP Announcement or is it a Free ARP on request? I believe this is not a Free ARP because it was followed by an ARP Probe package after I ran the ipconfig /renew command.

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

      I had a discussion with a reader about this. I think it will answer your question. I'll point you that direction:
      www.practicalnetworking.net/series/arp/gratuitous-arp/#comment-101953

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

      @@PracticalNetworkingI just read the comment in your article and, as I understand it, a “Gratuitous ARP” (Opcode 1) is the same “ARP Announcement” - Opcode1 - but with different names. The computer that just joined the network sends an ARP Announcement - (Gratuitous ARP) - Opcode1 - and in addition to updating the arp table of neighboring hosts, it also has its arp table updated. Updates the arp table from neighboring hosts and also receives the arp mapping from neighboring hosts.

  • @adityarawat9887
    @adityarawat9887 6 ปีที่แล้ว +1

    Hello Practical networking could you please help to know if we connect the PC/host to network then 1st DORA process will be executed or host will send ARP . How the communication will happen if we connect new host ??

    • @PracticalNetworking
      @PracticalNetworking  6 ปีที่แล้ว

      Hi Aditya, those are two different functions -- I would try not to combine them into one. =)
      The DORA process is DHCP, this protocol is used if a host needs an IP address. If a host doesn't need an IP address, it won't do DHCP.
      The ARP process resolves a L3 address to L2 address... if a host needs to resolve an address, it will do the ARP process. When ARP completes, the entry is cached for a certain amount of time, preventing the need to ARP again for the same destination for every packet.
      You can read more about ARP Cache timing here: www.practicalnetworking.net/series/arp/traditional-arp/

  • @ansarsd
    @ansarsd 6 ปีที่แล้ว +1

    I love it.

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

    Very good video

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

      Glad you enjoyed it, Mahim. You might also enjoy the full Networking Fundamentals series: th-cam.com/play/PLIFyRwBY_4bRLmKfP1KnZA6rZbRHtxmXi.html

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

    This is a circular reasoning explanation.
    The ip address is used to locate a specific device within a network. (at this point why would another identifier be necessary?) Then the mac address is used to identify the specific device to deliver the information. This is circular.
    What is the specific purpose of the mac address in data delivery when all you need to identify the destination of the data is the IP?

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

      That's a great question! I'm glad you asked it. I actually speak to that exact question in this video:
      th-cam.com/video/LkolbURrtTs/w-d-xo.html
      The specific answer starts at 8:30~, but I'd recommend starting from the beginning to get the full context.
      The video will do a much better job at answering your question than I could in a comment reply.

  • @machdaddy6451
    @machdaddy6451 2 หลายเดือนก่อน +1

    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.

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

      Not all devices store the ARP information they hear on the wire. Mostly they just remember the ARP information they queried, or when they themselves were being queried.

    • @machdaddy6451
      @machdaddy6451 2 หลายเดือนก่อน +1

      @@PracticalNetworking How can I discover these devices and determine their IP Addresses?

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

      @@machdaddy6451 On your own network? Run an ARP scan. Using a tool like nmap. =)

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

    I like this video, I really appreciate it if you can make one similar video that includes DNS server and client has generated ping for fqdn instead of ip, just want to understand where first packet will go to DNS server and when it will reach to gateway etc.!!

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

      It would be similar to the process outlined in this video:
      th-cam.com/video/rYodcvhh7b8/w-d-xo.html
      I know you watched it already, but the only difference would be the first packet would be to the DNS server to resolve the FQDN to IP mapping. Then the next packet would be an HTTP request to the IP address for the FQDN. ARP would likely only need to be completed for the first packet, as the entries will already be in the cache for the second packet.

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

    Can someone help me understand how computer B talked to computer D, though? I'm confused. If B is only sending the packet to the router, how does the router know to send the packet across the network to D when B's request only contained routing info to the routers interface.

  • @TheKumaresh007
    @TheKumaresh007 6 ปีที่แล้ว +1

    You are really awesome !! I watched packet routing videos too. I hope more videos asap !
    Thanks for sharing your knowledge :)

    • @PracticalNetworking
      @PracticalNetworking  6 ปีที่แล้ว

      kumaresh raj glad you enjoyed the videos! Thanks for the kind words!

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

    How does Host B knows that Host D is outside the network, so it needs to send the ARP to the router? Each know host knows which other hosts are on there network? How?

    • @PracticalNetworking
      @PracticalNetworking  5 ปีที่แล้ว +6

      Hi Ofir, That is a result of subnetting. Each hosts knows their own IP address, and their own Subnet mask. These two pieces of information can be used to determine the range of possible hosts IP addresses in their own network. Every other IP address they need to speak to is in a foreign network.
      You can learn about subnetting here:
      www.practicalnetworking.net/stand-alone/subnetting-mastery/

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

    In this arp request process, will “hosts” that are not the intended target drop the packet without adding an arp entry to the cache? Will only the “host” that is the target of the ARP request store the address in the arp cache?

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

      All the information you need to build an ARP entry is in the ARP request that is broadcast to everyone on the network. So each Operating System has the choice to store or ignore ARP requests they hear that aren't targeted at them.
      Most OS's I've come across will ignore them. But the choice is entirely up to the operating system.
      Good question.

  • @doragabiciausu8559
    @doragabiciausu8559 9 หลายเดือนก่อน +1

    Just a question: as those requests are automatically to ask the mac and providing their MAC address, is not very easy for the hackers?

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

      Yes. It's easy for an attacker to abuse this, but they have to get on the same ip network as the intended victim (which is a little more difficult).

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

    When ARP Req goes from Host B to DG, why does it go out Multicast if Host B already knows the DG's IP adx? Wouldn't it be more efficient to send it Unicast straight to the Router?

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

      Because Host B knows the DG's IP address, but not the DG's MAC address. If it knew the MAC address, *then* it could send it Unicast straight to the Router. But since it doesn't, it must perform ARP first.
      (sorry to only respond just now, somehow this comment only just appeared in my feed).

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

    Excellent video, as always. My request: Can you show the same procedure where both Host A and Host D have private IP addresses?
    How would Host A have a clue what address (MAC) on Host D's network is actually host D?
    Cheers and thanks again

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

      The procedure would be the same, except for the use of different addresses. When Host A recognizes that Host D's address is on a different network, it isn't distinguishing between a "Public" network or a "Private" IP, it is simply an IP address not in the local network.
      In the end, host A will never know or need to know host D's MAC address. MAC addresses are only useful for communication _within_ your network. Which means Host A only knows (and needs to know) the MAC addresses for Host B and the Router. This article will unpack it a bit:
      www.practicalnetworking.net/series/packet-traveling/osi-model/

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

      Your question is a little vague. I think it may be because there are a few concepts you are unaware of.
      To begin, each computer understands that some IP addresses are "routable" and some are "non-routable". For example, any 127.x.x.x in this class A range is non-routable, meaning that the computer will send these packets to itself. These addresses are known as loopback addresses for this reason.
      Assuming that the IP address in question is routable, the computer knows that it must send data through its network interface and over an external network. Here you are again missing an important concept: subnetting. (For sake of discussion, we will consider VLANs and subnets the same thing. While fundamentally different, for the purposes of this discussion they can be said to be functionally similar.) Subnetting segregates computers into physical or logical networks known as subnets. A subnet is defined by grouping IP addresses together. While we use IP addresses in the form of AAA.BBB.CCC.DDD, our computers actually translate those "octets" into a 32-bit binary string of ones and zeroes. The leading bits in that string identify the network assignment and the remaining bits identify the host. (Imagine something like this 16-bit number 1111111100000101. The leading ones might represent a network address and the remaining bits might represent a host address. Together they form an IP address. Of course that number would actually be 32 digits long.)
      We can determine how many digits are in the network portion of the address by looking at the "subnet mask" assigned to the machine along with its IP address. This is where the magic happens.
      When a computer wants to communicate with another IP address, it uses its subnet mask to determine what network, or subnet, it is a part of. It then does the same for the IP address with which it wishes to communicate using its own subnet mask. The computer can then determine whether the two computers share the same network.
      So to answer your question: if the two computers are on the *same network*, it will learn the destination computer's MAC address using ARP through the process of communicating with it. If the two computers are on *different networks*, computer A never learns the MAC address of computer B because it never needs to.
      To sum this up simply, computers on the same network communicate by MAC address. Computers on different networks communicate by IP address only. The individual MAC addresses are only known by devices within each of their own physical (or virtual) networks.

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

    I mean it when i say this, this is really really good content. holy shit

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

    I would like to know how do the computers know the IP address of other computers on the network. (Through ARP they know the mac address. But I am confused with the IP address.....)

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

      That is provided "external" to the ARP process.
      So, for example, if I jump on host B and I type "ping 10.3.3.11", I am providing the IP address to host B directly in my command. If I am browsing the net, and I type "website.com" in a browser, DNS will convert "website.com" to 10.4.4.44 (for example), and now Host B knows it needs to send data to 10.4.4.44.

  • @donmarzo2032
    @donmarzo2032 6 ปีที่แล้ว +1

    this just like the other video was amazing...but how do the devices know how to form a mac address that belongs to a recipient device on another network/interface ?

    • @PracticalNetworking
      @PracticalNetworking  6 ปีที่แล้ว

      Hi Donald. Each NIC has its own MAC address, it doesn't have to be "determined" by the host. A host's MAC address can be "resolved" by neighboring hosts using ARP. More details here: www.practicalnetworking.net/series/packet-traveling/osi-model/#osi-layer-2

    • @MohamedAhmed-vw5bc
      @MohamedAhmed-vw5bc 4 ปีที่แล้ว

      If destination is in different network so he will send it to the gateway mac-address.

  • @zoommo
    @zoommo 6 ปีที่แล้ว +1

    that's great

  • @love-hammer
    @love-hammer 5 ปีที่แล้ว +1

    I've heard that it's normally to see dozens of ARP requests per second in a network. I don't understand why that is if every response is cached. Shouldn't the number of ARP requests per second on a network be almost 0?

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

      ARP responses are cached only temporarily. Most client's purge ARP entries around 30s or less. So at least once per minute each client will have to redo ARP queries for their neighbors. More details here:
      www.practicalnetworking.net/series/arp/traditional-arp/#arp-timing

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

    Its nice..

  • @Zen-lz1hc
    @Zen-lz1hc 2 ปีที่แล้ว +1

    Like
    This video is awesome :)
    Thank You :)

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

    and after host B know the mac address of the router, then what, i mean then how host B communicate with host D ? do you have the next video link ?

  • @vasusachdeva7369
    @vasusachdeva7369 10 หลายเดือนก่อน +1

    Does each network always have only one router? if not, how will B know which router's MAC address to request for ?

    • @PracticalNetworking
      @PracticalNetworking  10 หลายเดือนก่อน +1

      Typically, yes. But it doesn't have to. There can be multiple routers, and in that case the Default Gateway configured on the hosts would serve as the instructions for which router to use.

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

    Hi Sir, When ARP Packet gets flooded in switch and how to resolve this issue.

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

      Switches do not send ARP requests. Switches are L2 devices, and don't care about L3 information (such as IP addresses). Therefore, they don't need to know any IP to MAC mapping.
      So my follow up question would be ... who is sending the ARP Requests?

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

    Switching, layer 2 related. Trunking, VLANS, 802.1x, STP, etc..

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

      I've created a few resources on those topics already =).
      Switching -- www.practicalnetworking.net/series/packet-traveling/host-to-host-through-a-switch/
      Trunking / VLANS / 802.1q -- th-cam.com/video/MmwF1oHOvmg/w-d-xo.html
      In fact, everything I created about VLANs can be found here: pracnet.net/vlans
      Hope they help!

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

    💙💙💙

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

    Sir, Is physical address and MAC address are same?

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

      I mean, are both same meaning

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

      Sir, Is physical address and MAC address give same meaning?

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

      Yep. They are different words for the same thing. =)

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

    Why do PC B needs to send an ARP request if PC B is sending a packet directly to PC A via its IP address of 10.3.3.11 ?

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

      Because PC B only knows PC A's IP address, not it's MAC address. And the MAC address is crucial because delivery of a packet is always done using MAC addresses: www.practicalnetworking.net/series/packet-traveling/osi-model/#osi-layer-23

  • @yuaanrai6058
    @yuaanrai6058 6 ปีที่แล้ว

    What if the router was connected to more than one device than whose mac address would be send??

    • @PracticalNetworking
      @PracticalNetworking  6 ปีที่แล้ว

      Anytime the Router receives an ARP Request for the IP 10.3.3.99 it will always respond with the MAC address that ends in .9999. Both Host A and Host B will use this same MAC address to send a frame to the Router so that it can be delivered to Host D (or any other host on a foreign network).

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

    Sir but what for host D if host B pings it?????

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

      Host D knows Host B is on a different network. So Host D will arp _for the Router._ I'd recommend this video to see the whole process in action: th-cam.com/video/rYodcvhh7b8/w-d-xo.html

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

    You must be sick in your head if you dislike this video

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

    why is the Mac needed why not just communicate with IP alone?

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

      Great question! MAC addresses are responsible for hop-to-hop delivery, and IP addresses are responsible for end-to-end delivery. You can see it clearest in this illustration:
      www.practicalnetworking.net/series/packet-traveling/osi-model/#osi-layer-23

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

      Before a device gets an IP address assigned from dhcp, is Mac needed to locate the device in the network? I understand also that a network switch will save the physical port number that a Mac is communicating on, how does this work with wireless ap’s and endpoints?

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

      ​@@HAPPYSLAPS1 The MAC address is simply the address of each individual NIC. Each NIC has one prebuilt when the NIC was created. So yes, anything that connects to the Internet has a NIC and therefore already has a MAC address. It _then_ needs to acquire an IP address (using DHCP or a static configuration, etc).

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

    if the first time it happens the mac is stored why does it keep sending requests?

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

      ok so when you refresh a site is the mac deleted and so it makes request again?

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

      Most clients purge ARP entries every 20-30 seconds, so the ARP entry needs to be re-acquired.

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

      @@PracticalNetworking oh i see thank you

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

    Topic idea# A DNS series. Too many videos out there gloss things over. Either too simplistic (telephone book blah blah) or too deep skipping over fundamentals. It’s all logical once broken into simple steps.

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

      This has been on my list for a while. I'd love to make a video. Hopefully soon I can schedule that in for whats next.
      My current/next project is organizing some live streams where I do live routing/switching labs with my viewers. That, and doing more marketing of my SSL/TLS course is taking up all my free time.

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

    Q. Does a Network Switch Have an IP Address?
    A. Unmanaged and layer 2 network switches do not have an IP address, whereas managed switches and layer 3 switches do.

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

      I liked your long answer you posted here: th-cam.com/video/AhOU2eOpmX0/w-d-xo.html&lc=UgwWra5VqLEMh2igOE14AaABAg

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

    Not bad, but these aren't packets, they are frames since ARP is a layer 2 protocol.

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

      Sure. I cover that here: th-cam.com/video/0aGqGKrRE0g/w-d-xo.html

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

    Roater(aaaa,bbbb, fffff,ccccc )ip cap2 (1catmr additiona :'sql')

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

    who has 10.3.3.99 ? tell 10.3.3.22

  • @user-gy1ev4rx6m
    @user-gy1ev4rx6m 3 ปีที่แล้ว +2

    Моя твоя не понимает.

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

    You speak too fast. Slow down so your words can be deciphered.

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

    Hosts are dumb. They don't know whether the destined host is on the same network or a different one. They just send an ARP request irrespective of this.
    If the host is on the same network, it will respond back with its MAC address in the ARP reply.
    If the host is on a different network, the router will respond with its MAC address, known as Proxy ARP.
    So, your explanation is wrong in the second part.

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

      Proxy ARP exists, certainly... but a host can *absolutely* tell when the target is on the same network or a different network.
      Try it for yourself, fire up Wireshark, capture the ARPs that occur when you ping a local address vs an address externally.

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

    Very good video