Interfaces and Cables
Network Basics and Data Measurements
- Concept: Network devices communicate using standardized protocols (like Ethernet) and physical interfaces. Data transmission speed is measured in bits, while data storage is measured in bytes.
- Details:
- Bit: A binary value (0 or 1). Network speed is measured in bits per second (bps).
- Byte: Consists of 8 bits.
- RJ-45: Registered Jack 45, the standard physical connector for copper Ethernet cables.
- Ethernet: A collection of network protocols and standards defined by the IEEE (Institute of Electrical and Electronics Engineers).
Data Speed Measurements:
| Unit | Equivalent in Bits | Zeros |
|---|---|---|
| 1 Kilobit (Kb) | 1,000 bits | 3 |
| 1 Megabit (Mb) | 1,000,000 bits | 6 |
| 1 Gigabit (Gb) | 1,000,000,000 bits | 9 |
| 1 Terabit (Tb) | 1,000,000,000,000 bits | 12 |
Things to note: Network speed is measured in bits per second (e.g., Gigabits per second), whereas hard drive storage is measured in bytes (e.g., Gigabytes). 1 Byte = 8 bits, meaning a Gigabyte is 8 times larger than a Gigabit.
Copper Ethernet Standards (IEEE 802.3)
- Concept: Ethernet standards define the speed, naming conventions, and maximum cable lengths for copper twisted-pair cables.
- Details:
- BASE: Stands for Baseband signaling.
- T: Stands for Twisted pair cabling.
- Maximum Length: All standard twisted-pair copper cables have a maximum distance of 100 meters.
| Speed | Common Name | IEEE Standard Family | Informal Name | Max Distance |
|---|---|---|---|---|
| 10 Mbps | Ethernet | IEEE 802.3 | 10BASE-T | 100 meters |
| 100 Mbps | Fast Ethernet | IEEE 802.3 | 100BASE-T | 100 meters |
| 1 Gbps | Gigabit Ethernet | IEEE 802.3 | 1000BASE-T | 100 meters |
| 10 Gbps | 10 Gigabit Ethernet | IEEE 802.3 | 10GBASE-T | 100 meters |
UTP Cabling and Pinouts
- Concept: UTP (Unshielded Twisted Pair) is the standard copper cable used in Ethernet. It consists of 4 pairs (8 wires) of copper twisted together to protect against EMI (Electromagnetic Interference).
- Details:
- Unshielded: Lacks a metallic shield, making it inherently vulnerable to EMI (though the physical twists mitigate this).
- RJ-45 Connector: Has 8 pins to match the 8 wires in the UTP cable.
- 10BASE-T & 100BASE-T: Only use 2 pairs (4 wires): Pins 1, 2, 3, and 6.
- 1000BASE-T & 10GBASE-T: Use all 4 pairs (8 wires). Each pair is bidirectional (not dedicated strictly to Transmit or Receive).
Device Pinout Rules (for 10/100 Mbps):
| Device Type | Transmit (Tx) Pins | Receive (Rx) Pins |
|---|---|---|
| PC / Server | 1 and 2 | 3 and 6 |
| Router | 1 and 2 | 3 and 6 |
| Firewall | 1 and 2 | 3 and 6 |
| Switch | 3 and 6 | 1 and 2 |
Things to note: Routers, PCs, and Firewalls transmit on the same pins (1 & 2). Switches are the opposite; they receive on 1 & 2 and transmit on 3 & 6. This complementary design allows different device types to connect seamlessly using standard cabling.
Cable Types: Straight-Through vs. Crossover
- Concept: The type of cable required depends on whether you are connecting similar or dissimilar devices.
- Details:
- Straight-Through Cable: Pin 1 connects to Pin 1, Pin 2 to Pin 2, etc. Used to connect different device types (e.g., PC to Switch, Router to Switch).
- Crossover Cable: Pins 1 & 2 are crossed with Pins 3 & 6 on the opposite end. Used to connect same device types (e.g., PC to PC, Router to Router, Switch to Switch).
- Auto MDI-X: A modern feature that automatically detects the neighbor’s Tx/Rx pins and adjusts its own pins accordingly. Eliminates the need to manually choose between straight-through and crossover cables.
Things to note: If you connect two old routers (without Auto MDI-X) using a straight-through cable, they will both transmit on pins 1 & 2 and fail to communicate. A crossover cable is required to fix this. Modern devices with Auto MDI-X will operate normally regardless of the cable type used.
Fiber Optic Cabling
- Concept: Fiber optic cables transmit data as light over glass fibers rather than electrical signals over copper. They use SFP (Small Form-factor Pluggable) transceivers.
- Details:
- Fiber cables use separate physical strands for Transmit (Tx) and Receive (Rx).
- Cable Structure (from center to outer layer):
- Fiberglass Core: Transmits the light.
- Cladding: Reflects light back into the core.
- Protective Buffer: Protects the glass from breaking.
- Outer Jacket: The external protective layer.
graph LR
A[Outer Jacket] --> B[Protective Buffer]
B --> C[Cladding]
C --> D[Fiberglass Core]
Multimode vs. Single-mode Fiber:
| Feature | Multimode Fiber | Single-mode Fiber |
|---|---|---|
| Core Diameter | Wider | Narrower |
| Light Source | LED-based | Laser-based |
| Light Angles | Multiple angles (modes) | Single angle (mode) |
| Distance | Shorter than single-mode | Longest distances |
| Cost | Cheaper | More expensive |
Fiber Optic Standards
- Concept: Specific IEEE standards define the speed, fiber type, and maximum distances for fiber optic connections.
- Details:
| Standard | IEEE Definition | Speed | Fiber Type | Max Distance |
|---|---|---|---|---|
| 1000BASE-LX | 802.3z | 1 Gbps | Multimode / Single-mode | 550 m (MM) / 5 km (SM) |
| 10GBASE-SR | 802.3ae | 10 Gbps | Multimode | 400 meters |
| 10GBASE-LR | 802.3ae | 10 Gbps | Single-mode | 10 kilometers |
| 10GBASE-ER | 802.3ae | 10 Gbps | Single-mode | 30 kilometers |
Things to note: For distances around 150 meters, Multimode fiber is the most cost-effective choice. For distances of 3 kilometers or more, Single-mode fiber is required, despite being more expensive.
Comparison: UTP vs. Fiber Optic Cabling
- Concept: Choosing between copper (UTP) and fiber depends on distance, budget, and security requirements.
| Feature | Copper UTP | Fiber Optic |
|---|---|---|
| Cost | Cheaper (cables and RJ-45 ports) | More expensive (cables and SFP ports) |
| Max Distance | 100 meters | Kilometers (depending on standard) |
| EMI Vulnerability | Vulnerable (twists help mitigate) | Immune to EMI |
| Security | Emits faint signal (potential leak risk) | No signal leakage (highly secure) |
| Typical Use Case | Connecting end hosts on the same floor | Connecting switches between buildings/cities |
Exam Scenarios and Common Misconceptions
- Connecting two old routers: If they lack Auto MDI-X, a straight-through cable will fail because both transmit on pins 1 & 2. You must use a crossover cable.
- Distance vs. Cost (150 meters): UTP is limited to 100m. Single-mode is too expensive for this short distance. Multimode fiber is the correct, cost-effective choice.
- Distance vs. Cost (3 kilometers): Multimode fiber cannot reach 3km. Single-mode fiber is required, despite the higher cost.
- Auto MDI-X behavior: If modern switches with Auto MDI-X are connected with a straight-through cable, they will operate normally. Auto MDI-X automatically adjusts the Tx/Rx pins.
- Connecting end hosts: For connecting many PCs to a switch on the same floor, UTP is the standard and correct choice, as most hosts lack fiber SFP ports.
Commands and Key Syntax Summary
No CLI commands were covered in this lesson. Below is a summary of the critical technical rules and standards to memorize for the exam.
PINOUT RULES (10/100 Mbps):
- PC / Router / Firewall : Tx on Pins 1 & 2 | Rx on Pins 3 & 6
- Switch : Tx on Pins 3 & 6 | Rx on Pins 1 & 2
CABLE SELECTION RULES:
- Different devices (PC to Switch) = Straight-through
- Same devices (Router to Router) = Crossover
- Modern devices = Auto MDI-X (Any cable works)
WIRE USAGE RULES:
- 10/100 Mbps (10BASE-T / 100BASE-T) = 4 wires (Pins 1, 2, 3, 6)
- 1/10 Gbps (1000BASE-T / 10GBASE-T) = 8 wires (All pins, bidirectional)
DISTANCE LIMITS:
- UTP = 100 meters max
- Multimode Fiber = Hundreds of meters (e.g., 400m - 550m)
- Single-mode Fiber = Kilometers (e.g., 5km - 30km+)