×

Address Mapping

Address Mapping: Internet is made of a combination of physical networks connected together by internetworking devices such as routers. A logical address is an internetwork address. A physical address is a local address. It is usually implemented in hardware (but not always), so it is called a physical address. The physical address and the logical address are two different identifiers. This address information can be achieved through static and dynamic mapping.

Static mapping: In static mapping, it creates a table that contains a logical address with a physical address.

Dynamic mapping: When a machine knows one of two addresses (logical or physical) through dynamic mapping, it may use this protocol to find the other one address. There are designed two protocols for done dynamic mapping.

  • Address Resolution Protocol (ARP)
  • Reverse Address Resolution Protocol (RARP)

Address Resolution Protocol (ARP)

It is a dynamic mapping protocol that is used to find out the physical address associated with the logical address and then sent it to the data link layer. The working of ARP is shown below in the figure.

Address Mapping
  • Firstly, the client broadcasts the ARP request packet to all the hosts in the network.
  • In this ARP request packet, stores the logical address and physical address of the client and the IP address of the receiver.
  • Each host receives this ARP request packet, but only the one who is the authorized host completes the ARP service.
  • Finally, the authorized host sends the ARP response packet to the client in which its physical address is stored.

Note: ARP request is broadcast, and ARP response is unicast.

ARP Packet Format

Address Mapping

Reverse Address Resolution Protocol (RARP)

It is a dynamic mapping protocol that is the opposite of ARP. It is used to find out the logical address of the machine associated with the physical address. The working of RARP is shown below in the figure.

Address Mapping
  • Firstly, the client broadcasts the RARP request packet to all the hosts in the network.
  • The physical address of the client is stored in this RARP request packet.
  • Each host receives this RARP request packet, but only the one who is the authorized host completes the RARP service. This authorized host is called the RARP server.
  • RARP server sends the RARP response packet to the client in which its logical address is stored.

RARP is not used nowadays, it was replaced by BOOTP (Bootstrap protocol), and now BOOTP has been replaced by DHCP (dynamic host configuration protocol).

BOOTP

BOOTP stands for Bootstrap Protocol. It is a computer networking protocol that is used to assign IP addresses to network devices in a network. In other words, it is an internet protocol that is used by the client to obtain the IP address from the server. It was defined in RFC 951 and 1084. It was designed to replace RARP (resource address resolution protocol).

Address Mapping

Working of BOOTP

When the Bootstrap protocol started by the client, it does not have an IP address. Therefore, it broadcasts a message in the network, and Its MAC address is inside this message. This message is called "BOOTP request," and takes this request by the BOOTP server. The server then provides the following information in reply to the client.

  • It provides the IP address, subnet mask, and gateway address of the client.
  • It also provides the IP address and hostname of the server.

When the client receives the BOOTP server information, it configures and initializes the TCP/IP protocol stack and then connects to the server that has the boot image. The client loads this boot image and starts the operating system.

DHCP

DHCP stands for Dynamic Host Configuration Protocol. It is designed to provide the static and dynamic address allocation that can be done manual or automatic. It was designed to replace the BOOTP (Bootstrap Protocol).

ICMP

ICMP stands for Internet Control Message Protocol. It is designed to overcome the following two problems in the IP protocol.

  • No error reporting and correcting mechanism
  • Lacks a mechanism for queries

ICMP messages are not sent directly to the intended data-link layer. Instead, messages are first explained within the IP datagram before moving to the lower layer.

Type of Message

The messages of ICMP are divided into two categories: error-reporting messages and query messages.

Error-Reporting Messages: Error-reporting messages report problems that can occur while transmitting an IP packet with a router or host (destination).

Type of Error-Reporting Messages

Address Mapping

Query Messages: It helps to important or specific information from a route or network manager.

General Message Format  

Address Mapping

IGMP

IGMP stands for Internet Group Management Protocol. This protocol is used for multicast, which is connected to the one-to-many communication channel. The best example of this protocol is online gaming and video streaming. Types of IGMP message is shown below.

Address Mapping

 

IGMP Message Format

Address Mapping

Related Topics

Disadvantages of Computer Network

