Physical and logical-addressing
In a network users identify devices with logical addressing.
The address given to the host or device is mostly human-readable.
Networks map logical addresses to physical addresses.
How do devices get their address ?
Every device uses a Network Interface card to communicate with a network.
MAC address
The NIC has a 48 bit unique Number called MAC (Media Access Control) address.
In a network card Physical address is the 48-bit M(AC address encoded by NIC manufacturer. Ex. 00:AO:CC:23:AF:4A in (hex notation)
IPV4 Addressing
When the computer get connected to a network, it's a physical address (MAC address)
mapped to a 32-bit logical address like 192.168.1.100
- If the device is connected to a local network, the address assigned is a local IP.Ex. 192.168.1.100
- If the computer is connected to the internet, a global IP is assigned.
- If the computer is connected to the internet through a proxy, the IP is a local address.
In the Command Prompt, execute the command "ipconfig /all"
This will print all information about the IP Configuration, including the Physical Address (MAC Address) of your NIC..