differentiate between ip and mac address.
Answers
Answer:
How to get the IP address of android device programmatically?
...
Difference between MAC Address and IP Address.
Sr. No. 2
Key Usage
MAC Address MAC Address ensure that physical address of the computer is unique.
IP Address IP Address is a logical address of the computer and is used to uniquely locate computer connected via a network.
Explanation:
Following are the important differences between MAC Address and IP Address.
Sr. No. Key MAC Address IP Address
1 Definition MAC Address stands for Media Access Control Address. IP Address stands for Internet Protocol Address.
2 Usage MAC Address ensure that physical address of the computer is unique. IP Address is a logical address of the computer and is used to uniquely locate computer connected via a network.
3 Format MAC Address is of six byte hexadecimal address. IP Address is of 4 bytes or of 16 bytes.
4 Access Protocol MAC Address can be retrieved using ARP protocol. IP Address can be retrieved using RARP protocol.
5 Provider Chip maker manufacturer provides the MAC Address. Internet Service Provider, ISP provides the IP Address.