Basic Internetworking Concepts
IP Address
An IP address (Internet Protocol address) is a unique numerical identifier assigned to each device connected
to a computer network that uses the Internet Protocol for communication. It allows devices to send and
receive data across networks by identifying both the sender and the receiver. There are two versions: IPv4,
which is 32 bits long and written in dotted decimal format (e.g., [Link]), and IPv6, which is 128 bits long
and written in hexadecimal (e.g., 2001:0db8::1). An IP address consists of two parts: the network portion,
which identifies the specific network, and the host portion, which identifies the specific device within that
network. IP addresses can be static (manually assigned and fixed) or dynamic (automatically assigned,
usually by DHCP).
CIDR (Classless Inter-Domain Routing)
CIDR is a method for allocating IP addresses and routing Internet Protocol packets more efficiently than the
old class-based system. Introduced to combat the exhaustion of IPv4 addresses, CIDR replaces fixed IP
classes (A, B, C) with a flexible format like [Link]/24, where the /24 indicates how many bits are used
for the network. This allows organizations to create networks of various sizes, improving IP address utilization
and simplifying routing.
ARP (Address Resolution Protocol)
ARP is a protocol used to map an IP address to a device's physical MAC (Media Access Control) address on
a local network. When a device wants to communicate with another device and only knows its IP address, it
sends an ARP request asking, "Who has this IP?" The target device replies with its MAC address, allowing
the sender to encapsulate the data in a frame and deliver it correctly over the local network.
RARP (Reverse Address Resolution Protocol)
RARP performs the opposite function of ARP-it allows a device to discover its own IP address using its
Basic Internetworking Concepts
known MAC address. This protocol was used primarily by diskless workstations that did not have their IP
addresses stored locally. They would send a RARP request to a RARP server, which would respond with the
appropriate IP address. Though RARP is now mostly obsolete, it was a crucial part of early network booting
systems.
DHCP (Dynamic Host Configuration Protocol)
DHCP is a network management protocol used to dynamically assign IP addresses and other network
configuration parameters (like subnet mask, gateway, DNS) to devices on a network. When a device
connects, it sends a DHCP Discover message. The DHCP server responds with an available IP address
lease. This automatic configuration simplifies network administration and reduces errors compared to manual
IP assignment.
ICMP (Internet Control Message Protocol)
ICMP is used for sending diagnostic and error messages in a network. It does not carry data but instead
reports issues like unreachable destinations or failed packet delivery. Common tools like ping and traceroute
use ICMP to check network connectivity and trace the path packets take to reach a destination. ICMP helps
maintain network health and troubleshoot communication problems.