Networkdevices

13 min read2,550 words

4. Network Devices

Network devices are hardware components used to connect computers and other devices, control network traffic, forward data, provide connectivity, and protect the network.

A simple network may look like:

Internet │ Modem │ Router │ Switch ┌──────┼──────┐ PC PC Printer

Different devices perform different jobs. Understanding these devices is very important before learning IP addresses, TCP/IP, routing, ports, and network security.


1. NIC — Network Interface Card

A NIC (Network Interface Card) is the hardware interface that allows a device to connect to a network.

It may be:

  • Wired Ethernet NIC
  • Wireless Wi-Fi adapter
  • Built into the motherboard
  • A separate expansion/USB adapter

Example

Computer │ ↓ NIC │ Ethernet │ Switch

A laptop's Wi-Fi adapter is also a type of network interface.

Main functions

  • Connects a device to a network
  • Sends data
  • Receives data
  • Provides a network interface
  • Has a MAC address

Example:

MAC Address: A4:5E:60:12:AB:91

Important

A MAC address identifies a network interface at the data-link layer.

You'll study MAC addresses separately.


2. Hub

A hub is a basic networking device that connects multiple devices.

PC1 │ │ PC2 ─── Hub ─── PC3 │ PC4

The important thing about a traditional Ethernet hub is that it does not intelligently choose the destination port.

When a signal arrives, it is repeated out to the other ports.

PC1 │ ↓ Hub ├──→ PC2 ├──→ PC3 └──→ PC4

The other devices receive the signal, but only the intended recipient processes the relevant frame.

Characteristics

  • Works at OSI Layer 1 — Physical Layer
  • No MAC-address learning
  • No intelligent forwarding
  • Shared communication medium
  • Usually creates one collision domain

Advantages

  • Simple
  • Cheap historically
  • Easy to understand

Disadvantages

  • Inefficient
  • More collisions
  • Poor performance
  • Less secure
  • Rarely used in modern Ethernet networks

Hub vs Switch

HubSwitch
Layer 1Layer 2
Repeats signalsForwards frames intelligently
Doesn't learn MAC addressesLearns MAC addresses
More collisionsCollision isolation per switch port
Older technologyCommon modern technology

3. Switch

A switch connects devices within a LAN and forwards Ethernet frames toward the appropriate destination.

Switch / │ \ PC1 PC2 PC3 │ Printer

A modern Ethernet switch primarily operates at Layer 2 — Data Link Layer.

Some switches also perform Layer 3 routing functions and are called Layer 3 switches.


How Does a Switch Work?

Suppose:

PC1 → PC3

The switch learns which MAC address is reachable through which port.

Conceptually:

MAC Address Port ------------------------ AA:AA:AA:AA:AA:01 1 BB:BB:BB:BB:BB:02 2 CC:CC:CC:CC:CC:03 3

If PC1 sends a frame destined for PC3, the switch can forward it toward PC3's port instead of sending it everywhere.

Switch functions

  • MAC address learning
  • Frame forwarding
  • Frame filtering
  • VLAN support
  • Network segmentation
  • Full-duplex communication

Example

PC1 ──┐ PC2 ──┤ PC3 ──┼── Switch ─── Router ─── Internet PC4 ──┤ PC5 ──┘

4. Router

A router connects different IP networks and forwards packets between them.

LAN 1 │ │ Router │ │ LAN 2

A router commonly operates at OSI Layer 3 — Network Layer.

Example

Home LAN 192.168.1.0/24 │ │ Router │ │ Internet

The router decides where IP packets should go based on routing information.


Main Functions of a Router

1. Routing

Determines where packets should be forwarded.

Network A │ ↓ Router │ ↓ Network B

2. Connecting Different Networks

For example:

192.168.1.0/24 │ Router │ 10.0.0.0/24

These are different IP networks.

3. NAT

Many home routers perform Network Address Translation (NAT).

For example:

Private IP 192.168.1.10 │ ↓ Router │ ↓ Public IP

This allows multiple devices in a private network to share an Internet connection.

4. DHCP

Many home routers also provide DHCP, automatically assigning IP configuration to devices.

Example:

Laptop → DHCP Request ↓ Router ↓ IP: 192.168.1.20

Important distinction

A router is primarily a Layer 3 device, although modern routers often contain many additional functions such as:

  • Firewall
  • NAT
  • DHCP server
  • VPN
  • Wi-Fi
  • DNS forwarding

5. Modem

Modem stands for:

Modulator-Demodulator

A modem connects your local network/equipment to a service provider's access network using the technology supplied by the ISP.

Historically, modems converted between digital computer data and analog telephone signals. Modern broadband modems/ONTs perform different physical-layer signaling depending on the access technology.

Simplified example

Home Network │ Router │ Modem/ONT │ ↓ ISP │ Internet

Examples

  • Cable modem
  • DSL modem
  • Fiber ONT/ONU
  • Cellular modem

Important

