Training / Certifications / CompTIA Network+ / Network Appliances: Switches, Routers, Firewalls and More

CompTIA Network+ (N10-009) · Lesson 2

Network Appliances: Switches, Routers, Firewalls and More

Compare switches, routers, firewalls, IDS and IPS, load balancers and proxies by what each one does and where it sits, and explain physical versus virtual appliances.

Domain 1.0: Networking Concepts (23%)Objective 1.2About 5:32Voice-over and captionsStatic view for reduced motion
Lesson 2: Network appliances Illustrative example: addresses and rules are samples Office PCsSwitchRouterFirewallInternetIPSinlineIDScopy of the traffic(mirror port)Move trafficSwitch: inside a network (Layer 2)Router: between networks (Layer 3)Protect and manage trafficFirewall, IDS and IPSLoad balancer, proxyNext lesson: NAS, SAN, wireless, CDN,VPN, QoS and TTLSwitch: MAC address table (example)PortMAC addressDevice100:1A:2B:00:00:01PC 1200:1A:2B:00:00:02PC 2300:1A:2B:00:00:03PC 3800:1A:2B:00:00:FERouterLayer 2: forwards frames by MAC addressLearns each device's port (MAC table)Unknown or broadcast: floods every portEach port is its own collision domainAll ports share one broadcast domainRouter: routing table (example)Destination networkSend to192.168.1.0/24Office LAN (connected)10.20.0.0/16Branch office router0.0.0.0/0 (default)Internet providerLayer 3: forwards packets by IP addressRouting table picks the best pathConnects different networksEach interface separates broadcast domainsMultilayer switch: switches and routesFirewall: rules (example)#ActionTraffic1AllowOffice to internet, TCP 443 (HTTPS)2AllowReplies to connections started inside3DenyEverything else from the internetPermits or denies traffic by rulesStateless: checks each packet aloneStateful: tracks connections, allows repliesNext-generation: knows applications (L7)IDS: intrusion detection systemWatches a copy of the trafficDetects and alertsCan't stop the attack itselfIPS: intrusion prevention systemSits inline: all traffic passes throughDetects and blocksA mistake can block good trafficSignature-basedMatches patterns ofknown attacksAccurate for known threats,misses new onesAnomaly-basedFlags what differs froma baseline of normalCan catch new attacks,more false positivesPolicy-basedFlags traffic that breaksyour defined rulesEnforces what youdecide is allowedUsersLoadbalancerhealth check failedSpreads requestsacross serversSkips servers thatfail health checksBetter scale andavailabilityForward proxyOffice PCsProxyInternetActs for the clientsFilters sites, caches, hides inside addressesReverse proxyInternetProxyWeb serversActs for the serversCaching, encryption, protects the serversPhysical applianceDedicated hardware,built for performanceVirtual appliancevRoutervFirewallvLoad balancerHypervisor on a serverSame job in software: deploy in minutes, anywhereIf the question says……think“MAC address table, frames, flooding”Switch (Layer 2)“Routing table, connects networks”Router (Layer 3)“Allow and deny rules, tracks connections”Firewall (stateful)“Watches a copy of traffic and alerts”IDS“Inline, detects and blocks attacks”IPS“Spreads requests, health checks”Load balancer“Filters and caches web requests for users”Forward proxyMove trafficSwitch: frames, MAC (L2)Router: packets, IP (L3)ProtectFirewall: allow or denyIDS alerts, IPS blocksManageLoad balancer: share loadProxy: acts for othersEach one can be a physical box or a virtual appliance.

Tip: turn your phone sideways or use full screen for larger labels.

The voice-over is AI-generated with ElevenLabs, and the captions match it word for word. Press Space to play or pause and the arrow keys to change scenes.

Learning objective

Compare switches, routers, firewalls, IDS and IPS, load balancers and proxies by what each one does and where it sits, and explain physical versus virtual appliances.

Exam mapping

Domain 1.0: Networking Concepts (23%). Objective 1.2 in the official N10-009 exam objectives.

