IP4
An IPv4 address consists of four parts. Each part can store 8 bits, i.e., values from 0 to 255. Every IP has two parts: the Network part and the Host part. These parts are determined using CIDR.
The CIDR can range from 0 to 32, because IPv4 addresses are 32 bits long. If we go beyond 32, it is not valid.
Subnet
A subnet is a logical subdivision of a larger IP network, created by dividing the host portion of an IP address into smaller parts using a subnet mask, in order to improve network organization, security, and efficient use of IP addresses.
Top comments (0)