Modem ≠ Router

A modem provides access to the ISP's network.

A router manages communication between networks.

However, ISP-provided "routers" often combine several functions in one physical box:

Modem/ONT + Router + Switch + Wi-Fi Access Point + Firewall

6. Wireless Access Point — AP

A Wireless Access Point (AP) provides wireless network connectivity to devices such as laptops and phones.

Laptop ))) \ Phone )))) AP ─── Switch ─── Router / Tablet )))

The AP bridges wireless clients to a wired LAN.

Functions

  • Provides Wi-Fi connectivity
  • Connects wireless clients to the LAN
  • Manages wireless access
  • Provides SSID
  • Uses wireless security mechanisms

Example

In a college:

Internet │ Router │ Switch │ ┌─┴─────────┐ AP1 AP2 ))) ))) Students Students

7. Repeater

A repeater receives a signal and regenerates/retransmits it to extend the communication distance.

Device ─── Signal ─── Repeater ─── Signal ─── Device

Its main purpose is to overcome limitations of signal transmission distance.

OSI Layer

Primarily:

Layer 1 — Physical Layer

Example

If Wi-Fi doesn't reach part of a building, a wireless repeater/extender may retransmit the wireless signal.

Advantages

  • Extends coverage
  • Simple concept
  • Can help overcome distance limitations

Disadvantages

  • Doesn't replace proper network design
  • Wireless repeaters can reduce effective throughput depending on implementation
  • Doesn't provide routing by itself

8. Bridge

A bridge connects and filters traffic between network segments.

LAN 1 ─── Bridge ─── LAN 2

A traditional bridge operates at:

Layer 2 — Data Link Layer

It uses MAC addresses to decide whether frames should be forwarded between segments.

Example

PC1 ── PC2 ── Bridge ── PC3 ── PC4

Historically, bridges were important for dividing LAN segments.

Bridge vs Switch

A switch can be thought of as a multi-port bridge.

Modern switches largely replaced standalone bridges.


9. Gateway

A gateway is a device or system that acts as an entry/exit point between networks or systems using different protocols or architectures.

The term is broader than a simple Layer 3 router.

Example:

Network A │ ↓ Gateway │ ↓ Network B

In a home network

Your router's LAN interface is commonly called the default gateway.

For example:

Laptop IP: 192.168.1.10 │ ↓ Default Gateway 192.168.1.1 │ ↓ Internet

When the laptop needs to communicate with a destination outside its local subnet, it sends the packet to its default gateway.

Important

A gateway is a functional concept, while a router is a specific networking device/function. In many everyday networks, the router acts as the default gateway.


10. Firewall

A firewall controls network traffic according to security rules.

Internet │ ↓ Firewall │ ↓ Internal Network

It can inspect traffic and decide whether to:

  • Allow
  • Block
  • Reject
  • Log

traffic according to configured policies.

Example

Suppose:

Internet → Server

The firewall may have a rule:

Allow TCP 443 Block other unwanted traffic

This could allow HTTPS while restricting other inbound connections.

Types

Common categories include:

  • Network firewall
  • Host-based firewall
  • Stateful firewall
  • Next-generation firewall

Importance

Firewalls help protect networks against:

  • Unauthorized connections
  • Unwanted traffic
  • Some attacks
  • Misconfigured services

A firewall is not a complete security solution by itself.


11. Proxy Server

A proxy acts as an intermediary between a client and another server.

Client │ ↓ Proxy │ ↓ Web Server

Instead of the client directly communicating with the destination, the proxy handles the request on its behalf.

Uses

  • Access control
  • Web filtering
  • Caching
  • Logging
  • Privacy/traffic mediation
  • Security inspection

Example

Student PC ↓ College Proxy ↓ Internet

The college can use a proxy to control or monitor web access according to its policies.


12. Load Balancer

A load balancer distributes incoming traffic among multiple servers.

Client │ ↓ Load Balancer / | \ ↓ ↓ ↓ Server1 Server2 Server3

Suppose 3 servers provide the same website.

Instead of sending every request to Server 1:

Request → Load Balancer ↓ ┌──────┼──────┐ ↓ ↓ ↓ S1 S2 S3

Benefits

  • Distributes traffic
  • Improves availability
  • Prevents one server from becoming overloaded
  • Helps with scalability

Load balancers can operate at different layers depending on the technology and configuration.


13. IDS — Intrusion Detection System

An IDS monitors network or system activity and looks for suspicious or malicious behavior.

Network Traffic │ ↓ IDS │ ↓ Alert / Log

An IDS generally detects and alerts rather than directly blocking traffic.

Example

If an IDS detects suspicious scanning activity:

Attacker ↓ Port Scanning ↓ IDS ↓ ALERT

14. IPS — Intrusion Prevention System

An IPS goes a step further.

It can detect suspicious activity and take action to prevent or block it.

Internet │ ↓ IPS │ ↓ Internal Network

IDS vs IPS

