~/netref / Devices & Appliances
##

Devices & Appliances

Every box on the network and the OSI layer it operates at — from dumb hubs to L7 application appliances.

DeviceLayerRole
HubL1Repeats bits to all ports — one collision domain (legacy)
SwitchL2Forwards frames by MAC; per-port collision domain
RouterL3Routes packets between networks by IP
L3 SwitchL2/3Switching + inter-VLAN routing via SVIs
FirewallL3–7Filters traffic by policy, state and app
NGFWL3–7Firewall + IPS + app/identity awareness
Load balancerL4–7Distributes sessions across servers
IDS / IPSL3–7Detects (IDS, out-of-band) or blocks (IPS, inline)
ProxyL7Intermediary — forward (clients) or reverse (servers)
WAFL7Filters web-app attacks (SQLi / XSS)
Access PointL2Bridges Wi-Fi clients onto the wired LAN
WLCManages many APs centrally over CAPWAP
ModemL1Modulates digital ↔ carrier medium

// key distinctions

  • Collision domain = switch port · Broadcast domain = VLAN
  • Router/L3 switch separate broadcast domains
  • IDS watches a copy (SPAN); IPS sits inline and drops
  • Forward proxy hides clients; reverse proxy fronts servers
// collision & broadcast domains
DeviceCollision domainsBroadcast domainsBehaviour
Hub1 (shared)1Everything collides — half duplex
Switch1 per port1 per VLANMicro-segments collisions; floods broadcast
Router / L3 switch1 per port1 per interfaceStops broadcasts — segments both domains
// firewall types
TypeLayerWhat it does
Packet filterL3/L4Stateless — matches IP/port per packet (ACL)
StatefulL4Tracks connection state in a session table
NGFW / UTML7Adds app awareness, IPS, URL & malware filtering
Proxy firewallL7Terminates & re-originates the session
WAFL7Protects web apps (SQLi, XSS, OWASP)
// IDS vs IPS
IDSIPS
PlacementOut-of-band (SPAN / tap)Inline in the traffic path
ActionAlerts onlyAlerts + blocks / drops
LatencyNone (passive)Adds some delay
RiskMisses live attacksFalse positive can drop good traffic
DetectionSignature + anomalySignature + anomaly
// load-balancing methods
Round-robinEach server in turn — simplest
WeightedBigger servers take a larger share
Least-connectionsSend to the least-busy server
IP hashHash of client IP → session stickiness
L4 vs L7L4 routes by IP/port; L7 inspects HTTP/URL/cookies