Monday, March 9, 2026
\[ \def\eightblanks{{\_\space\_\space\_\space\_\space\_\space\_\space\_\space\_}} \def\fourtimeseightblanks{\eightblanks\cdot\eightblanks\cdot\eightblanks\cdot\eightblanks} \]
Private Networks
Class A: 10.0.0.0/8
Class B: 172.16.0.0/12
Class C: 192.168.0.0/16
Used with NAT to reach the Internet
Special-Purpose Addresses
127.0.0.0/8169.254.0.0/16224.0.0.0/4240.0.0.0/4DORADISCOVER: Who is in charge here of assigning IP addresses?OFFER: I am the DHCP server. Would you like x.x.x.x?REQUEST: Yes, I will take x.x.x.xACK: Great, I will write that down. You have the lease for 86400 seconds.\[200.23.20.0/24 \rightarrow 24 \text{ network bits} + 8 \text{ host bits} = \underset{\text{NETWORK ADDRESS}}{\underline{11001000 \cdot 00010111 \cdot 00010100}} \cdot \underset{\text{HOST}}{\underline{00000000}}\]
Network Address
Host Portion / Part / Number / Identifier
\[\text{Network ID} = \underset{\text{NETWORK ADDRESS}}{\underline{10.22.128.0}} / \underset{\text{CIDR}}{\underline{22}} \rightarrow 22 \text{ network bits} + 10 \text{ host bits}\]
1s followed by a bunch of 0s; matches CIDR notation\[\text{Network ID} = \underset{\text{NETWORK ADDRESS}}{\underline{00001010 \cdot 00010110 \cdot 100000}} \space \underset{\text{HOST}}{\underline{00 \cdot 00000000}}\] \[\text{Subnet Mask} = \underset{\text{22 NETWORK BITS}}{\underline{11111111 \cdot 11111111 \cdot 111111}} \space \underset{\text{10 HOST BITS}}{\underline{00 \cdot 00000000}}\]
\[= 255.255.252.0\]
\[\text{Total Possible Addresses} = 2^{\text{Number of Host Bits}}\]
First Address: Network ID
0Last Address: Broadcast
1\[\text{Usable Host Addresses} = \text{Total Possible Addresses} - 2\]
🛑 Network Address is assigned by the larger network (e.g. ISP); cannot modify it!
\[\text{Network ID} = \underset{\text{NETWORK ADDRESS}}{\underline{10.22.128.0}} / \underset{\text{CIDR}}{\underline{22}} \rightarrow 10 \text{ host bits}\]
\[\underset{\text{NETWORK ADDRESS}}{\underline{00001010 \cdot 00010110 \cdot 100000}} \space \underset{\text{HOST}}{\underline{00 \cdot 00000000}}\]
💡 Can borrow bits from the host portion to create smaller networks (subnets).
\[\underset{\text{NETWORK ADDRESS}}{\underline{00001010 \cdot 00010110 \cdot 100000}} \space \underset{\text{SUBNET}}{\underline{00 \cdot 0}} \space \underset{\text{HOST}}{\underline{0000000}}\]
200.23.20.0/24 = \(\underline{11001000 . 00010111 . 00010100} . 00000000\)# Host Bits:
# Total:
# Usable:
Broadcast Address:
First Host Address:
Last Host Address:
200.23.20.0/23 = \(\underline{11001000 . 00010111 . 0001010}0 . 00000000\)# Host Bits:
# Total:
# Usable:
Broadcast Address:
First Host Address:
Last Host Address:
200.23.20.0/25 = \(\underline{11001000 . 00010111 . 00010100 . 0}0000000\)# Host Bits:
# Total:
# Usable:
Broadcast Address:
First Host Address:
Last Host Address:
Assigned network address space: 192.168.0.0/23
Assign an appropriate address to each subnet.
Assigned network address space: 172.18.0.0/23
Assign an appropriate address to each subnet.
