Lec 13
Lec 13
Classful addressing is an old method of dividing the 32-bit IP address space into fixed-size
blocks or classes, used for assigning IP addresses in a network. IP addresses are divided into five
classes: A, B, C, D, and E, though classes D and E are reserved for specific uses (multicasting
and experimental purposes, respectively).
Each class has a default subnet mask and a defined range for the first octet of the IP address.
An IP address is a 32-bit number divided into four octets (or bytes). Each octet consists of 8 bits.
The general format of an IP address is:
sql
Copy code
X.X.X.X (where each 'X' is a number between 0 and 255)
Class A, B, C Addresses
1. Class A
Network ID: 10
Host ID: 0.0.1
Can support up to 16,777,214 hosts in the 10.x.x.x network.
2. Class B
3. Class C
Example:
Suppose you are given the IP address 192.168.10.15 with the default subnet mask.