Class C networks and Class C IP addresses
"Class C" IPv4 addresses are used for small-sized networks. Please note below important points about Class C network IP addresses.
- First three octets of a "Class C" network IP address is used to identify the "Network part" and the remaining one octet is used to identify a host uniquely within that network.
- The default structure of a Class C IP address is Network.Network.Network.Host
- The left-most three bits (also called as high-order bits or most-significant bits) of the left most octet of a "Class C" network is reserved as "110".
I strongly suggest you to visit and learn below lessons before you continue learning more about Class C networks and Class C IP addresses.
- IPv4 Addresses
- What is subnet mask
- What is network address
- Binary Decimal and Hexadecimal numbers and conversions
- Five layered TCP/IP model
- Network Layer (Layer 3)
- IPv4 Protocol, IPv4 header and fields of IPv4 header
- Media Access Control (MAC) addresses
- Limited broadcast address
- Directed broadcast address
- What is Loopback address
Structure of a Class C IP address
The left-most three octets of a Class C network IP address belongs to the network part and the last one octet belongs to the host part. The structure of a Class C IP address is Network.Network.Network.Host. The default subnet mask of a Class C IP address is 255.255.255.0.
Please refer below image.
Address range of Class C IP addresses
Since the three left-most bits (also called as high-order bits or most-significant bits) of the first octet (left-most octet) of a Class C network IPv4 address are reserved as "110", the 32 bits of a "Class C" address can be represented as 110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx.
The minimum possible value for the left-most octet in binaries is 11000000 (decimal equivalent is 192) and the maximum possible value for the left-most octet is 11011111 (decimal equivalent is 223). Therefore for a "Class C" IPv4 address, left-most octet must have a value between 192 and 223 (192.0.0.0 to 223.255.255.255). Also note that the starting Class C IP address is 192.0.0.0 and last Class C IP address is 223.255.255.255.
Following image shows the range (minimum and maximum possible values) of left-most octet of a Class C network IP address. Note that three most-significant bits in left-most octet of a Class C network IP address are reserved as "110". Most-significant bits in the left-most octet are marked inside an orange rectangle in below image.
You can easily identify a Class C IP address by looking at its left-most octet. If the left most octet is between (and including) 192 and 223, it is a Class C IP address.
Since the default structure of a Class C IP address is Network.Network.Networkt.Host, the default subnet mask of a Class C IP address is 255.255.255.0.
Reservation of IP addresses in Class C networks
An important IP address reservation in Class C IPv4 addresses is private networks, from 192.168.0.0 to 192.168.255.255. Networks belongs to "Class C" from 192.168.0.0 to 192.168.255.255 are reserved for private use and can be used inside any organization. Computers which are not connected directly to the Internet do not need globally-unique IPv4 addresses. They need an IPv4 addresses unique to that network only. Private IP addresses are used for that purpose.