IP Addressing – Networking

IP Addressing – Networking – A Unique number called the internet protocol (IP) address identifies every machine that is on a network. The IP address is a unique 32-bit logical address expressed as four decimal numbers, each representing eight bits, separated by periods, for example

An Internet Protocol address (IP addressing) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. An IP address serves two principal functions: host or network interface identification and location addressing.

In this lesson, you learnt that: IP Addressing – Networking

  • An IP Address is an unique address assigned to a device over network IP Addressing – Networking
  • An IP Address is divided into various classes, Class A,B,C,D and E
  • In Classless addressing the network address is of variable size
  • Subnetting creates multiple logical networks within a single network
  • Subnet mask is a 32bit IP address used to derive network address
  • VLSM is used to allocate IP Address to the subnets as per the needs
  • Routing devices on internet discard any packet with private IP address
  • Loop back address is used as a test mechanism to test network devices
  • IPv6 implement a 128-bit IP address
  • Mobile IP allows devices to move between networks

Understanding IP Addresses

An IP address is an address used in order to uniquely identify a device on an IP network. The address is made up of 32 binary bits, which can be divisible into a network portion and host portion with the help of a subnet mask. The 32 binary bits are broken into four octets (1 octet = 8 bits). Each octet is converted to decimal and separated by a period (dot). For this reason, an IP address is said to be expressed in dotted decimal format (for example, The value in each octet ranges from 0 to 255 decimal, or 00000000 – 11111111 binary.

Here is how binary octets convert to decimal: The right most bit, or least significant bit, of an octet holds a value of 20. The bit just to the left of that holds a value of 21. This continues until the left-most bit, or most significant bit, which holds a value of 27. So if all binary bits are a one, the decimal equivalent would be 255 as shown here:

1  1  1  1 1 1 1 1
128 64 32 16 8 4 2 1 (128+64+32+16+8+4+2+1=255)

Here is a sample octet conversion when not all of the bits are set to 1.

0  1 0 0 0 0 0 1
0 64 0 0 0 0 0 1 (0+64+0+0+0+0+0+1=65)

And this is sample shows an IP address represented in both binary and decimal.

10.       1.      23.      19 (decimal)
00001010.00000001.00010111.00010011 (binary)

These octets are broken down to provide an addressing scheme that can accommodate large and small networks. There are five different classes of networks, A to E. This document focuses on addressing classes A to C, since classes D and E are reserved and discussion of them is beyond the scope of this document.

Note: Also note that the terms “Class A, Class B” and so on are used in this document to help facilitate the understanding of IP addressing and subnetting.
Related Articles

IP Address classification

Local area network basics

Introduction to computer networking

Free E-Book Download Basics of IP Address subnetting

Thanks for your wonderful Support and Encouragement

Ankam Ravi Kumar

Working as Linux / Storage Administrator L3. Interested in sharing the knowledge.

Leave a Reply

Your email address will not be published. Required fields are marked *