Key takeaways

  • A switch (Layer 2) forwards frames by MAC address using a MAC address table, and floods unknown destinations and broadcasts.
  • A router (Layer 3) forwards packets between networks by IP address using its routing table; each interface separates broadcast domains. A multilayer switch can do both.
  • A firewall permits or denies traffic by rules. Stateless firewalls check each packet alone, stateful ones track connections, and next-generation firewalls recognize applications.
  • An IDS watches a copy of the traffic and alerts; an IPS sits inline and can block. Detection can be signature-, anomaly- or policy-based.
  • A load balancer spreads requests across servers and uses health checks to skip failed ones.
  • A forward proxy acts for clients; a reverse proxy acts for servers. Every appliance can be physical hardware or a virtual appliance.

Exam tips

How the exam asks about this

Questions describe a situation and expect you to recognize the concept behind it.

If the question mentions…Think
MAC address table, frames, floodingSwitch (Layer 2)
Routing table, IP addresses, connecting networksRouter (Layer 3)
Allow or deny rules; replies allowed automaticallyStateful firewall
Monitors a copy of traffic and sends alertsIDS
Inline device that drops malicious trafficIPS
Spreads requests across servers with health checksLoad balancer
Filters and caches web requests for usersForward proxy
Receives internet requests for the web servers behind itReverse proxy

Common traps

  • An IDS can't stop an attack by itself. If the question says block or prevent, think IPS (or a firewall), not IDS.
  • Switches don't separate broadcast domains by default; routers do (and VLANs, in a later lesson).
  • Signature-based detection misses brand-new attacks; anomaly-based detection can catch them but raises more false positives.
  • Read which side the proxy is on: a forward proxy serves clients, a reverse proxy serves servers.

Practice

Exam-style questions

Answer each one before you open the explanation.

Question 1. Which device forwards frames using a table of MAC addresses?

  1. Router
  2. Switch
  3. Firewall
  4. Load balancer
Show answer

B. Switch. A switch learns MAC addresses into its MAC address table and forwards frames at Layer 2. A router forwards packets by IP address at Layer 3.

Question 2. A security team wants a device that sits inline and automatically drops traffic matching known attack patterns. Which device should it deploy?

  1. IDS
  2. Forward proxy
  3. IPS
  4. Switch
Show answer

C. IPS. An IPS is inline, so it can block traffic. An IDS only watches a copy of the traffic and alerts, so it can't stop the attack itself.

Question 3. A company's website runs on four web servers. It wants incoming requests spread across them and failed servers skipped automatically. What should it use?

  1. A load balancer
  2. A router
  3. An IDS
  4. A forward proxy
Show answer

A. A load balancer. Load balancers distribute requests across a group of servers and use health checks to stop sending traffic to servers that fail.

Question 4. Which type of firewall allows replies to connections that started inside the network without needing a separate inbound rule?

  1. Stateless packet filter
  2. Stateful firewall
  3. Forward proxy
  4. Network-attached storage
Show answer

B. Stateful firewall. A stateful firewall tracks connections, so it recognizes replies to traffic that started inside. A stateless filter checks every packet against the rules on its own.

Question 5. Which TWO statements about anomaly-based detection are true? (Select TWO.)

  1. It can detect attacks that have never been seen before
  2. It only matches traffic against known attack signatures
  3. It compares traffic with a baseline of normal behavior
  4. It never produces false positives
  5. It is another name for a stateless firewall
Show answer

A. It can detect attacks that have never been seen before and C. It compares traffic with a baseline of normal behavior. Anomaly-based detection learns normal behavior and flags deviations, so it can catch new attacks, at the cost of more false positives. Matching known patterns is signature-based detection.

Transcript

Lesson transcript

The full narration, scene by scene. The captions file contains the same text with timings.

Scene 1 · 0:00

Lesson 2: Network appliances. Welcome to lesson two. Objective 1.2 asks you to compare networking appliances, applications and functions. In this lesson, we'll cover the appliances that move traffic, switches and routers, and the ones that protect and manage it: firewalls, intrusion detection and prevention systems, load balancers and proxies. Storage, wireless, and functions like VPN and quality of service come in the next lesson.

Scene 2 · 0:30

Switch: forwarding frames inside a network. We'll follow a small office network. The office computers plug into a switch. A switch works at Layer 2 and forwards frames using MAC addresses. It learns which device is on each port by reading source addresses, and builds a MAC address table. If it doesn't know a destination, or the frame is a broadcast, it floods it out of every port. Each port is its own collision domain, but all ports share one broadcast domain.

