š Network Devices Explained
The Foundation Every Cloud & DevOps Engineer Needs
Series: Networking Fundamentals for Cloud & DevOps ā Part 1 of 6
Before VPCs, subnets, route tables, and security groups make sense, you need to understand what's happening beneath them. This series builds that foundation ā starting with the devices that make networks work.
Why Networking Before Cloud?
I hit a wall during my AWS VPC sessions. Route tables, subnets, gateways, NACLs ā the concepts existed in isolation. I could follow steps in the console, but I couldn't reason about why traffic was or wasn't flowing.
The fix wasn't more AWS documentation. It was going back to networking fundamentals. Once I understood what a router actually does ā how it makes forwarding decisions, what a routing table really is ā the AWS route table stopped being a mysterious config screen and became something I could think through.
That's what this series is. Six posts covering the networking concepts that directly underpin Cloud and DevOps work. No exam prep framing, no CCNA depth. Just what you actually need.
1. What is a Host?
A host is any device that participates in network communication by sending or receiving traffic.
That's broader than most people assume. Examples: your laptop, your phone, an EC2 instance, a web server, a virtual machine. The word "host" doesn't imply a server ā your laptop is a host just as much as a data center machine is.
2. Client vs Server ā Roles, Not Hardware
A client is a host that initiates a request. A server is a host that responds. The critical point: a server is not a special type of computer. It's just a computer running software that listens and responds.
Your Browser (Client)
ā
ā HTTP Request
ā¼
Web Server (Server)
ā
ā HTTP Response
ā¼
Your Browser (Client)
The same machine can be a client in one communication and a server in another. Your EC2 running a web app is a server to users hitting it ā and a client when it queries RDS.
3. IP Address ā The Network Identity
An IP address identifies a host at the network layer and allows packets to be routed toward it. Think of it as a postal address for a device.
IPv4 format: 32 bits, written as 4 octets (each 0ā255).
136 . 22 . 17 . 98
āāāāā āāā āāā āāā
8 bits 8 bits 8 bits 8 bits
Each octet can hold 0ā255 (256 values). When your computer sends a request:
Packet contains:
SRC: 72.45.128.15 ā your IP
DST: 136.22.17.98 ā server's IP
The network uses the destination IP to determine where the packet goes. One thing to keep in mind for later: IP alone isn't the whole story. On a local network, MAC addresses are also involved ā we'll get to that with switches and ARP.
4. Network ā Hosts That Can Talk to Each Other
A network is a logical grouping of hosts that can communicate with each other. Networks can be connected to other networks ā that's how the internet works.
Internet
āāā Company Network
āāā New York Office
ā āāā Sales
ā āāā Engineering
ā āāā Marketing
āāā London Office
āāā Sales
āāā Engineering
āāā Home Network
āāā Home Wi-Fi
āāā School Network
A subnet is a smaller network created within a larger network. This becomes critical in Cloud and DevOps ā AWS VPCs are divided into subnets, and understanding why requires understanding networks first.
5. Network Devices
These are the devices that move data through networks. Each has a specific job. Understanding the distinction is foundational ā it maps directly to how AWS infrastructure works.
Repeater ā Signal Regeneration
Signals degrade over distance. A repeater receives a weakened signal, regenerates it, and sends it onward at full strength.
Host A āāāāāāāāāāāāāā> Repeater āāāāāāāāāāāāāā> Host B
weak signal ā refreshed
regenerates signal
signal
What it does not do: A repeater has no understanding of what the data is or where it belongs. No routing decisions, no intelligence ā purely signal regeneration.
Hub ā Multi-Port Repeater (The Noisy One)
A hub is essentially a multi-port repeater. It receives a signal on one port and repeats it out to all other ports simultaneously.
PC1
ā
ā
PC2 āāāāāāāāāā HUB āāāāāāāāāā PC3
ā
PC4
PC1 sends to PC3:
PC1 ā HUB ā PC2 ā also receives it ā
ā PC3 ā intended recipient ā
ā PC4 ā also receives it ā
The problem: everyone receives everyone else's traffic.
Analogy: A person with a loudspeaker in a room. Everyone hears the message, even if it was meant for one person.
Hubs are essentially obsolete. Modern networks use switches. But understanding the hub's weakness is what makes the switch's intelligence meaningful.
Bridge ā Learning to Be Selective
A bridge connects two network segments and is smarter than a hub ā it can learn which MAC addresses exist on each side and only forward traffic that needs to cross.
Network A Network B
āāāāāāāāā āāāāāāāāā
PC1 PC3
PC2 āāāāāāāā Bridge āāāāāāāā PC4
If PC1 sends to PC2 ā Bridge BLOCKS it (same side)
If PC1 sends to PC3 ā Bridge FORWARDS it (needs to cross)
Hub ā blindly repeats traffic to everyone
Bridge ā learns and selectively forwards
The bridge works using MAC addresses ā the hardware address of each network device. Concept becomes important when we reach switches and ARP.
Switch ā The Modern Network Workhorse
A switch is essentially a multi-port bridge. Its primary job is to facilitate communication within a network.
Switch
/ | \
PC1 PC2 PC3
10.30.55.11
10.30.55.22
10.30.55.33
PC1 wants to reach PC3:
Switch checks its MAC address table
ā Sends frame directly to PC3 only ā
ā PC2 receives nothing ā
All three PCs are on the same network. The switch uses its MAC address table to forward frames directly to the right destination ā not to everyone. This is the fundamental advantage over a hub.
Modern Ethernet networks overwhelmingly use switches, not hubs.
Router ā Moving Data Between Networks
This is the big one. A router connects different networks and forwards packets between them.
Network A Network B
172.16.20.0/24 172.16.30.0/24
PC āā Switch āā Router āā Switch āā PC
ā
Internet
Router interfaces:
āāā 172.16.20.1 (faces Network A)
āāā 172.16.30.254 (faces Network B)
The router has an IP address in each connected network. A host on Network A that wants to reach Network B sends traffic to the router's interface on Network A. The router forwards it onward.
This is directly how an AWS Internet Gateway works ā it's the router between your VPC and the internet.
Gateway ā The Exit Door of a Network
A default gateway is the router a host uses to leave its local network.
Local network = your neighborhood
Gateway = the road leading out
Your PC
IP: 172.16.20.33
Gateway: 172.16.20.1
ā
ā¼
Router (172.16.20.1)
ā
ā¼
Other Network
Same network? ā communicate directly, no gateway needed.
Outside your network? ā send to the default gateway.
In AWS: when an EC2 instance sends traffic to the internet, it goes to the VPC router at x.x.x.1 of your subnet ā which routes it to the Internet Gateway and out.
Routing Table ā The Router's Decision Book
A router needs to know: "Where should I send this packet?"
It stores this in a routing table:
Destination Network Next Hop / Interface
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
172.16.20.0/24 Interface 1
172.16.30.0/24 Interface 2
0.0.0.0/0 Internet Gateway
When a packet arrives, the router checks the destination IP, finds the best matching route, and forwards accordingly. The 0.0.0.0/0 entry is the default route ā catches anything that doesn't match a more specific entry and sends it out to the internet.
This is exactly what an AWS Route Table is. Not a metaphor ā the concepts are identical. When you add a route 0.0.0.0/0 ā igw-xxxxx in your VPC, you're doing the same thing a network engineer does when configuring a router.
Device Summary
| Device | Basic Job | Intelligence |
|---|---|---|
| Repeater | Regenerates signal | None ā purely physical |
| Hub | Repeats signal to all ports | None ā blindly broadcasts |
| Bridge | Connects segments, filters by MAC | Low ā learns MAC addresses |
| Switch | Forwards frames within a network | Medium ā MAC address table |
| Router | Routes packets between networks | High ā IP routing table |
The memory trick:
- Switch = Same network
- Router = Different networks
How This Maps to AWS
| AWS Component | Networking Equivalent |
|---|---|
| VPC | Your network |
| Subnet | A smaller network within the VPC |
| Internet Gateway | The router connecting VPC to internet |
| Route Table | The routing table on that router |
| Security Group | Firewall at the host level |
| NACL | Firewall at the network boundary |
VPC Router (x.x.x.1) |
Default gateway for all subnets |
Every time you configure a VPC route table, you're doing what a network engineer does when configuring a router's routing table. The abstraction changes ā the concept doesn't.
What's Next
Part 2 covers the OSI Model ā not to memorize seven layers, but to understand why each layer exists and what problem it solves. That understanding is what makes protocols like TCP, IP, DNS, and TLS stop being black boxes.
Part 1 of 6 ā Networking Fundamentals for Cloud & DevOps
A prerequisite series before diving into AWS VPC, Route Tables, and Network Architecture.
Top comments (0)