Address Resolution Protocol (ARP) in less than 5 minutes

  Рет қаралды 119,266

Practical Networking

Practical Networking

Күн бұрын

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 жыл бұрын
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* : kzfaq.info/get/bejne/fNOhZKhittiWh2g.html If you want a slightly longer but more thorough look at VLANs, check out my VLANs video: kzfaq.info/get/bejne/g9OneZSgrbXanZs.html
@MunkyChunk
@MunkyChunk 5 жыл бұрын
Love this sort of fast paced, to-the-point kind of presentation. Thanks very much!
@scottspa74
@scottspa74 2 жыл бұрын
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.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thanks Scott =).
@huzaifamazhar4981
@huzaifamazhar4981 2 жыл бұрын
I cannot express to you my thank and gratitude for your excellent and to the point videos.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Glad you enjoyed it, Huzaifa. The best way to thank me is to spread the word about this content. =)
@PracticalNetworking
@PracticalNetworking 4 жыл бұрын
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 жыл бұрын
Hi There, it would be very greatfull if you explains Ping and Traceroute concept. awaiting for ur responce
@PracticalNetworking
@PracticalNetworking 4 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@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.
@VenalesM
@VenalesM 6 жыл бұрын
Really good explanation, fast paced. Thanks!
@ajayraho
@ajayraho 7 ай бұрын
Cleared all my doubts in minutes. Super THANKS!
@pascal0868
@pascal0868 3 жыл бұрын
Clear and succinct. You never disappoint.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thank you, Pascal =)
@NeerajLalu
@NeerajLalu 4 жыл бұрын
Very good video ... KZfaqs 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 =)
@PracticalNetworking
@PracticalNetworking 6 жыл бұрын
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: kzfaq.info/get/bejne/qL-fl8anzc6bkmw.html
@catalyticcentaur5835
@catalyticcentaur5835 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 жыл бұрын
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 =)
@ronr149
@ronr149 2 жыл бұрын
One of the Best networking learning channels ive seen yet. A lesson in STP would also be great
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Noted about STP. Thanks for the kind words, ROn. Glad you're enjoying the content!
@RaghavendraK555
@RaghavendraK555 6 жыл бұрын
Thanks for the video. It helped for clear understanding of how packets moves between two hosts; each belong to different networks
@PracticalNetworking
@PracticalNetworking 6 жыл бұрын
Hi Raghavendra, glad you enjoyed it!
@shanebagel
@shanebagel 3 ай бұрын
Love it! Great explanation
@PriyankaSangwan
@PriyankaSangwan 5 жыл бұрын
Awesome video. Well explained. 👍
@babatunde7217
@babatunde7217 3 ай бұрын
Great piece of content ❤
@shujauttali2608
@shujauttali2608 Жыл бұрын
Your videos represent the best possible explanation 🎉🎉🎉
@sabchaltahai2032
@sabchaltahai2032 4 жыл бұрын
Best explained !! Thankyou very much for this wonderful content .
@PracticalNetworking
@PracticalNetworking 4 жыл бұрын
Most welcome! =)
@saifqawasmeh9664
@saifqawasmeh9664 3 жыл бұрын
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/
@johnhammer8668
@johnhammer8668 4 жыл бұрын
Dense content. Love this format.
@PracticalNetworking
@PracticalNetworking 4 жыл бұрын
=)
@yashikashinde1668
@yashikashinde1668 6 жыл бұрын
Really your video is perfect .... please upload more videos related to networking ... waiting for your videos ....
@mystiqkc
@mystiqkc 3 жыл бұрын
Awesome videos! I have learnt so much from your videos.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Great to hear! =) So happy you're enjoying them!
@sartajbhuvaji
@sartajbhuvaji 5 жыл бұрын
Thank you so much
@shaboog2644
@shaboog2644 Жыл бұрын
You guys are awesome
@vikasaggarwal9747
@vikasaggarwal9747 5 жыл бұрын
Awesome !!
@Vinod_321
@Vinod_321 2 жыл бұрын
Love the way you explain !!
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you, VIvek =)
@garvitkhurana5244
@garvitkhurana5244 2 жыл бұрын
So Smoothly Explained!!
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you. You'll probably like the "Hosts" video too: kzfaq.info/get/bejne/nb9-ZdR_lpeRp3k.html
@garvitkhurana5244
@garvitkhurana5244 2 жыл бұрын
@@PracticalNetworking I ll surely check them out
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
@@garvitkhurana5244 Excellent =)
@yashmnnitallahabad9389
@yashmnnitallahabad9389 2 ай бұрын
very helpful video for us
@ansarsd
@ansarsd 6 жыл бұрын
I love it.
@komakechogak5011
@komakechogak5011 Жыл бұрын
Very good content!
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Glad you enjoyed it! You might also enjoy the Networking Fundamentals series: kzfaq.info/sun/PLIFyRwBY_4bRLmKfP1KnZA6rZbRHtxmXi
@nukakolaa
@nukakolaa 3 жыл бұрын
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!
@theot58
@theot58 4 жыл бұрын
Good video. Clear, and concise. BS and jibberish free
@PracticalNetworking
@PracticalNetworking 4 жыл бұрын
Glad you enjoyed it =)
@oops_warning7676
@oops_warning7676 6 жыл бұрын
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!
@zulfiaman
@zulfiaman 6 жыл бұрын
this was a amazing video well explained...
@PracticalNetworking
@PracticalNetworking 6 жыл бұрын
Zulfikhar Amanullah Glad you liked it! I appreciate the kind words =)
@shakarwshyar2980
@shakarwshyar2980 2 жыл бұрын
Well explained...
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you, Shakar.
@zoommo
@zoommo 6 жыл бұрын
that's great
@dongfangqu4995
@dongfangqu4995 4 жыл бұрын
Great stuff! It would be great if you can do some video about TCP since it is so important and widely used.
@PracticalNetworking
@PracticalNetworking 4 жыл бұрын
Noted. Thanks Don. =)
@saurabh5047
@saurabh5047 3 жыл бұрын
Nicely explained
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thank you =)
@mahimrawat7957
@mahimrawat7957 2 жыл бұрын
Very good video
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Glad you enjoyed it, Mahim. You might also enjoy the full Networking Fundamentals series: kzfaq.info/sun/PLIFyRwBY_4bRLmKfP1KnZA6rZbRHtxmXi
@alonsosolano5117
@alonsosolano5117 2 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@PracticalNetworking totally understand. Appreciate your time doing this. Waiting always for new videos to continue learning.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
@@alonsosolano5117 Thank you for your support, Alonso =)
@prince-bd1so
@prince-bd1so 3 жыл бұрын
_Nice explained_
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thank you 😃
@Zen-lz1hc
@Zen-lz1hc 2 жыл бұрын
Like This video is awesome :) Thank You :)
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Glad you liked it, Zen =). You're welcome!
@fucyahoo
@fucyahoo 2 жыл бұрын
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 жыл бұрын
That's a great question! I'm glad you asked it. I actually speak to that exact question in this video: kzfaq.info/get/bejne/gtGfn8WGt9jYhKc.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.
@tramellmalone9146
@tramellmalone9146 Жыл бұрын
Awesome work. Love it. Do you have any courses available, I'm studying for my CCNA?
@TheKumaresh007
@TheKumaresh007 6 жыл бұрын
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!
@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: kzfaq.info/get/bejne/qL-fl8anzc6bkmw.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.
@ayankumarmaity1821
@ayankumarmaity1821 5 жыл бұрын
Its nice..
@PracticalNetworking
@PracticalNetworking 5 жыл бұрын
Hi Ayan, glad you enjoyed the videos =)
@ssrot4352
@ssrot4352 Жыл бұрын
I mean it when i say this, this is really really good content. holy shit
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Thank you kindly, SS Rot =).
@theomidtabei
@theomidtabei Жыл бұрын
💙💙💙
@swisa1120
@swisa1120 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 жыл бұрын
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/
@Vivacior
@Vivacior 4 жыл бұрын
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 жыл бұрын
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.
@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?
@dcell972
@dcell972 4 жыл бұрын
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 -- kzfaq.info/get/bejne/g9OneZSgrbXanZs.html In fact, everything I created about VLANs can be found here: pracnet.net/vlans Hope they help!
@adityarawat9887
@adityarawat9887 6 жыл бұрын
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/
@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.
@donmarzo2032
@donmarzo2032 6 жыл бұрын
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.
@rafaskrock6668
@rafaskrock6668 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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.
@rafaskrock6668
@rafaskrock6668 3 жыл бұрын
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 жыл бұрын
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.
@Frissdas1207
@Frissdas1207 6 ай бұрын
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.
@JosephUsher
@JosephUsher 5 жыл бұрын
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).
@doragabiciausu8559
@doragabiciausu8559 10 ай бұрын
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 10 ай бұрын
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).
@love-hammer
@love-hammer 5 жыл бұрын
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
@arunkn09
@arunkn09 4 жыл бұрын
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 жыл бұрын
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.
@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 ?
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Yup! kzfaq.info/get/bejne/qL-fl8anzc6bkmw.html
@machdaddy6451
@machdaddy6451 4 ай бұрын
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 4 ай бұрын
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 4 ай бұрын
@@PracticalNetworking How can I discover these devices and determine their IP Addresses?
@PracticalNetworking
@PracticalNetworking 3 ай бұрын
@@machdaddy6451 On your own network? Run an ARP scan. Using a tool like nmap. =)
@vasusachdeva7369
@vasusachdeva7369 Жыл бұрын
Does each network always have only one router? if not, how will B know which router's MAC address to request for ?
@PracticalNetworking
@PracticalNetworking Жыл бұрын
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 3 жыл бұрын
Hi Sir, When ARP Packet gets flooded in switch and how to resolve this issue.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
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?
@frempongadarkwa2232
@frempongadarkwa2232 2 жыл бұрын
You must be sick in your head if you dislike this video
@harshitham2033
@harshitham2033 4 жыл бұрын
Sir, Is physical address and MAC address are same?
@harshitham2033
@harshitham2033 4 жыл бұрын
I mean, are both same meaning
@harshitham2033
@harshitham2033 4 жыл бұрын
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: kzfaq.info/get/bejne/qL-fl8anzc6bkmw.html
@bhagyalakshmi1053
@bhagyalakshmi1053 Жыл бұрын
Roater(aaaa,bbbb, fffff,ccccc )ip cap2 (1catmr additiona :'sql')
@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: kzfaq.info/get/bejne/d85_iJWWtNbRiGQ.html&lc=UgwWra5VqLEMh2igOE14AaABAg
@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 жыл бұрын
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
@HAPPYSLAPS1
@HAPPYSLAPS1 4 жыл бұрын
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).
@pascal0868
@pascal0868 3 жыл бұрын
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 3 жыл бұрын
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.
@kgroombr
@kgroombr 2 жыл бұрын
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: kzfaq.info/get/bejne/Zsd3pKp817ipYJs.html
@nikhilt3755
@nikhilt3755 5 жыл бұрын
who has 10.3.3.99 ? tell 10.3.3.22
@Bysugin
@Bysugin 3 жыл бұрын
Моя твоя не понимает.
@tahersadeghi6773
@tahersadeghi6773 10 ай бұрын
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 жыл бұрын
Very good video
@PracticalNetworking
@PracticalNetworking 4 жыл бұрын
Thanks!
What is Subnetting? - Subnetting Mastery - Part 1 of 7
8:37
Practical Networking
Рет қаралды 428 М.
What is ARP? | Address Resolution Protocol
17:29
NGT Academy
Рет қаралды 32 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 4,6 МЛН
When do you need the ARP protocol? -Wireshark
7:47
danscourses
Рет қаралды 49 М.
What are VLANs? -- the simplest explanation
11:29
Practical Networking
Рет қаралды 320 М.
Advanced ARP: reply-only, proxy-arp, local-proxy-arp
9:14
MikroTik
Рет қаралды 11 М.
NAT - SNAT, DNAT, PAT & Port Forwarding
9:50
Sunny Classroom
Рет қаралды 349 М.
Address Resolution Protocol (ARP)
7:26
Sunny Classroom
Рет қаралды 122 М.
Native VLAN - the DEFINITIVE illustration
5:39
Practical Networking
Рет қаралды 193 М.
Network Ports Explained
10:33
PowerCert Animated Videos
Рет қаралды 1,5 МЛН
ARP Poisoning | Man-in-the-Middle Attack
11:35
CertBros
Рет қаралды 263 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 1,4 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 6 МЛН
Mastering Picture Editing: Zoom Tools Tutorial
0:52
Photoo Edit
Рет қаралды 506 М.