Networking Fundamentals —
Physical Layer
Networks, NICs, Ethernet, cable categories, topologies, and network devices — the complete foundation of every computer network.
What is a Network?
A network is a collection of devices connected together for the purpose of exchanging data. The primary goal is to allow devices to communicate and share resources — files, printers, Internet access, databases, applications, and video streams.
NIC — Network Interface Card
A NIC is the hardware component that allows a device to connect to a network. Without a NIC, a computer cannot communicate with any other device. The NIC converts binary data (0 and 1) into signals that travel across the network medium — electrical (Ethernet), radio waves (WiFi), or optical (Fiber).
MAC Address
Every NIC has a unique MAC (Media Access Control) Address burned in by the manufacturer — think of it as a device’s permanent identity card. It never changes, unlike an IP address which identifies where a device is located on the network and can change.
| Identifier | Purpose | Set by | Changes? |
|---|---|---|---|
| MAC Address | Device Identity | Manufacturer (hardware) | Never |
| IP Address | Device Location in network | Network / DHCP | Yes (dynamic) |
Ethernet
Ethernet is the most widely used wired networking technology in the world. Whenever a device connects using an RJ45 cable, Ethernet is typically being used. It defines how devices communicate, electrical signaling, frame formats, and error detection.
Ethernet Speeds
Ethernet evolved from 10 Mbps to 400 Gbps as applications grew. Early Internet only needed to handle text and email. Modern demands — 4K video, cloud storage, AI workloads, and large downloads — made higher bandwidth necessary at every generation.
Ethernet Cable Categories
Not all cables support the same speeds. Choose based on your bandwidth and distance requirements. Cat6a is the standard for new enterprise deployments, delivering full 10 Gbps over long distances. Cat8 is designed for 25–40 Gbps in datacenter environments.
Straight-Through, Crossover & Auto MDI-X
Older Ethernet required different cable types depending on the device pairing. Straight-through cables connect dissimilar devices (PC → Switch). Crossover cables connect similar devices (PC → PC, Switch → Switch).
Auto MDI-X (Automatic Medium Dependent Interface Crossover) eliminates this requirement completely — modern devices detect cable wiring and swap TX/RX pairs internally. Cable type rarely matters today.
Network Topology
Topology describes how devices are physically or logically connected. Common types include Bus (shared cable), Ring (each device connects to two neighbors), Mesh (devices connect to many others), and Star (all connect to a central device).
Modern LANs overwhelmingly use Star Topology.
Star Topology
Every device connects to a central switch. If one cable fails, only that single device loses connectivity — the rest of the network is unaffected. This is the industry standard for every modern LAN.
Easy Troubleshooting
One cable fails → only one device disconnects.
Easy Expansion
Add new devices without disrupting existing ones.
Better Performance
Dedicated paths between each device and the switch.
Improved Reliability
No single cable failure takes down the whole network.
Network Devices: Hub, Bridge & Switch
Hub — The Loudspeaker
A hub is an older networking device. When any device sends data, the hub broadcasts it to every connected device regardless of the destination. This causes three major problems: poor security (everyone sees all traffic), more collisions (simultaneous transmissions interfere), and lower performance (unnecessary traffic everywhere).
Bridge — Layer 2 Segment Connector
A bridge is a Layer 2 device that connects two Ethernet segments. It learns MAC addresses and builds a table mapping each address to a side (Left or Right). Frames are forwarded intelligently — only to the side where the destination device lives. Both segments remain in the same IP network with no routing required.
Switch — The Multi-Port Bridge
A switch is essentially a multi-port bridge — the modern evolution of networking devices. It builds a MAC address table (MAC → Port) and delivers each frame only to the specific port where the destination device is connected. Modern switches have largely replaced dedicated bridges in all practical deployments.
Switches give: better performance (dedicated paths), better security (devices only receive their own traffic), and reduced unnecessary traffic (no broadcasting to everyone).
Part 1 Summary
- Network — collection of devices exchanging data and sharing resources (files, printers, Internet, apps).
- NIC — hardware that connects a device to a network; converts binary data to signals (electrical/radio/optical).
- MAC Address — unique 48-bit hardware ID burned in by manufacturer; identifies the device, never changes.
- IP Address — logical address identifying device location on a network; assigned dynamically, can change.
- Ethernet — the dominant wired networking standard, evolved from 10 Mbps to 400 Gbps.
- Cable categories — Cat5e (1G), Cat6 (10G short), Cat6a (10G full), Cat8 (25–40G datacenter).
- Auto MDI-X — modern devices automatically detect and correct cable wiring; cable type rarely matters.
- Star topology — all devices connect to a central switch; fault isolation, easy expansion, standard for modern LANs.
- Hub — broadcasts to everyone; obsolete due to poor security, collisions, and performance.
- Bridge — Layer 2 device connecting two segments using a learned MAC-to-side table.
- Switch — multi-port bridge; forwards frames only to the correct destination port using a MAC address table.
Networking Fundamentals — Part 1: Physical Networking Foundations