BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Learning paths › CCNA › 1. Network Fundamentals

Network Devices

Understand the core building blocks of a network: nodes, clients, servers, switches, routers, and firewalls.

About 10 minutes

Why it matters

When something breaks you need to know which device could be responsible. Knowing what clients, servers, switches, routers and firewalls each do tells you where to look first.

Network Hardware & Roles in Plain English

A computer network is a digital network that connects nodes (devices) and allows them to share data.

Switches connect devices inside a LAN at Layer 2 and break up collision domains.

Routers forward IP packets between networks at Layer 3 and separate Layer 2 broadcast domains. The networks can be local, connected over a private WAN, or on the internet; an internet connection is not required for routing.

Firewalls inspect incoming and outgoing traffic to block unauthorized or malicious connections.

What is a Computer Network?

A computer network is a digital network that connects nodes (devices) and allows them to share data.

• Node = a device connected in a network, e.g. router, computer • Service = e.g. requesting an image or video • Client = hardware that accesses a service made available by a server (phone, laptop) • Server = hardware that provides services to clients

Client and Server Workflow: Your Computer (Client) ---> The Internet ---> YouTube Server: 'Give me the video, please.' YouTube Server ---> The Internet ---> Your Computer: 'Here's the video.'

Switches in the Local Area Network (LAN)

A Switch is hardware that connects devices in a LAN and allows them to transfer data to each other. Switches typically have many ports (24, 48, etc.). A standard Layer 2 switch cannot connect to the internet and servers outside the local LAN because it only has Layer 2 awareness.

Switches reduce collision domains: Each port is an isolated collision domain, allowing full-duplex communication.

Why is a switch needed in a LAN? If you connect multiple devices directly to each other (e.g. 5 devices), each device would need 4 network cables. With a central switch, each device only needs a single cable.

Why not use a router instead of a switch? 1. Every router interface requires a distinct IP subnet — using routers everywhere fragments the local address space. 2. Router ports are significantly more expensive per port than switchports. 3. Switches make expanding the local network much easier and cost-effective.

Routers and Inter-Network Routing

Routers have fewer ports/network interfaces than switches. They are used to transfer data between distinct LANs (sending data across the internet).

Routers possess Layer 3 awareness (inspecting destination IP addresses to make forwarding decisions), along with Layer 2 awareness (forming Ethernet headers, ARP lookups, etc.).

Crucially, Routers reduce broadcast domains: they do not forward broadcast frames across interfaces, keeping broadcast storms contained within their local network.

Firewalls (Perimeter vs Host-Based)

A Firewall is hardware or software that monitors incoming and outgoing network traffic for security reasons. Firewalls block or allow traffic based on configured security rules.

Firewall Placement: 1. Placing outside the router = protects the router and the entire network perimeter. 2. Placing inside the network = protects internal end hosts (such as laptops and servers).

Deployment Form Factors: • Network Firewall (Hardware): Filters traffic for an entire enterprise network. • Host-based Firewall (Software): Runs on a single machine (e.g. Windows Defender Firewall on a laptop) to protect that specific endpoint.

NGFW (Next-Gen Firewall) vs. NGIPS (Next-Gen Intrusion Prevention System)

Attribute: Main Purpose · NGFW (Next-Generation Firewall): Control and filter network traffic · NGIPS (Next-Gen Intrusion Prevention System): Detect and block attacks

Attribute: Main Question · NGFW (Next-Generation Firewall): Should this traffic be allowed? · NGIPS (Next-Gen Intrusion Prevention System): Is this traffic malicious?

Attribute: Works Mainly At · NGFW (Next-Generation Firewall): Network perimeter (between networks) · NGIPS (Next-Gen Intrusion Prevention System): Inside the network path (inspecting traffic flows)

Attribute: Looks At · NGFW (Next-Generation Firewall): IPs, ports, applications, users, policies · NGIPS (Next-Gen Intrusion Prevention System): Attack signatures, exploits, abnormal behaviour

Attribute: Action · NGFW (Next-Generation Firewall): Allow, deny, or inspect traffic · NGIPS (Next-Gen Intrusion Prevention System): Detect, block, or alert on threats

The words you need

Node — A device that is connected in a network (e.g. router, computer).

Service — A capability provided over a network (e.g. requesting an image or video).

Client — A piece of hardware that accesses a service made available by a server (e.g. phone, laptop).

Server — A piece of hardware that provides services to clients.

Switch — Hardware that connects devices in a LAN and allows them to transfer data to each other. Has many ports. Cannot connect to the internet and servers outside the LAN (only Layer 2 awareness).

Router — A device that forwards IP packets between networks using a routing table. Routers connect local networks, private WANs and internet services; their role is not defined by having fewer interfaces than a switch.

Firewall — Hardware or software that monitors incoming and outgoing network traffic for security reasons, blocking traffic based on configured rules.

Network Firewall — Hardware appliance that filters traffic for an entire network.

Host-Based Firewall — Software running on a single endpoint (e.g. laptop) that filters traffic for that individual machine.

Takeaways

Next: Cables & Interfaces

More free lessons in 1. Network Fundamentals