Blogger Templates Skip to main content

ARP (Address Resolution Protocol)

ARP (Address Resolution Protocol) is a network protocol used to find out the hardware (MAC) address of a device from an IP address. It is used when a device wants to communicate with some other device on a local network (for example on an Ethernet network that requires physical addresses to be known before sending packets). The sending device uses ARP to translate IP addresses to MAC addresses. The device sends an ARP request message containing the IP address of the receiving device. All devices on a local network segment see the message, but only the device that has that IP address responds with the ARP reply message containing its MAC address. The sending device now has enough information to send the packet to the receiving device.
ARP request packets are sent to the broadcast addresses (FF:FF:FF:FF:FF:FF for the Ethernet broadcasts and 255.255.255.255 for the IP broadcast).

ARP broadcast explained: 


Let’s say that Host A wants to communicate with host B. Host A knows the IP address of host B, but it doesn’t know the host B’s MAC address. In order to find out the MAC address of host B, host A sends an ARP request, listing the host B’s IP address as the destination IP address and the MAC address of FF:FF:FF:FF:FF:FF (Ethernet broadcast). Switch will forward the frame out all interfaces (except the incoming interface). Each device on the segment will receive the packet, but because the destination IP address is host B’s IP address, only host B will reply with the ARP reply packet, listing its MAC address. Host A now has enough information to send the traffic to host B.
All operating systems maintain ARP caches that are checked before sending an ARP request message. You can display ARP entries in Windows by using the arp -a command.

Comments

Popular posts from this blog

By passing windows 7/8/8.1/10 login password using ease of access

I am almost certain that this has been covered elsewhere. If you have seen this before, then I am sorry I wasted a precious few minutes of your life. 1, Boot up using a Windows 7/8/8.1/10 Installation CD or Bootable Pendrive. 2, At the first splash screen click “INSTALL NOW” then accept the license agreement click "NEXT". 3, Press "SHIT+F10" Simultaneously. Command prompt will open up. 4, Now u need to find out at what partition your OS is installed. you can check this by typing DISKPART>LIST DISK >SELECT DISK 1 > LIST VOL and in the volumes check for the BOOT partition and note down the volume label e.g "C" (it can be different for you). 5, Type in the following commands: cd C: cd Windows/system32 copy UtilMan.exe abc.exe copy cmd.exe Utilman.exe So what did we just do here? The first two commands changed our current working directory to "/Windows/system32". This location contains both "cmd.exe" (...

How To Create The Matrix Rain In Command Prompt

Step 1: Open Notepad. Step 2: Copy and paste the below code in your notepad @echo off color 02 :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%. goto start       Step 3: Click on ” File ” and then ” Save As ” option. Save your file with a ” .bat ” extension i.e ” Matrix.bat “. Step 4: Run that batch file as an administrator. To enlarge The Screen Step 5: Right-click on the command prompt and Click on the properties. Step 6: Click on the Layout tab.  Step 7: Click On the window size section and enter your required resolution. Step 8: To apply changes Click on ok. To Stop The Matrix Rain: Just press CTRL + C, Then you will be asked: ” whether to terminate the job “. Now type ” y ” to stop the program. Tips : You can even add colors to your command prompt background and text. This is just by changing color codes i.e if you...

Reserved Storage in Windows 10 - 1903

To make sure your device can successfully update and that it runs its best, Windows reserves a portion of storage space on your device for use by temporary files, caches, and other files. When your device is low on space, Windows will clear reserved storage so it can be used for other processes, like a Windows update. Reserving storage also helps keep disk space usage on your device more predictable and more stable. DISM Commands To Enable or Disable Reserved Storage in Windows 10 1. Open a new elevated command prompt. 2. Type DISM.exe /Online /Get-ReservedStorageState to see if the Reserved Space feature is enabled or disabled. 3. Execute the following command to enable Reserved Storage: DISM.exe /Online /Set-ReservedStorageState /State:Enabled. 4. Run the following command to disable Reserved Storage: DISM.exe /Online /Set-ReservedStorageState /State:Disabled. You are done. The change will be applied instantly, no restart required. Note: If Windows 10 is performing a ser...