## RJ-45 (RJ = Registered Jack) The RJ-45 connector is used at the end of a copper ethernet cable. ## Network Speed Speed is measured in bits per second (Kbps, Mbps, Gbps, etc), not bytes per second. Data reaches destination device one bit at a time. * 1 kilobit (Kb) = 1 thousand bits * 1 megabit (Mb) = 1 million bits * 1 gigabit (Gb) = 1 billion bits * 1 terabit (Tb) = 1 trillion bits ## Ethernet Ethernet is a collection of network protocols/standards. Network protocols specify a common language for multiple devices to communicate with each other. #### Ethernet Standards * Ethernet standards are defined in the IEEE 802.3 standard in 1983. * IEEE = Institute of Electrical and Electronics Engineers. ![copper ethernet standards](./img/copper-ethernet-standards.png) * BASE = baseband signaling * T = twisted pair Below are a few cable standards: - **Cat 3** - 10 Mbps (10BASE-T) - **Cat 5** - 100 Mbps (100BASE-T) - **Cat 5e** - 1 Gbps (1000BASE-T) - **Cat6a** - 10 Gbps (10GBASE-T) ## UTP Cables UTP stands for unshielded twisted pair. This type of cable is vulnerable to electromagnetic interference (EMI) because it has no shielding. The twist actually helps protect agains EMI. * **Speeds of 100 Mbps or less only require 2 pairs (4 wires)**. * **Speeds Greater than 100 Mbps require 4 pairs (8 wires)**. ![rj-45 cables](./img/rj-45-wires.png) #### Full Duplex Connection Full-Duplex allows devices to send and receive data at the same time without problems like collisions. This is due to the fact that they use separate cables to transmit and receive data. ![](./img/rj-45-two-pairs.png) #### Straight-through Connection A straight-through cable connects to the same pins on both ends of the connection between two devices. This type of cable is used for communication between two devices that transmit and receive data on different pins. ![rj-45 straight through cable](./img/rj-45-straight-through-cable.png) #### Crossover Cable Connection Crossover cable is used for communication between two devices that send and receive data on the same pins. ![crossover cable](./img/rj-45-crossover-cable.png) #### UTP Cable Transmit-Receive Relation ![devices transmit and receive cables](./img/rj-45-transmit-receive.png) #### UTP Four Wire Pairs **Speeds greater than 100BASE-T require all 8 wires be used**. Higher speeds are supported due to the fact that each pair is bidirectional rather than each pair sending data in a single direction. ![utp 8 wires](./img/rj-45-four-pairs.png) ## Auto MDI-X Most modern networking devices have evolved beyond having to worry about straight-through and crossover cables. Auto MDI-X allows networking devices to automatically pick which pins will be used for transmitting and receiving data based on the pins being used by the neighbor connected device. ## Fiber-Optic Connections #### Structure of Fiber Cable ![fiber glass cable structure](./img/fiber-optic-cable-structure.png) #### Multimode Fiber * Core diameter is wider than single-mode fiber. * Allows multiple angles (modes) of light waves to enter the fiberglass core. * Allows longer cables than UTP, but shorter cables than single-mode fiber. * Cheaper than single-mode fiber (due to cheaper LED-based SFP transmitters). #### Single-mode * Core diameter is narrower than multimode fiber. * Light enters at a single (mode) from a laser-based transmitter. * Allows longer cables than both UTP and multimode fiber. * More expensive than multimode fiber (due to more expensive laser-based SFP transmitters). #### Transmit and Receive Data Fiber-optic cables send light over glass fibers rather than electrical signals over copper wires. One cable is two wires, each with its own connector. One is used for sending data and the other is used for receiving data. ![fiber optic cable](./img/fiber-optic-cable.png) #### SFP (Small Form-Factor Pluggable) Connector at the end of a fiber-optic cable that is plugged into networking device. #### Fiber-Optic Cable Standards ![fiber optic cable standards](./img/fiber-optic-cable-standards.png) ## UTP VS Fiber-Optic Cabling ![utp vs fiber-optic cabling](./img/utp-fiber-comarison.png)