Scene 3 · 0:58

Router: moving packets between networks. To reach other networks, such as the internet, traffic goes through a router. A router works at Layer 3 and forwards packets using IP addresses. It looks up each destination in its routing table and picks the best path, often a default route toward the internet provider. Routers don't forward broadcasts, so each router interface separates broadcast domains. A multilayer switch combines both jobs: it switches frames and can also route between networks.

Scene 4 · 1:29

Firewall: allow or deny by rules. Between the office and the internet sits a firewall. A firewall permits or denies traffic based on rules, such as allowing web traffic out on port 443 and blocking everything else coming in. A stateless firewall checks each packet on its own. A stateful firewall tracks connections, so replies to traffic that started inside are allowed back automatically. Next-generation firewalls go further and recognize applications, at Layer 7.

Scene 5 · 1:59

IDS vs. IPS: detect, or detect and block. Firewalls follow rules, but some attacks look like normal traffic. That's where intrusion detection and prevention come in. An intrusion detection system, or IDS, watches a copy of the traffic, for example from a switch's mirror port, and alerts administrators when it spots something suspicious. An intrusion prevention system, or IPS, sits inline, so all traffic passes through it, and it can block the attack itself. The trade-off: a mistaken IPS can block legitimate traffic too.

Scene 6 · 2:33

How IDS and IPS spot attacks. How do they spot attacks? Signature-based detection compares traffic with patterns of known attacks, much like antivirus software. It's accurate for known threats, but it misses brand-new ones. Anomaly-based detection learns what normal traffic looks like and flags anything unusual, which can catch new attacks but produces more false positives. Policy-based detection flags traffic that breaks the rules your organization has defined.

Scene 7 · 3:03

Load balancer: sharing the work. Now the server side. The office runs its website on several web servers. A load balancer sits in front of them and spreads incoming requests across the group. It also runs health checks: if a server stops responding, the load balancer stops sending it traffic until it recovers. Users see one address and one website, while the work is shared, which improves both performance and availability.

Scene 8 · 3:30

Proxy: acting on someone's behalf. A proxy server makes requests on behalf of someone else. A forward proxy acts for clients: office computers send their web requests to the proxy, which can filter websites, cache popular content and hide internal addresses. A reverse proxy acts for servers: it receives requests from the internet and passes them to the servers behind it, often caching content or handling encryption. Many load balancers also work as reverse proxies.

Scene 9 · 4:02

Physical or virtual appliances. Every appliance in this lesson comes in two forms. A physical appliance is dedicated hardware, built for performance. A virtual appliance does the same job as software running on a virtual machine, such as a virtual router, firewall or load balancer. Virtual appliances can be deployed in minutes, copied and moved, and they run in data centers and in the cloud. You'll meet this idea again as network functions virtualization.

Scene 10 · 4:31

How the exam asks about this. On the exam, match the clue to the device. MAC addresses and frames point to a switch. IP addresses and paths between networks point to a router. Allow and deny rules mean a firewall. Detect and alert is an IDS; detect and block, inline, is an IPS. Spreading requests across servers is a load balancer. And making requests on behalf of clients or servers is a proxy.

Scene 11 · 5:00

Recap: network appliances. To recap: switches forward frames inside a network using MAC addresses, and routers forward packets between networks using IP addresses. Firewalls permit or deny traffic by rules. An IDS detects and alerts, while an inline IPS can also block. Load balancers share work across servers, and proxies act on behalf of clients or servers. Next, we'll finish objective 1.2 with storage, wireless and network functions.

Download captions (WebVTT)

Sources and accuracy

Checked against the official CompTIA N10-009 exam objectives and the standards below on October 24, 2026. Diagrams and addresses in the animation are illustrative.

This free course is independent and isn't affiliated with or endorsed by CompTIA. CompTIA and Network+ are trademarks of CompTIA, Inc.

← Lesson 1The OSI Model and Encapsulation
Lesson 3Arrives

Preparing a team for Network+?

I run hands-on networking and cloud training for teams, built around your own environment and goals.