Site icon Ananova Business Web Hosting

IPv4 Addressing

<< Previous Page: DHCP

TCIP/IP IP address organized into four segments consisting of numbers separated by periods. It represents a 32-bit integer whose binary values identify the network and host. It supports 4.2 billion hosts. A host has several interfaces with its IP address. One connects to the LAN and other to the Internet by using two Ethernet cards.

A host address divided into two parts:

  1. identifies the network and
  2. identifies a particular host

Class-based IP addressing

It designates officially predetermined parts of the address for the network and host addresses

IP addresses organized into three classes depending on their size – A, B, and C.

Classless Interdomain Routing (CIDR) addressing

It determines hosts-address-parts dynamically using a netmask, designed for midsized networks with hosts greater than 256 and smaller than 65,534.

The netmask has the network set of bits set to 1s, with the host bits set to 0s. All the numbers in the network part of the host address set to 255, and the host part set to 0. So the netmask for Class C host address is

In Classless Interdomain Routing (CIDR), the netmask determined by the network class. The number specifies the size of the network address and attached to the end of the IP address. An IP address whose network part takes up to the first three bytes, the number of bits used for the network part is 24 (8 x 3). The number of network size is attached to the end of the host address with a slash like CIDR gives an advantage of specifying network size of any size in bits like 14, 22, or even 25, and the host address uses the remaining leftover.

Short Form Left Over Bits Full Form Maximum Number of Hosts
/8 24 / 16,777,215 (A Class)
/16 16 / 65,534 (B Class)
/17 15 / 32767
/18 14 / 16383
/19 13 / 8191
/20 12 / 4095
/21 11 / 2047
/22 10 / 1023
/23 9 / 511
/24 8 / 255 (C Class)
/25 7 / 127
/26 6 / 63
/27 5 / 31
/28 4 / 15
/29 3 / 7
/30 2 / 3


CIDR allows a network administrator to officially take host part of an IP address and break it up into subnetworks with fewer hosts. A network on the Internet has an official IP address which network administrator using CIDR network masking creates smaller networks.

Reserved Addresses

The number 127, 0, or 255 cannot be part of an official IP address.

IPv6 and IPv4 Coexistence Methods

IETF methods fo providing IPv6 and IPv4 cooperation:

The standard networking protocols currently in use are TCP/IP, Xerox NS (XNS), IBM's SNA, NetBIOS, the OSI protocols, and UUCP.

Exit mobile version