IDSIPS
DetectsDetects
AlertsAlerts
Usually out-of-band/passiveUsually inline
Doesn't normally blockCan block/prevent

Easy memory:

IDS = Detect
IPS = Detect + Prevent


15. DHCP Server

A DHCP server automatically provides network configuration to clients.

DHCP can provide:

  • IP address
  • Subnet mask
  • Default gateway
  • DNS server
  • Lease information

Example:

Laptop │ │ DHCP ↓ DHCP Server │ ↓ 192.168.1.25

Typical DHCP process

A common simplified sequence is:

DHCP Discover ↓ DHCP Offer ↓ DHCP Request ↓ DHCP ACK

This is often remembered as DORA:

Discover
Offer
Request
Acknowledgment


16. DNS Server

A DNS server translates domain names into IP addresses and can provide other DNS information.

Example:

www.example.com │ ↓ DNS Server │ ↓ 93.184.216.x

Instead of remembering an IP address, users can use a domain name.

DNS can also provide other record types, such as:

  • A
  • AAAA
  • MX
  • CNAME
  • NS
  • TXT

You'll study DNS in detail later.


17. Network Controller

In larger networks, a network controller can centrally manage networking infrastructure.

Controller / | \ / | \ Switch AP Router

It can help with:

  • Configuration
  • Monitoring
  • Policy management
  • Automation
  • Device management

This is common in enterprise and software-defined networking environments.


Important Comparison

Hub vs Switch vs Router

This is one of the most important comparisons.

FeatureHubSwitchRouter
Main LayerL1L2L3
Main AddressNoneMACIP
ConnectsDevices/segmentsLAN devicesDifferent networks
Forwarding intelligenceVery lowMAC-basedIP/routing-based
Collision handlingShared mediumPer-port isolationSeparate interfaces/networks
Modern useRareVery commonVery common

Easy memory

Hub ↓ Repeats signals Switch ↓ Uses MAC addresses Router ↓ Uses IP addresses

Repeater vs Bridge vs Switch vs Router

Repeater → Signal Bridge → MAC Switch → MAC Router → IP

More precisely:

  • Repeater → Regenerates signals
  • Bridge → Connects Layer-2 segments
  • Switch → Multi-port Layer-2 forwarding device
  • Router → Routes packets between IP networks

Complete Example

Imagine a college network:

INTERNET │ Modem │ Router │ Firewall │ Core Switch ┌────────┼────────┐ │ │ │ Switch Switch Server │ │ ┌────┼────┐ ┌──┼──┐ │ │ │ │ │ │ PC PC PC PC PC Printer │ Wi-Fi │ AP / | \ Phone Laptop Tablet

Different devices perform different jobs:

  • Modem/ONT → ISP access
  • Router → Connects/routs between IP networks
  • Firewall → Applies security rules
  • Switch → Connects wired LAN devices
  • Access Point → Provides Wi-Fi
  • Server → Provides services
  • PC/Phone/Tablet → End devices

Network Devices by OSI Layer

A useful simplified classification:

Layer 7 Application └── Proxy / Application Gateway Layer 4 Transport └── Some advanced firewalls/load balancers Layer 3 Network └── Router / Layer-3 Switch Layer 2 Data Link └── Switch / Bridge Layer 1 Physical └── Repeater / Hub

Important: Modern networking devices are often multifunctional, so a physical device may operate across multiple OSI layers.


Network Device vs End Device

Don't confuse network devices with end devices.

End devices

These are devices that originate or receive network communication.

Examples:

PC Laptop Phone Printer Server Camera ESP32 IoT Sensor

Network devices

These primarily connect, forward, control, or protect network traffic.

Examples:

Switch Router Firewall Access Point Repeater

Quick Revision

DeviceMain Purpose
NICConnects a device to a network
HubRepeats traffic to ports
SwitchForwards Ethernet frames using MAC addresses
RouterRoutes IP packets between networks
Modem/ONTProvides access to ISP network
Access PointProvides Wi-Fi connectivity
RepeaterRegenerates/extends signals
BridgeConnects Layer-2 network segments
GatewayConnects networks/systems and acts as an entry/exit point
FirewallControls traffic according to security rules
ProxyActs as an intermediary
Load BalancerDistributes traffic among servers
IDSDetects suspicious activity
IPSDetects and can block suspicious activity
DHCP ServerAutomatically assigns network configuration
DNS ServerResolves domain names and provides DNS information

Most important concepts to remember

NIC → Network Interface Hub → Repeat Switch → MAC Router → IP Modem/ONT → ISP Access AP → Wi-Fi Repeater → Regenerate Bridge → Connect L2 segments Firewall → Filter/Protect Proxy → Intermediary IDS → Detect IPS → Prevent

These devices form the foundation for understanding the next topics: Network Architecture → Client-Server → OSI Model → TCP/IP Model → Protocols.

Keep learning. Keep building. Keep growing.

© 2026 Ugenz Academy