Got it

Differences between IP addresses and MAC addresses

Latest reply: Nov 22, 2021 12:07:49 452 4 4 0 0

Hello, everyone!


Do you know the difference between an IP address and a MAC address?

Today, I would like to share this knowledge with you.


An IP address is an abbreviation for Internet Protocol Address. An IP address is a unified address format provided by the IP protocol. It allocates a logical address to each network and each host on the Internet to shield the differences between physical addresses. 


A MAC address is also called a physical address or a hardware address and is used to define the location of a network device. The physical address of the network adapter is usually burnt into the network adapter by the network adapter manufacturer and is globally unique. A MAC address uniquely identifies a network adapter on a network. A computer has one or more network adapters, and each network adapter has a unique MAC address. 


The differences between IP addresses and MAC addresses are as follows: 

1) For a device on the network, such as a computer or a router, the IP address is designed based on the network topology. For the same device or computer, the IP address can be easily changed but must be unique. The MAC address is programmed by the manufacturer and cannot be changed. We can assign any IP address to a host as required. For example, we can assign 192.168.0.112 to a computer on the LAN or change the IP address to 192.168.0.200. Once a network device (such as a network adapter or a router) is produced, its MAC address cannot be modified by the configuration of the local connection. If a computer's network adapter fails, the MAC address of the computer changes after the network adapter is replaced. 


2) The lengths are different. The IP address contains 32 bits, and the MAC address contains 48 bits. 


3) The allocation basis is different. IP addresses are allocated based on the network topology, and MAC addresses are allocated based on manufacturers. 


4) The addressing protocol layers are different. IP addresses are used at the network layer, which is the third layer of the OSI model, and MAC addresses are used at the data link layer, which is the second layer of the OSI model.  The data link layer protocol enables data to be transmitted from one node to another node on the same link through the MAC address. The network layer protocol enables data to be transmitted from one network to another network. The ARP finds the MAC address of the intermediate node according to the destination IP address and then transmits the data through the intermediate node to the destination network. 


As shown in the following figure, MAC addresses work at the link-layer or below, and IP addresses work at the network layer or above. 

34

Now, do you get what is the Differences between IP addresses and MAC addresses?

Welcome to leave a message, thank you!




Thanks for this basic knowledge, useful for beginnersDifferences between IP addresses and MAC addresses-3238314-1
View more
  • x
  • convention:

thanks
View more
  • x
  • convention:

Sara_Obaid
Moderator Created Aug 25, 2021 14:02:05

Good post on the differences between an IP address and a MAC address! Thank you for sharing.
View more
  • x
  • convention:

Good share thanks
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.