Fundamentals of Ethernet LANS Flashcards

1
Q

Ethernet LAN switch

A

A device which provides many physical ports into which cables can be connected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Ethernet Products

A
  1. 10 Mbps | Ethernet | 10Base T | 802.3 | Copper 100m
  2. 100 Mbps | Fast Ethernet | 100Base T | 802.3u | Copper 100m
  3. 1000 Mbps | Gigabit Ethernet | 1000Base LX | 802.3z | Fiber 5000m
  4. 1000 Mbps | Gigabit Ethernet | 1000Base T | 802.3ab | Copper 100m
  5. 10 Gbps | 10 Gig Ethernet | 10GBase T | 802.3an | Copper 100m
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an Ethernet LAN

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Components of Transmitting Data using Twisted Pair (UTP - Unshielded Twisted Pairing)

A
  1. 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
  2. To send data, the two devices follow some rules called an encoding scheme
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Problem with TP

A
  1. 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
  2. Issue of wiretapping
  3. Distance restriction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Components Of A UTP Ethernet Link

A

Ethernet link refers to any physical cable between two Ethernet nodes

  1. UTP cable, holds some copper wires grouped as twisted pair, color coded
  2. RJ 45 connectors, has 8 physical location into which 8 wires in the cable can be inserted called pin positions
  3. NIC card with ports
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Straight Through Cable Pinout (10Base T & 100Base T) (Setup) (Host & Switch)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Crossover Cable

A

Pinout config: 1-3 2-6 3-1 6-2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

10Base T & 100Base T Pin Pairs

A

Transmit on Pins 1,2
PC NICs
Router
Wireless AP

Transmits on Pins 3,6
Hubs
Switches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Rule of cabling pinout logic

A

Crossover cable: if the endpoints transmit on the same pin pair

Straight through cable: If the endpoints transmit on different pin pairs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

UTP cabling pinouts for 1000Base T

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Fiber Cabling

A

Uses glass as medium which light passes, varying that light over time to encode 0s and 1s

Made out of 5 layers

  1. Outer Jacket
  2. Strengthener
  3. Buffer

(Light Transmission Components)

  1. Cladding, reflects light internally to travel through the core
  2. Core

Optical transmitter, shines a light into the core, light passes through it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Disadvantages of fiber

A
  1. Brittle, Breaks easily

2. Hard, difficult to bend

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Types of Fiber Cabling

A

Multimode Fiber, Single Mode Fiber

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Multimode Fiber

A

Characterized by the fact that the cable allows for multiple angles of light waves entering the core, Uses a larger core

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Single mode Fiber

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Multimode Vs Single

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

UTP Vs Fiber

A

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

19
Q

Ethernet Data Link Protocol Frame Format

A

Ordered

  1. Preamble | 7 Bytes | Synchronization
  2. Start Frame Delimiter | 1 Bytes | Signifies next byte begins the Destination MAC address field
  3. Destination MAC Field | 6 Bytes | Address of intended recipient
  4. Source MAC Field | 6 Bytes | Address of sender
  5. Type | 2 Bytes | Defines the type of protocol listed inside the frame. IPv4 Or IPv6
  6. Data & Pads | 46-1500 Bytes | Holds data from a higher layer
  7. Frame Check Seq | 4 Bytes | Error detection capabilities
20
Q

Ethernet Address (MAC address)

A

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

21
Q

What is Unicast addresses?

A

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

22
Q

How does MAC address establishes uniqueness?

A

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
23
Q

Universal address, Group address

A

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 )

24
Q

Broadcast address, Multicast address

A

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

25
Q

Frame Check Seq

A

An error detection mechanism which finds out whether a frame’s bits changed while crossing over an Ethernet link. If results obtained are the same, the frame did not change, else discard

Uses cyclic redundancy check (CRC)

26
Q

Error detection = Error recovery?

A

Error detection does not mean error recovery. Ethernet defines that the errored frame should be discarded but Ethernet does not attempt to recover the lost frame

Other protocol notably, TCP recover the lost data by noticing that it is lost and sending data again

27
Q

Data transfer in Modern Ethernet LAN

A
  1. PC1 builds and sends the original Ethernet frame, using its own MAC address as the source address and PC2’s MAC address as the destination address
  2. Switch SW1 receives and forward the Ethernet frame out its interface to SW2
  3. SW2 receives and forwards the Ethernet frame out its interface to PC2
  4. PC2 receives the frame, recognizes the destination MAC address as its own and processes the frame
