LANs, WANs, and LAN components

LAN

A network of endpoints and components close together in a limited area: a campus, a building, an office suite, a home. Size varies wildly, from two computers in a home office to hundreds across multiple buildings.

The organization typically builds and owns the whole thing, down to the physical cabling.

Ethernet won the LAN transport war in the early 90s. Bandwidth has scaled from shared-media 10 Mbps to 400 Gbps (Nexus 9000 data center switches).

WAN

A WAN provides access to other networks across a large geographic area, using facilities from an ISP or carrier (the phone or cable company). You lease, you don’t own.

The provider connects your sites to each other, to other organizations, to external services, and to remote users. It carries voice, data, and video.

LAN vs. WAN in one line: LANs have higher data rates, a smaller area, and no leased lines. WANs are the opposite on all three.

What lives in a LAN

A small LAN might be one switch. A large office LAN is multiple interconnected switches forming an L2 topology.

Access ports and the voice VLAN trick

A switch port connecting to an end-user device is an access port, usually assigned to a VLAN. PC traffic on its VLAN (say VLAN 50) goes untagged.

The VoIP rollout trick: instead of recabling the building, the phone plugs into the existing wall port and the PC plugs into the phone. One cable, two devices.

Traffic is separated by putting the phone on a voice VLAN (say 150), which is tagged. The phone knows how to tag; the PC’s untagged traffic stays on VLAN 50.

Why switches beat hubs

A hub was a Layer 1 device with zero intelligence. Every connected device shared the same wire and bandwidth: constant collisions, no privacy, inefficient.

On a switch, every port is its own segment, its own collision domain.

Switch characteristics

Catalyst switch roles

Single rack-unit switches (the 2000/3000 series) are typically access layer. The Catalyst 9000 series is typically core: high port density, large frame buffers, speed variety (10/40 Gb), fast internal switching, low per-port cost.