Classful Addressing Flashcards
IPv4 address is how many bits long?
32 bits
IPv4 address is how many octets long?
4 octets
IPv4 address is how many bytes long?
4 bytes (1 byte = 8 bits)
How long is the network portion for a Class A address?
1 octet (1 byte or 8 bits)
How long is the network portion for a Class B address?
2 octets (2 bytes or 16 bits)
How long is the network portion for a Class C address?
3 octets (3 bytes or 24 bits)
What is the leading bit(s) for a Class A address?
Leftmost bit is 0
What is the leading bit(s) for a Class B address?
Leftmost 2 bits are 10
What is the leading bit(s) for a Class C address?
Leftmost 3 bits are 110
How many Class A network addresses are there?
128
Calculation: 2**7 = 128
(Note: First bit unusable; Assuming that all-zero network is allowed)
How many Class A hosts addresses are there per network?
16,777,214
Calculation: (2**24) - 2 = 16,777,216 - 2 = 16,777,214
How many Class B network addresses are there?
16,384
Calculation: 2**14 =16,384
(Note: First two bits unusable; Assuming that all-zero network is allowed)
How many Class B hosts addresses are there per network?
65,534
Calculation: (2**16) - 2 = 65,536 - 2 = 65,534
How many Class C network addresses are there?
2,097,152
Calculation: 2**21 =2,097,152
(Note: First three bits unusable; Assuming that all-zero network is allowed)
How many Class C hosts addresses are there per network?
254
Calculation: (2**8) - 2 = 256 - 2 = 254
How many usable network bits in Class A?
7 bits (Note: 8 - 1 reserved bit = 7)
How many usable network bits in Class B?
14 bits (Note: 16 - 2 reserved bits = 14)
How many usable network bits in Class C?
21 bits (Note: 24 - 3 reserved bits = 21)
What is the network address range for Class A?
1.0.0.0 - 126.0.0.0
Note: 0.0.0.0 and 127.0.0.0 are reserved
What is the network address range for Class B?
128.0.0.0 - 191.255.0.0
What is the network address range for Class C?
192.0.0.0 - 223.255.255.0
What is the private address range for Class A?
10.0.0.0 - 10.255.255.255
Note: 10.255.255.255 is a broadcast address
What is the private address range for Class B?
172.16.0.0 - 172.31.255.255
Note: 172.31.255.255 is a broadcast address
What is the private address range for Class C?
192.168.0.0 - 192.168.255.255
Note: 192.168.255.255 is a broadcast address