Network Devices
What is a Computer Network?
- Definition: A digital telecommunications network which allows nodes to share resources.
- Nodes: Any device connected to the network (e.g., PCs, servers, routers, switches, firewalls).
Clients and Servers (End Hosts)
- End Hosts / Endpoints: Devices at the edge of the network that either consume or provide services (e.g., PCs, laptops, smartphones, servers).
- Client: A device that accesses a service made available by a server.
- Server: A device that provides functions or services for clients.
- Key Concept: The same physical device can act as a client in one situation and a server in another, depending on whether it is requesting or providing a service.
- Examples:
- Watching a YouTube video: Your PC (Client) requests data from the YouTube Server.
- AirDrop Transfer: Your phone (Client) requests a file from your friend’s phone (Server).
Switches
- Function: Connects multiple end hosts within the same LAN (Local Area Network) and forwards traffic between them.
- Characteristics:
- Has many network interfaces/ports (usually 24 or more) to connect end hosts (PCs, servers, printers).
- Used for connectivity within a single LAN.
- Cannot connect different LANs together or route traffic over the Internet.
- Examples: Cisco Catalyst series (e.g., Catalyst 9200, Catalyst 3650).
Routers
- Function: Connects multiple networks together and forwards traffic between different LANs or over the Internet.
- Characteristics:
- Has relatively fewer network interfaces compared to switches.
- Used for connectivity between LANs and to the Internet.
- Examples: Cisco ISR series (e.g., ISR 1000, ISR 4000, ISR 900).
Firewalls
- Function: Specialty network security devices that monitor and control network traffic entering and exiting a network based on configured security rules.
- Characteristics:
- Explicitly configured to allow or deny traffic.
- Can be placed ‘outside’ the router (between Internet and router) or ‘inside’ the network (between router and internal switches).
- Types of Firewalls:
- Network Firewalls: Hardware devices filtering traffic between networks.
- Host-based Firewalls: Software applications filtering traffic entering/exiting a specific host machine (e.g., PC). Always recommended as an extra layer of defense.
- Next-Generation Firewalls (NGFW): Modern firewalls that combine traditional filtering with advanced capabilities like IPS (Intrusion Prevention System).
- Examples: Cisco ASA (Adaptive Security Appliance) 5500-X series, Cisco Firepower 2100 series.
Network Topology Example
The following diagram illustrates how these devices work together in an enterprise network with two branches (New York and Tokyo), demonstrating the placement of switches, routers, and firewalls.
graph LR
Internet((Internet)) --> FW1[Firewall 1 - Outside]
FW1 --> R1[Router 1 - NY Branch]
R1 --> SW1[Switch 1 - NY LAN]
SW1 --> PC1[PC 1]
SW1 --> PC2[PC 2]
Internet --> R2[Router 2 - Tokyo Branch]
R2 --> FW2[Firewall 2 - Inside]
FW2 --> SW2[Switch 2 - Tokyo LAN]
SW2 --> SRV1[Server 1]
SW2 --> SRV2[Server 2]
Device Comparisons
Switch vs. Router
| Feature | Switch | Router |
|---|---|---|
| Primary Function | Connects devices within the same LAN | Connects different LANs together and to the Internet |
| Number of Interfaces | Many (typically 24+) | Fewer compared to switches |
| Traffic Forwarding | Within a single Local Area Network (LAN) | Between multiple networks (LAN to LAN, LAN to WAN) |
| Example Models | Cisco Catalyst 9200, Catalyst 3650 | Cisco ISR 1000, ISR 4000, ISR 900 |
Network vs. Host-based Firewall
| Feature | Network Firewall | Host-based Firewall |
|---|---|---|
| Type | Hardware appliance | Software application |
| Scope | Filters traffic between entire networks | Filters traffic for a single end host (PC/Server) |
| Placement | Inside or outside the network edge | Installed directly on the end host OS |
| Examples | Cisco ASA5500-X, Firepower 2100 | Windows Defender, iptables |
Key Exam Scenarios & Concepts
- Connecting 30 PCs in a department: Use a Switch. It has many ports and is designed to connect hosts in the same LAN.
- Connecting separate networks: Use a Router. It is designed to forward traffic between different networks.
- Upgrading to an advanced firewall: Purchase a Next-Generation Firewall (NGFW). It includes advanced features like IPS compared to traditional firewalls.
- Determining Client vs. Server: Identify which device is requesting the service (Client) and which is providing the service (Server).
Commands Review
Note: This foundational lesson covers network hardware concepts and topologies. No CLI commands were introduced in this specific video. IOS configuration commands will be covered in upcoming lessons.