Open In App
Related Articles

What is Physical Address and Logical Address in Networking?

Like Article
Save Article
Report issue

We can connect two nodes in a network to communicate with each other with the help of addressing. There are four levels of addressing in a network employing the TCP/IP protocol physical address, Logical address, Port address, and Specific address.

Physical Address

The physical address is also known as the MAC (Media Access Control) address or link address. It is the address of a node which is defined by its LAN or WAN. It is used by the data link layer and is the lowest level of addresses. MAC address is the unique address of a device. The size of a physical address is 48 bits (6 bytes). Below is the format of representing a physical address:

XX : XX : XX : YY : YY : YY, where 1 octant = 8 bits.


16 : 1A : BB : 6F : 90 : E5

The first 24 bits of a MAC address XX : XX: XX is decided by OUI (Organizationally Unique Identifier). It represents the identity of the manufacturer. The next 24 bits of a MAC address YY : YY : YY represents the unique identity of the device. It is assigned by the manufacturer. They represent NIC (Network Interface Card).

Below is a diagram representing the working mechanism of a physical address:

Mechanism of Physical Address

Mechanism of Physical Address

In the above diagram, we can see that there are two networks – Network 1 and Network 2. A1 is the sender and there are two receivers – D1 and D2. In case of physical address, receiver D1 receives the data but receiver D2 is unable to receive data. This is because receiver D2 does not belong to the same network as the sender A1 belongs to. Physical address can only be passed in the same network and not in different networks. The purpose of using Physical address is to identify devices in the same network.


  • Physical address can uniquely identify devices and deliver data packets accurately.
  • We can restrict access to any network by allowing only those devices which have the authorized MAC addresses to connect. Thus, it can also be used for network security.


  • MAC addresses can be easily spoofed. Thus, the devices can easily gain unauthorized access to a network.
  • As physical addresses cannot traverse through the routers therefore they can only be used in local networks and not between different networks.

Logical Address

Logical address also referred to as IP (Internet Protocol) address is an universal addressing system. It is used in the Network layer. This address facilitates universal communication that are not dependent on the underlying physical networks. There are two types of IP addresses – IPv4 and IPv6.

The size of IPv4 is 32 bits. For example ,

192 : 180 : 210 where, 1 octant = 8 bits.

The size of IPv6 is 128 bits. For example ,

1C18 : 1B32 : C450 : 62A5 : 34DC : AE24 : 15BC : 6A5D where , 1 octant = 16 bits.

Below is a diagram representing the working mechanism of Logical address:

Mechanism of Logical Address

Mechanism of Logical Address

In the above diagram , we can see that there are two networks – Network 1 and Network 2. A1 is the sender and there are two receivers – D1 and D2. In case of logical address, receiver D1 as well as D2 receives the data. This is because logical address can be passed in different networks. The purpose of using logical address is to send the data across networks.


  • Logical address can be used in different networks because they can traverse through routers.
  • They can handle a number devices and networks. Even if the number of devices and network increases, the logical address is able to handle all them very easily. Thus, they are highly scalable.


  • Internet Protocol is vulnerable to attacks such as hacking, phishing etc. and there can be data loss.
  • It lacks privacy. The data which is moving through the packets can be intercepted, traced and monitored by unauthorized entities.

Frequently Asked Questions

Q.1: What is the size of a physical address?


The size of a physical address is 48 bits.

Q.2: What are the two types of IP addresses?


The two types of IP addresses are – IPv4 and IPv6.

Last Updated : 13 Oct, 2023
Like Article
Save Article
Share your thoughts in the comments
Similar Reads