What is Computer Network? A computer network is a collection of interconnected devices that can communicate and exchange data with each other. Networks allow devices to share resources such as printers...

3 minutes read.

Fiber Optics and its Types

Fiber Optics is a type of technology that is used to transfer data through the cable with the speed of light. The metal wire is preferred for the transmission of...

3 minutes read.

Data Link Layer Protocols

 Data Link Layer Protocols Bluetooth Low EnergyZ-WaveZigBee Smart EnergyLoRaWANWirelessHARTLTE-A  1. Bluetooth Low Energy Bluetooth Low Energy or Bluetooth is a short-range communication protocol with the physical layer and medium access control layer. It is widely used in IoT...

3 minutes read.

4G Mobile Communication Technology

What is 4G? 4G is a fourth-generation wireless or mobile communication system, succeeding 3G (third generation) wireless communication and preceding 5G (fifth generation) communication. It is based on the capabilities defined by...

4 minutes read.

Differences between IPv4 and IPv6

Introduction In this tutorial, we will discuss the basic differences between IPv4 and IPv6 protocols. Definition of Internet Protocols Vint Cerf and Bob Kahn's initial Transmission Control Program had a connectionless datagram service...

4 minutes read.

Computer Network Switching

Switching Many numbers of connected devices are called the network. Whenever a company has multiple devices, there has a problem of how to connected them to make the one to one...

5 minutes read.

Star Topology in Computer Networks

Star topology comes from or is a part of the network topology which was invented by Dr.Howard Frank. It is also to be known as star network because of its...

4 minutes read.

Mesh Topology Diagram in Computer Network

Topology in simple terms can be defined asthe arrangement of a computer network, which is further divided into logical and physical arrangements. Logical arrangement refers to how the data flow...

4 minutes read.

TCP Ports

What is TCP? TCP is a transport layer protocol that helps to establish connections. TCP means Transmission Control Protocol. It guarantees secure data transmission between two network-connected devices. The data can...

5 minutes read.

IPv4 vs IPv6

What is an IP? The process or protocol used to transmit data from one computer to another over the internet is known as Internet Protocol (IP). Every computer connected to the...

5 minutes read.

Transmission Control Protocol

Transmission Control Protocol: TCP stands for Transmission Control Protocol. It was introduced in 1974. It is a connection-oriented and reliable protocol. It establishes a connection between the source and destination...

3 minutes read.

What is Computer Network?

 A computer network is a collection of interconnected devices, such as computers, servers, routers, and switches, that are connected together to share resources and exchange data. These devices use a...

6 minutes read.

Process-to-Process Delivery

Process-to-Process Delivery: A transport-layer protocol's first task is to perform process-to-process delivery. A process is an entity of the application layer which uses the services of the transport layer. Two...

2 minutes read.

Domain Name System in Computer Network

Domain Name System Domain Name System is also called DNS. DNS was introduced by Paul Mockapetris and Jon Postel in 1983. DNS is an internet service that converts Domain names to...

2 minutes read.

Network Layer: Logical Address

Network Layer - Logical Address The IP address is a 32 bit long, and it provides us a maximum of 232 addresses. These addresses are known as IPv4 addresses. The IP address...

5 minutes read.

Data link layer in OSI model

This article will help you in getting a good understanding of the topic called the Data link layer in the OSI model. It is the second bottom most layer in the...

3 minutes read.

User Datagram Protocol

User Datagram Protocol: UDP stands for the User Datagram Protocol. UDP was developed by David P Reed in 1980. It is a connection-less and unreliable protocol. In this protocol, when...

2 minutes read.

TCP/IP model in Computer Network

An essential foundation for computer networking is the TCP/IP model. It stands for Transmission Control Protocol and Internet Protocol which are the two major Internet protocols. This model outlines the...

6 minutes read.

Uses of Computer Networks

During the twentieth century, the most significant technology is information collecting, processing, and distribution. Computers and communications have been integrated, which has considerably influenced the organization of computer systems. The previous...

6 minutes read.

Session Layer in OSI Model

This article will help you in getting a better understanding of the Session layer in the OSI model. The session layer is the fifth layer from the bottom in the OSI...

4 minutes read.