Computer Networks
[Day 2] 3. Routers and Subnets
D
DITISS Admin- Routers: Connect different networks and prevent broadcast overload by limiting the number of devices per network.
- Routers are very costly and come with limited ports.
- IP Addressing: Consists of a 32-bit address () and a subnet mask that distinguishes between the network and host portions of the address.
w.x.y.z - Classes of IP Addresses (Note: Classful addressing is largely obsolete, replaced by CIDR):
- Class A: Large organizations (,
1-126).255.0.0.0 - Class B: Medium-sized organizations (,
128-191).255.255.0.0 - Class C: Small networks (,
192-223).255.255.255.0 - Class D: Reserved for multicasting.
- Class E: Experimental use.
- Class A: Large organizations (
Subnetting
- Subnet Masks: Divide IP addresses into networks and hosts, with a strict division line between the two (e.g., for Class C).
255.255.255.0 - Subnet Calculation: Number of possible subnets and hosts can be calculated using formulas like (e.g.,
2ⁿ - 2usable host addresses, subtracting network and broadcast addresses).2⁸ - 2 = 254 - CIDR Notation: Subnets can be represented with a followed by the number of bits for the network part (e.g.,
/for/24). This number represents the count of 1s in the subnet mask when written in binary.255.255.255.0
Read Next
8/26/2026
[Day 2] Extra
## Key Networking Terms * **Broadcast Address**: Used to send a message to all devices within a network. * **Localhost**: The loopback address range...
8/26/2026
[Day 3] 1. IP Addresses and Switching
What is an **IP Address**? It is an unique identifier for devices on a network. IP addresses are used to: - Send data to the correct location on a...