IPv4 address classes: Class A, B, C, D and E
Sign in to read this lesson
When the Internet was created, IPv4 addresses were divided into classes of different sizes. The class is set by the first bits of the first octet. Class A starts with 0 (1–126), Class B with 10 (128–191), Class C with 110 (192–223). Class D (224–239) is for multicast and Class E (240–255) for experimental use. 0 and 127 are reserved (127 is for loopback). In Class A one octet is the network part, in Class B two octets, in Class C three octets; the remaining octets are for hosts.
What you will learn
- The class is set by the first bits of the first octet: Class A
0xxxxxxx, Class B10xxxxxx, Class C110xxxxx, Class D1110xxxx, Class E1111xxxx. - Class A: 1–126. 0 is reserved and 127 is for loopback testing. Network part 1 octet, host part 3 octets. Default mask 255.0.0.0.
- Class B: 128–191. Network part 2 octets, host part 2 octets. Default mask 255.255.0.0.
- Class C: 192–223. Network part 3 octets, host part 1 octet. Default mask 255.255.255.0.
- Class D: 224–239 is for multicast. Class E: 240–255 is reserved for experimental (research) use. D and E are not used in subnetting calculations.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.