Logical subdivision of a larger network.
Each subnet contains a range of IP Addresses that can communicate directly with each other, while traffic between different subnets need to go through a Router.
IP Addresses for Subnets
Subnets can be identified as where is a subnet mask that determines that the leftmost bits of the IP Address define the subnet and the remaining define the Hosts. Thus all Hosts on a subnet must share the leftmost bits of their IP addresses.
Examples
Requirement of IP addresses of hosts on a subnet
On a subnet identified by any devices attached to this subnet are required to have an address of the form , where could be any value.
Subnet Illustration
Here we find the subnets: