Subnetting and IPs IP addresses are an extremely important part of sending and receiving data across the Internet or across multiple networks. The IP address is the address assigned to each device and computer.

Authors Avatar

Subnetting and IPs

IP addresses are an extremely important part of sending and receiving data across the Internet or across multiple networks.  The IP address is the address assigned to each device and computer.  This public address is unique to that device and makes it possible to interact with and address that particular device.  

32 bit IP addresses consist of two parts

  1. the network ID identifies the network on which the host computer is found
  2. the host ID specifies the specific device on the network

IP’s are displayed in Dotted Decimal Notation (DDN).  This means that each group of 8 digits in a binary IP address (which is known as an octet) is separated by a decimal in its dotted decimal equivalent.  

IPv4

When IP was first created it was never envisioned that it would grow the way it did and so assigning a set number of digits for the network address and the rest of host addresses was perfectly reasonable for all networks.  But soon, as IP grew in popularity, it was realised that many networks were being assigned too many hosts for their needs.  This is how IP classes came about; they allow much more customisation in the number of hosts and networks available.

There are five main classes: A, B and C being the most common and D and E being reserved for special purposes.  

Class A addresses are designed for the biggest networks.  Only 8 bits at the start (and one of these is reserved to show that it’s a class A address) only 126 Class A networks can exist across the entire Internet.  However, each of these networks can have 16 million hosts.  Because of the rarity of these addresses, only 40 companies across the world actually have these addresses and they are all extremely big companies (examples include General Electric Company, IBM, and Apple as well as a few social security companies) and the rest are reserved used by the companies that manage IPs in various geographical regions.  

Class B addresses are almost split down the middle – theoretically half of the digits are for the network ID and the other 8 are for hosts.  However, the first two bits are reserved to show that it’s a Class B address.  Even this allows for more networks and fewer hosts, it is still too much for many organisations and so many addresses are wasted if Class B addresses aren’t managed carefully.

Join now!

Class C addresses uses the first three octets for network address and the final octet for the host ID.  This Class provides the greatest number of Network addresses and fewer hosts.  The massive jump between Class A, B and C is what lead to the developing of Subnetting which eliminates the need for classes and allows far more probabilities for network and host ranges.

Class D addresses are reserved for multicasting.  This means that any data sent to these addresses will be forwarded to all interested receivers.  The diagram to the right shows this.  The red circle indicates multicast address and the ...

This is a preview of the whole essay