Fundamentals of Ethernet LANS Flashcards
Ethernet LAN switch
A device which provides many physical ports into which cables can be connected
Ethernet Products
- 10 Mbps | Ethernet | 10Base T | 802.3 | Copper 100m
- 100 Mbps | Fast Ethernet | 100Base T | 802.3u | Copper 100m
- 1000 Mbps | Gigabit Ethernet | 1000Base LX | 802.3z | Fiber 5000m
- 1000 Mbps | Gigabit Ethernet | 1000Base T | 802.3ab | Copper 100m
- 10 Gbps | 10 Gig Ethernet | 10GBase T | 802.3an | Copper 100m
What is an Ethernet LAN
It is a combination of user devices, LAN switches, and different kinds of cabling. Each link can use different types of cables, at different speeds
Components of Transmitting Data using Twisted Pair (UTP - Unshielded Twisted Pairing)
- Creating an electrical circuit - A electrical circuit requires a complete loop, so the two nodes, using circuitry on their Ethernet ports, connect the wires in one PAIR to complete a loop, allowing electricity to flow
- To send data, the two devices follow some rules called an encoding scheme
Problem with TP
- Value of twisting - when electrical current passes over any wire, it creates electromagnetic interference (EMI) that interferes with the electrical signals in nearby wires (Crosstalk), Twisting helps cancel most of the EMI
- Issue of wiretapping
- Distance restriction
Components Of A UTP Ethernet Link
Ethernet link refers to any physical cable between two Ethernet nodes
- UTP cable, holds some copper wires grouped as twisted pair, color coded
- RJ 45 connectors, has 8 physical location into which 8 wires in the cable can be inserted called pin positions
- NIC card with ports
Straight Through Cable Pinout (10Base T & 100Base T) (Setup) (Host & Switch)
2 pairs of wires in a UTP cable, One for each direction
As a rule, Ethernet NIC transmitters (Host) use the pair connected to pins 1 and 2; the NIC receivers
use a pair of wires at pin positions 3 and 6.
LAN switches, knowing those facts about what
Ethernet NICs do, do the opposite: Their receivers use the wire pair at pins 1 and 2, and their
transmitters use the wire pair at pins 3 and 6
Pinout config: 1-1, 2-2, 3-3, 4-4
Crossover Cable
Pinout config: 1-3 2-6 3-1 6-2
10Base T & 100Base T Pin Pairs
Transmit on Pins 1,2
PC NICs
Router
Wireless AP
Transmits on Pins 3,6
Hubs
Switches
Rule of cabling pinout logic
Crossover cable: if the endpoints transmit on the same pin pair
Straight through cable: If the endpoints transmit on different pin pairs
UTP cabling pinouts for 1000Base T
1000BaseT requires 4 wire pairs
Straight through config:
1-1, 2-2, 3-3, 6-6, 4-4, 5-5, 7-7, 8-8 (Order is important)
Crossover config:
1-3, 2-6, 4-5, 7-8, 3-1, 6-2, 5-4, 8-7
Fiber Cabling
Uses glass as medium which light passes, varying that light over time to encode 0s and 1s
Made out of 5 layers
- Outer Jacket
- Strengthener
- Buffer
(Light Transmission Components)
- Cladding, reflects light internally to travel through the core
- Core
Optical transmitter, shines a light into the core, light passes through it
Disadvantages of fiber
- Brittle, Breaks easily
2. Hard, difficult to bend
Types of Fiber Cabling
Multimode Fiber, Single Mode Fiber
Multimode Fiber
Characterized by the fact that the cable allows for multiple angles of light waves entering the core, Uses a larger core
Single mode Fiber
Uses a smaller diameter core, around 1/5 the diameter of common multimode cables, Uses a laser based transmitter which sends a light at a single angle
Multimode Vs Single
MM - Improves maximum distance over UTP, Less expensive
SM - 10GB Ethernet over Fiber allow for distances up to 400m, allows distances into tens of kilometer, Slightly more expensive hardware
UTP Vs Fiber
UTP, work poorly in some electrically noisy environment, can be affected by electromagnetic interference, emit faint signal outside the cable
Fiber, Improves distance, faster, does not create faint signal emission (network more secure)
Criteria | UTP | MM | SM
Cost of Cabling Low Medium Medium
Cost of Switch Port Low Medium High
Max Distance 100m 500m 40km
Interference | Some | None | None
Copying Emission | Some | None | None
Ethernet Data Link Protocol Frame Format
Ordered
- Preamble | 7 Bytes | Synchronization
- Start Frame Delimiter | 1 Bytes | Signifies next byte begins the Destination MAC address field
- Destination MAC Field | 6 Bytes | Address of intended recipient
- Source MAC Field | 6 Bytes | Address of sender
- Type | 2 Bytes | Defines the type of protocol listed inside the frame. IPv4 Or IPv6
- Data & Pads | 46-1500 Bytes | Holds data from a higher layer
- Frame Check Seq | 4 Bytes | Error detection capabilities
Ethernet Address (MAC address)
6 byte long, usually represented as 12 digit hexadecimal numbers.
Eg. 0000.0C12.3456
Most MAC addresses represent a single NIC, so these addresses are often called a UNICAST Ethernet address
What is Unicast addresses?
The term unicast is simply a formal way to refer to the fact that address represents one interface to the Ethernet LAN
Sending to a single device
How does MAC address establishes uniqueness?
MAC address 6 bytes
3 Bytes - Unique 3 byte code given by IEEE, Organizationally Unique Identifier (OUI)
3 Bytes - Given by Manufacturer
MAC Address
OUI Vendor Size in bits 24 Bits 24Bits Size in hex 6 Hex 6 Hex Example 00602F 3A07BC
Universal address, Group address
Universal address emphasizes the fact that the address assigned to a NIC by a manufacturer should be unique
Group addresses identify more than one LAN interface card. A frame sent to a group address might be delivered to a small set of devices on the LAN
( Broadcast Address, Multicast Address )
Broadcast address, Multicast address
Broadcast address: Frames sent to this address should be delivered to ALL devices on the Ethernet LAN, Has a value of FFFF.FFFF.FFFF
Multicast address: Frames sent to a multicast Ethernet address will be copied and forwarded to a SUBSET of the devices on the LAN