In: Computer Science
What is the difference between IP and MAC address on a PC? What command would you type that will give you both IP and MAC information.
Solution
What is the difference between IP and MAC address on a PC?
IP Address on a PC | MAC Address on a PC |
IP-Internet Protocol | MAC-Media Access Control |
IP is a logical address of the computer & it is used to uniquely identify computer connected via in the network | MAC address on a PC ensure that physical address of the computer is unique |
IP address is a 4 bytes(IPv4) or of 6 bytes(IPv6) | MAC address is 6 byte hexa-decimal address |
It can retreived using RARP(Reverse Address Resolution Protocol) | It can be retrieved using ARP(Address Resiution Protocol) |
ISP(Internet Service Provider) provides the IP address | Manufacturer/chip maker provides the MAC address |
Example of IP address 191.134.172..1 | Example of MAC address 00:1B:44:11:3A:B7 |
---
What command would you type that will give you both IP and MAC information.
Answer
ipconfig /all
Explanation
ipconfig /all command used to give both IP and MAC infomration
---
all the best