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