How to get MAC Address Via IP




How to get MAC Address Via IP

  • A MAC address is a hardware identification number that uniquely identifies each device on a network. The MAC address is manufactured into every network card, such as an Ethernet card or Wi-Fi card, and it cannot be changed. ccna certification

ARP Basics

  • ARP stands for Address Resolution Protocol. When you try to ping an IP address on your local network, say 192.168.1.1, your system should turn the IP address 192.168.1.1 into a MAC address. This involves using ARP to resolve the address, hence its name.
  • Systems keep an ARP look-up table wherever they store information about what IP addresses are associated with what MAC addresses. When trying to send a packet to an IP address, the system can first consult this table to see if it already knows the MAC address. If there is a value cached, ARP is not used.
  • If the IP address isn’t found in the ARP table, the system will then send a broadcast packet to the network using the ARP protocol to ask "who has 192.168.1.1". Because it is a broadcast packet, it is sent to a special MAC address that causes all machines on the network to receive it.
  • Any machine with the requested IP address will reply with an ARP packet that says "I am 192.168.1.1", and this includes the MAC address which may receive packets for that IP.
 ARP Process

Learn Ethical Hacking - Ethical Hacking tutorial - ARP Basics - Ethical Hacking examples - Ethical Hacking programs

To determine the MAC address of a remote device, you can do the following steps:

  • In Run command, type "CMD" and press Enter.
  • Ping a remote device that you want to find the MAC address (for example: PING 192.168.0.1).
  • Type "arp" in the command prompt. This gives you a list of options to use with the arp command.
  • Type "ARP -A", and press Enter. This lists a number of MAC addresses with the associated IP addresses. Since you have the MAC address, scroll down the list to find the associated IP address. The MAC address is shown in the "Physical Address" column with the IP address in the "Internet Address" column.
  • Now, You will get MAC address of your computer.
 MAC Address

Learn Ethical Hacking - Ethical Hacking tutorial - MAC Address - Ethical Hacking examples - Ethical Hacking programs



Related Searches to How to get MAC Address Via IP