Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

IP Addressing Exercise

ECE 151 WFR 2S-AY1718

2014-06313 — Angelina A. Aquino


March 23, 2018

An IPv4 address is composed of 32 bits. IP allo-


cation size is given by /N , where N is the number of
fixed bits in the IP address, and 32 − N is the num-
ber of bits that vary over all addresses in the allocated
block. The number of unique addresses in the block is
therefore equal to 232−N .
For a /22 IPv4 allocation, the number of available
addresses is:
232−22 = 1024
Dividing half of the block allocation across 10 cam-
puses gives
1024
2
= 51 (remainder 2)
10
addresses per campus for even distribution, with the
extra 2 addresses arbitrarily assigned.

You might also like