In: Computer Science
Provide the following parameter values for each of the IPv4
network classes, A, B, and C, respectively. Ignore any reserved
addresses.
a. Class id
b. Number of bits in network portion of address, including the
class id
c. Number of bits in host portion of address
d. Number of distinct networks allowed
e. Number of distinct hosts allowed per network
Step 1
(a)Class A Network (/ 8 Prefixes)
(B)This network is 8-bit network prefix. Its highest bit is set to 0, and contains a 7-bit network number and a (c)24-bit host number.
(d)A maximum of 126, which is (2 7 -2,) networks can be defined; two is subtracted because all an (0 and 1) subnet cannot be used in certain routers using RIP-1 Protocol.(e) Each network supports a maximum of 16,777,214 (2 24 -2) hosts per network. You must subtract two because the base network represents host “0”, and the last host on the network is actually used for 1s (“broadcast”) and may not be assigned to any host.
Step 2
(A)Class B Networks (/16 Prefixes)
(B)This network is a 16-bit network prefix; its highest bit order is set to 1-0. It is a 14-bit network number with a (c) 16-bit host number.
(D)This class defines 16,384 (2 14 ) /16 networks, and supports a maximum of (e) 65,534 (2 16 -2) hosts per network
Step 3
(a)Class C Networks (/24 Prefixes)
(b)This is a 24-bit network prefix; it has a 3 bit set to the highest order 1-1-0. It is a 21-bit network number with (c)8-bit host number.
(D)This class defines a maximum of 2,097,152 (2 21 ) /24 networks. And each network supports up to (e) 254 (2 8 -2) hosts