Skip to main content

ARP Explained - Address Resolution Protocol

AARP stands for address resolution protocol now this is a protocol that is used to resolve IP addresses to MAC addresses the MAC address is a physical address of a device it's a globally unique number that is assigned to every network interface card whenever a device needs to communicate with another device on a local area network it needs the MAC address for that device and devices use ARP to acquire the MAC address for that device so as an example let's say that computer a wants to communicate with computer B now computer a already knows the IP address for computer B but in order to communicate with computer B it still needs its MAC address now an IP address is used to locate a device on a network and the MAC address is what identifies the actual device so in order to find the MAC address computer a will first look at its internal list called an ARP cache to see if computer B's IP address already has a matching MAC address in fact we can check this ourselves at a Windows command prompt by using the ARP utility and by typing ARP space minus a and as you can see in the output it has no entries at all the ARP cache is empty so now computer a will send out a broadcast message out on the network asking every device which computer has the specific IP address and will ask for their MAC address then the computer that has the matching IP address will then respond back and tell computer a its MAC address then once it receives the MAC address the communication can now take place between the two now once computer a has the MAC address it'll store this information in the ARP cache so now let's do the same commands as before and now you can see that the IP address and matching MAC address have been added to the ARP cache the ARP cache is used to make a network more efficient it stores IP address 2 MAC address associations so that the next time it needs to communicate with a device on the network it doesn't have to broadcast a message out on the entire network it can just look in the ARP cache and there are also two different types of AARP entries dynamic and Static a dynamic entry is created automatically when a device sends out a broadcast message out on the network requesting a MAC address just like in the example we just did dynamic entries are not permanent they are flushed out periodically so that the cache doesn't get filled up with too many entries that are not being used and a static entry is where someone manually enters an IP address 2 MAC address association using the ARP command-line utility so for example let's create a static ARP entry so at a command prompt you would type ARP space minus s and then the IP address followed by the MAC address so now if we look at the ARP cache again we would see our static ARP entry network administrators would use static entries to reduce any unnecessary ARP broadcast traffic on a network for example static entries are ideal if you know that two devices are constantly going to be communicating with each other

Comments

Popular posts from this blog

Printers Explained - Laser, Inkjet, Thermal, & Dot Matrix

hello everyone in this article we're going to talk about different types of printers now printers allow the ability to print copies of documents or photos onto paper from a computer now there are several different types of printers but the most common types that are used in homes and businesses are inkjet and laser printers and there are also a couple of less common printers such as thermal printers and dot matrix printers which we'll talk about later so let's first talk about inkjet printers now inkjet printers are the most common printers that are used in homes they are affordable and they produce photo quality results and they are enough to suit the needs of a typical home user now an inkjet printer works by the printhead moving back and forth across the paper during printing and during this process the printhead places ink on the paper in very tiny dots in fact these dots are so tiny that they are smaller in diameter than a human hair and as these dots are precisely pla

VLAN Explained

VLAN stands for virtual local area network a VLAN is a local area network where the computers servers and other network devices are logically connected regardless of their physical location so even if these devices are scattered in different places it wouldn't matter because a VLAN can logically group them into separate virtual networks and the purpose of a VLAN is for improved security traffic management and to make a network simpler so as an example let's say you have a three-story office building and in this building you have computers that belong to certain departments that are mixed in with computers that belong to other departments on the same floor so the red computers represents the accounting department the blue computers represent the shipping department and the green computers represent the support department now as you can see all these computers from these different departments are all connected to a switch so they are all on one segment on a local area network or

Port Forwarding Explained

what is port forwarding now maybe you've heard about it but you weren't exactly sure what it was or how it works so basically port forwarding allows computers over the Internet to connect to a specific computer or service within a private network it's basically making your computer accessible over the Internet even though you're behind a router so for example let's say a friend of yours at their home wants to remotely control your computer at your home using a service such as remote desktop connection now remote desktop connection is a service built into Microsoft Windows that enables you to connect to another computer running Microsoft Windows and then once you're connected to the remote computer you can use that computers programs and files just as if you were sitting in front of it so now your friend is ready to connect to your computer so we starts up the remote desktop connection and sends the request to your public IP address with a specific port number no