Fundamentals of Ethernet LAN Flashcards
Ethernet
Family of LAN standards with standard names that begin with 802.3 that together define the physical and data-link layers of the world’s most popular WIRED LAN technology
Wireless LANs
Defined by the IEEE using standards that begin with 802.11, use radio waves to send the bits from one node to the next
Unshielded Twisted Pair (UTP)
Transmits data over electrical circuits via the copper wires inside the cable.
Suffix includes T (Twisted pairs)
Up to 100 meters
Fiber-optic
Sends light over glass fibers in the center of the cable.
Although more expensive, optical cables typically allow longer cabling distances between nodes.
Suffix includes X
Ethernet header and trailer
Bytes of overhead data that Ethernet uses to do its job of sending data over a LAN, with the same format no matter the speed or the medium
Ethernet Frame
Refers to the header and trailer of a data-link protocol, plus the data encapsulated inside that header and trailer
10BASE-T
Standard Ethernet 10Mbps
2 pairs of wires
100BASE-T
Fast Ethernet (FE) 100Mbps 2 pairs of wires
1000BASE-T
Gigabit Ethernet (GE)
1000Mbps
4 pairs of wires
Electro Magnetic Interference (EMI)
When electrical current passes over any wire, it creates electromagnetic interference that interferes with the electrical signals in nearby wires, including the wires in the same cable.
Crosstalk
Electro Magnetic Interference (EMI) between wire pairs in the same cable
Ethernet link
Any physical cable between two Ethernet nodes
Network Interface Card (NIC)
Standard name for PC network Card
Gigabit Ethernet Interface Converter (GBIC)
The original form factor for a removable transceiver for Gigabit interfaces
Small Form Pluggable (SFP)
The replacement for GBICs, used on Gigabit interfaces, with a smaller size, taking less space on the side of the networking card or switch
Small Form Pluggable Plus (SFP+)
Same size as the SFP, but used on 10-Gbps interfaces.
10BASE-T and 100BASE-T Straight-Through Cable Pinout
For transmission, pin 1 and 2 on one end of the cable to pin 1 and 2 at the other end of the cable
For receiving, pin 3 and 6 on one end of the cable to pin 3 and 6 at the other end of the cable
10BASE-T and 100BASE-T Crossover Cable Pinout
Pin 1 and 2 on one end of the cable to pin 3 and 6 at the other end of the cable, and viceversa
Straight-through vs Crossover cable
Straight-through cable, if the endpoints transmit on different pin pairs
Crossover cable, if the endpoints transmit on the same pin pairs
Devices which transmit on Pins 1,2
PC NICs
Routers
Wireless access point (Ethernet interface)
Devices which transmit on Pins 3,6
Hubs
Switches
Auto mdix
Cisco switches feature that notices when the wrong cable is used and automatically changes its logic to make the link work
1000BASE-T Cable Pinout
1,2 > 3,6
4,5 > 7,8
Multimode fiber
The cable allows for multiple angles (modes) of light waves emitted by a LED trasmitter entering the core
Single mode fiber
To transmit light into a much smaller core, a laser-based transmitter sends light at a single angle (hence the name single-mode)
Smaller-diameter core, around one-fifth the diameter of common multimode cables
Fiber transmission between devices
Two cables, one for each direction, like having two electrical circuits with the original UTP Ethernet standards.
Transmit port on one device connects to a cable that connects to a receive port on the other device, and vice versa with the other cable
Comparisons Between UTP, MM, and SM
Relative Cost of Cabling Low > Medium > Medium
Relative Cost of a Switch Port Low > Medium > High
Approximate Max Distance 100m > 500m > 40km
Relative Susceptibility to Interference Some > None > None
Relative Risk of Copying from Cable Emissions Some > None > None
Ethernet Frame Format
Header Preamble (7) SFD (1) Destination (6) Source (6) Type (2)
Data and Pad (46-1500)
Trailer
FCS (4)
Ethernet Frame Header - Preamble
Synchronization (7 bytes)
Ethernet Frame Header - Start Frame Delimiter (SFD)
Signifies that the next byte begins the Destination MAC Address field (1 byte)
Ethernet Frame Header - Destination MAC Address
Identifies the intended recipient of this frame (6 bytes)
Ethernet Frame Header - Source MAC Address
Identifies the sender of this frame (6 bytes)
Ethernet Frame Header - Type
Defines the type of protocol listed inside the frame
Today, most likely identifies IP version 4 (IPv4) or IP version 6 (IPv6)
(2 bytes)
Ethernet Frame - Data and Pad
Holds data from a higher layer, typically an L3PDU (usually an IPv4 or IPv6 packet).
The sender adds padding to meet the minimum length requirement for this field (46-1500 bytes)
Ethernet Frame Trailer - Frame Check Sequence (FCS)
Provides a method for the receiving NIC to determine whether the frame experienced transmission errors (4 bytes)
Maximum Transmission Unit (MTU)
The maximum Layer 3 packet that can be sent over a medium.
Because the Layer 3 packet rests inside the data portion of an Ethernet frame, 1500 bytes is the largest IP MTU allowed over an Ethernet.
Media Access Control (MAC)
6-byte-long binary numbers.
For convenience, most computers list MAC addresses as 12-digit hexadecimal numbers.
Cisco devices typically add some periods to the number for easier readability as well (0000.0C12.3456)
Organizationally unique identifier (OUI)
Universally unique 3-byte code assigned to the manufacturer by IEEE
Ethernet address aliases
LAN address Hardware address Burned-in address (BIA) Physical address Universal address MAC address.
Unicast address
A term for a MAC address that represents a single LAN interface
Broadcast address
An address that means “all devices that reside on this LAN right now.”
It has a value of FFFF.FFFF.FFFF.
Multicast address
On Ethernet, a multicast address implies some subset of all devices currently on the Ethernet LAN (that volunteers to receive frames sent to a specific multicast address.)
EtherType
Hexadecimal number which identifies the type of network layer (Layer 3) packet that sits inside the Ethernet frame.
0800 IPv4
86DD IPv6
Error Detection with FCS
The sender applies a complex math formula to the frame before sending it, storing the result of the formula in the FCS field. The receiver applies the same math formula to the received frame. The receiver then compares its own results with the sender’s results. If the results are the same, the frame did not change; otherwise, an error occurred, and the receiver discards the frame.
Error Detection vs Error Recovery
Ethernet defines that the errored frame should be discarded, but Ethernet does not attempt to recover the lost frame. Other protocols, notably TCP, recover the lost data by noticing that it is lost and sending the data again.
Half Duplex
The device must wait to send if it is currently receiving a frame; in other words, it cannot send and receive at the same time
Full Duplex
The device does not have to wait before sending; it can send and receive at the same time
LAN Hub
Forward data using physical layer standards rather than data-link standards and are therefore considered to be Layer 1 devices. When an electrical signal comes in one hub port, the hub repeats that electrical signal out all other ports (except the incoming port)
Carrier Sense Multiple Access with Collision Detection (CSMA/CD)
Enforce rules that allow only one device to successfully send a frame at any point in time
Ethernet shared media
Refer to designs that use hubs, require CSMA/CD, and therefore share the bandwidth
Ethernet point-to-point
In a network built with switches, each (point-to-point) link works independently of the others