Networking Devices — Understanding the Building Blocks of Modern Networks¶
Every computer network is built using specialised networking devices that connect systems, forward traffic, secure communications, and enable Internet access. From a simple home Wi-Fi router to enterprise-grade data centre switches and cloud load balancers, these devices work together to ensure reliable, secure, and efficient communication. Understanding networking devices is essential for Linux administrators, DevOps engineers, Cloud Architects, Platform Engineers, Site Reliability Engineers (SREs), Security Engineers, and Network Engineers.
Learning Path¶
Course Progress
What You'll Learn¶
After completing this lesson, you'll be able to:
- Understand common networking devices
- Explain the purpose of each device
- Differentiate switches, routers, hubs, and firewalls
- Understand enterprise network architecture
- Identify where each device operates in the OSI Model
- Design basic network layouts
Prerequisites¶
Complete:
- What is Networking?
- Types of Networks
- Network Topologies
- OSI Model
- TCP/IP Model
- Data Encapsulation
- MAC Address
- IP Address
- Ports & Protocols
Why Learn Networking Devices?¶
Every packet that travels across a network passes through one or more networking devices.
Example:
Each device performs a different function.
Understanding these devices is essential for designing, operating, and troubleshooting networks.
Common Networking Devices¶
Modern networks commonly use:
- Network Interface Card (NIC)
- Hub
- Switch
- Router
- Bridge
- Repeater
- Modem
- Wireless Access Point (WAP)
- Firewall
- Load Balancer
Network Interface Card (NIC)¶
A Network Interface Card (NIC) connects a computer or server to a network.
Every network-enabled device has at least one NIC.
Functions:
- Provides network connectivity
- Stores the Media Access Control (MAC) address
- Sends and receives Ethernet frames
NIC Example¶
OSI Layer¶
Layer 1 (Physical)
Layer 2 (Data Link)
Hub¶
A Hub is a basic networking device that broadcasts incoming data to every connected port.
Every connected device receives the frame.
Advantages¶
- Inexpensive
- Easy to use
Disadvantages¶
- Poor security
- Low performance
- High collisions
- Rarely used today
OSI Layer¶
Layer 1
Switch¶
A Switch connects devices within the same Local Area Network (LAN).
Unlike a hub, a switch forwards traffic only to the destination device using MAC addresses.
Functions¶
- Learns MAC addresses
- Builds MAC address tables
- Reduces collisions
- Improves network performance
Advantages¶
- High performance
- Secure communication
- Supports Virtual Local Area Networks (VLANs)
- Scalable
OSI Layer¶
Layer 2
(Some enterprise switches also operate at Layer 3.)
Router¶
A Router connects different networks together.
It forwards packets using IP addresses.
Functions¶
- Routes packets
- Connects LANs to Wide Area Networks (WANs)
- Provides Internet access
- Performs Network Address Translation (NAT)
- Supports routing protocols
OSI Layer¶
Layer 3
Bridge¶
A Bridge connects two LAN segments and filters traffic based on MAC addresses.
Bridges reduce unnecessary traffic between segments.
OSI Layer¶
Layer 2
Repeater¶
A Repeater regenerates weak network signals to extend transmission distance.
Repeaters do not inspect or modify data.
OSI Layer¶
Layer 1
Modem¶
A Modem connects a local network to an Internet Service Provider (ISP).
Functions:
- Modulates digital signals into analogue signals (where applicable)
- Demodulates incoming signals
- Provides Internet connectivity
Many modern home devices combine modem and router functionality.
OSI Layer¶
Primarily Layer 1
Wireless Access Point (WAP)¶
A Wireless Access Point (WAP) allows wireless devices to join a wired network.
Provides:
- Wi-Fi connectivity
- Wireless authentication
- Encryption
OSI Layer¶
Layer 2
Firewall¶
A Firewall filters network traffic based on security rules.
Functions:
- Allow traffic
- Deny traffic
- Log traffic
- Protect internal systems
Types¶
- Packet Filtering Firewall
- Stateful Firewall
- Next-Generation Firewall (NGFW)
- Web Application Firewall (WAF)
OSI Layer¶
Typically Layers 3, 4, and 7 depending on the firewall type.
Load Balancer¶
A Load Balancer distributes incoming requests across multiple servers.
Functions:
- High Availability
- Scalability
- Health Checks
- Traffic Distribution
Types¶
- Layer 4 Load Balancer
- Layer 7 Load Balancer
Enterprise Network Example¶
Users
↓
Access Point
↓
Switch
↓
Firewall
↓
Router
↓
Internet
↓
Cloud Load Balancer
↓
Web Servers
↓
Database Servers
This is a simplified version of a modern enterprise architecture.
OSI Layer Mapping¶
| Device | OSI Layer |
|---|---|
| NIC | 1, 2 |
| Hub | 1 |
| Repeater | 1 |
| Switch | 2 |
| Bridge | 2 |
| Router | 3 |
| Firewall | 3–7 |
| Load Balancer | 4–7 |
| Wireless Access Point | 2 |
| Modem | 1 |
Device Comparison¶
| Device | Primary Function |
|---|---|
| NIC | Connect device to network |
| Hub | Broadcast traffic |
| Switch | Forward frames using MAC addresses |
| Router | Route packets using IP addresses |
| Bridge | Connect LAN segments |
| Repeater | Regenerate signals |
| Modem | Connect to ISP |
| Access Point | Provide Wi-Fi |
| Firewall | Secure network traffic |
| Load Balancer | Distribute application traffic |
Production Perspective¶
Enterprise environments commonly include:
- Core Switches
- Distribution Switches
- Edge Routers
- Firewalls
- Virtual Private Network (VPN) Gateways
- Load Balancers
- Wireless Controllers
- Monitoring Appliances
Large organisations may operate hundreds or thousands of these devices.
Cloud Perspective¶
Cloud providers implement virtual versions of networking devices.
Examples:
- Virtual Routers
- Virtual Firewalls
- Virtual Load Balancers
- Virtual Switches
- NAT Gateways
- Internet Gateways
Although virtualised, they perform the same fundamental functions.
Kubernetes Perspective¶
Kubernetes networking relies on many of these concepts.
Examples:
| Kubernetes Component | Similar Device |
|---|---|
| Service | Load Balancer |
| Ingress | Layer 7 Load Balancer |
| CNI | Virtual Switch |
| Network Policy | Firewall |
| kube-proxy | Traffic Forwarder |
Hands-on Lab¶
Task 1¶
Display network interfaces.
Task 2¶
Display IP addresses.
Task 3¶
Display routing table.
Task 4¶
Display listening ports.
Task 5¶
Identify all networking devices in your home network.
Task 6¶
Draw your home network diagram.
Include:
- ISP
- Modem
- Router
- Switch (if present)
- Access Point
- Laptop
- Smartphone
Task 7¶
Research the networking devices used in a cloud data centre and compare them with physical networking devices.
Task 8¶
Design a small enterprise network containing:
- Internet
- Firewall
- Router
- Core Switch
- Access Switch
- Wireless Access Point
- Web Server
- Database Server
Explain the purpose of each device.
Linux Commands¶
| Command | Purpose |
|---|---|
ip link | Display network interfaces |
ip addr | Display IP configuration |
ip route | Display routing table |
ss -tuln | Display active ports |
ping | Test connectivity |
traceroute | Trace packet path |
Common Mistakes¶
❌ Confusing switches and routers.
✅ Switches use MAC addresses; routers use IP addresses.
❌ Thinking hubs and switches are identical.
✅ Hubs broadcast; switches forward intelligently.
❌ Assuming firewalls replace routers.
✅ Routers connect networks; firewalls enforce security policies.
❌ Believing load balancers store application data.
✅ They distribute traffic rather than storing content.
❌ Ignoring wireless infrastructure.
✅ Access points are essential for modern enterprise connectivity.
Best Practices¶
- Use switches instead of hubs.
- Deploy firewalls at network boundaries.
- Use load balancers for high availability.
- Document physical and logical network layouts.
- Design redundant paths for critical infrastructure.
- Regularly monitor networking devices and firmware versions.
Interview Questions¶
Beginner¶
- What is the difference between a switch and a router?
- What does a firewall do?
- What is the purpose of a NIC?
- Why are hubs rarely used today?
Intermediate¶
- Compare a bridge and a switch.
- Explain how a load balancer improves availability.
- Which OSI layers do routers and switches operate on?
- Why are wireless access points required?
Architect Level¶
- Design the networking infrastructure for a medium-sized enterprise.
- Explain the role of virtual networking devices in cloud platforms.
- How would you eliminate single points of failure in a production network?
Summary¶
In this lesson, you learned:
- Network Interface Cards (NICs)
- Hubs
- Switches
- Routers
- Bridges
- Repeaters
- Modems
- Wireless Access Points
- Firewalls
- Load Balancers
- Enterprise network architecture
Networking devices form the foundation of every modern network. Each device has a specific role, from connecting local systems to securing traffic and distributing application requests. Understanding these devices prepares you for designing and troubleshooting enterprise, cloud, and Kubernetes networking environments.
Key Takeaways¶
- NICs connect devices to networks.
- Switches forward traffic within a LAN using MAC addresses.
- Routers connect different networks using IP addresses.
- Firewalls secure network communication.
- Load balancers distribute traffic across multiple servers.
- Modern enterprise and cloud networks rely on combinations of these devices.
Module 1 Complete¶
Congratulations — you have completed Module 1: Networking Fundamentals.
You now understand:
- What networking is
- Types of networks
- Network topologies
- OSI Model
- TCP/IP Model
- Data encapsulation
- MAC addresses
- IP addresses
- Ports and protocols
- Networking devices
These concepts form the foundation for everything that follows in networking, cloud computing, DevOps, and Kubernetes.