28
Q

Duplexes

A

Half Duplex; the device must wait to send if it is currently receiving a frame, 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

29
Q

LAN hubs

A

Forwards data using physical layer standards rather than data-link standards, Consider to be Layer 1 devices

When an electrical signal comes in one hub port, the hub REPEATS that signal out all other ports

No concept of Ethernet frames, addresses, making decisions based on addresses

Downside Of Hub
1. If two or more devices transmitted a signal at the same instant, the electrical signal collides and becomes garbled

Purpose
1. Repeats all received electrical signals, Floods each frame out all other ports except incoming port. Therefore, two or more transmission either way through a hub would cause a collision

30
Q

Collision

A

Carrier sense multiple access with collision detection (CSMA/CD)

Steps:
1. A device with a frame to send listens on the line until the Ethernet is not busy

  1. When the Ethernet is not busy, the sender begins sending the frame
  2. When collision occurs, the transmitting nodes sends a jamming signal to all nodes
  3. All nodes then independently choose a random time to wait before trying again, to avoid unfortunate timing
  4. The next attempt starts again at Step 1

This type of design shares bandwidth. Enforces the rules only one device to successfully send a frame at any point in time

31
Q

WAN Tech Layers

A

WAN tech define the physical standards and data link protocols used to communicate long distances

32
Q

Types of WAN

A

Leased line WAN

Ethernet WAN

33
Q

Leased line WANs

A

Physical Details:

  1. Delivers bits in both direction ( Full duplex )
  2. At predetermined speed
  3. Uses two pairs of wires, one pair for each direction of sending data

Leased on a monthly basis

34
Q

Leased line terminology

A

Leased circuit - Electrical circuit between the two endpoints

Serial link - Bits flow serially and that routers use serial interfaces

Point to Point link - Topology stretches between two points and two points only

T1 - Specific type of leased line transmits data at 1.544Mbps

Private line - Data sent over the line cannot be copied by other telco customers, data is private

35
Q

Leased line cabling

A

Telcos put their equipment in buildings called central offices

Telcos installs cables from the CO to most every other building in the city. The telco would then configure its switches to use some of the capacity on each cable to send data in both directions, creating the equivalent of a crossover cable between the two routers

36
Q

Attributes of Leased line

A

Only provides layer 1 services. Promises to deliver bits between devices connected to the leased line. Does not define a data-link layer protocol to be used

37
Q

Data link layer protocols for Leased Line (Control the delivery of data over physical layer)

A

High Level Data Link Control (HDLC)

Point to Point Protocol (PPP)

38
Q

HDLC

A

Adopts a simple point to point topology

When one router sends and HDLC frame, the frame can go only one place: to the other end of the link

HDLC frame has address field but destination is implied

39
Q

HDLC frame format

A

Flag - List a recognizable bit pattern so that the receiving nodes realize that a new frame is arriving

Address - Identifies the destination device

Control - Mostly used for purposes no longer in use today for links between routers

Type - Identifies the type of Layer 3 packet encapsulated inside the frame

FCS - Identifies a field used by the error detection process

40
Q

Router using a WAN (Network Layer)

A
  1. PC1’s network layer logic tells it to send the packet to a nearby router ( R1 )
  2. Router R1’s network layer logic tells it to forward ( route ) the packet out the leased line to Router R2 next
  3. Router R2’s network layer logic tells it to forward the packet out the LAN link to PC2 next
41
Q

Router using a WAN (Data Link Layer)

A
  1. To send the IP packet to Router R1 next, PC1 encapsulates the IP packet in an Ethernet (802.3) frame that has the destination MAC address of R1
  2. Router R1 de-encapsulates the IP packet from the Ethernet frame, encapsulates the packet into an HDLC frame using an HDLC header and trailer, and forwards the HDLC frame to Router R2 next
  3. Router R2 de-encapsulates the IP packet from the HDLC frame, encapsulates the packet into an Ethernet frame that has the destination MAC address of PC2, and forwards the Ethernet frame to PC2
42
Q

Objectives of leased line and HDLC frames

A

Leased line - Provides the physical means to transmit bits in both direction

HDLC - Frames that provides a means for network layer packet to be encapsulated

43
Q

Pros and Cons of leased line

A

Pros, relatively long life in the WAN marketplace. Simple for customer, widely available, high quality, and are private

Cons, compared to newer WAN tech, Higher cost, typically long lead times to get services installed, leased line LANs are slow,