1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

45
1 Kyung Hee Univers ity Chapter 14 Chapter 14 Local Area Networks : Local Area Networks : Ethernet Ethernet

Transcript of 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

Page 1: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

11

Kyung Hee University

Chapter 14 Chapter 14 Local Area Networks : EthernetLocal Area Networks : Ethernet

Page 2: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

22

Kyung Hee University

IntroductionIntroduction

Three Generations of Ethernet

Page 3: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

33

Kyung Hee University

14.1 Traditional Ethernet14.1 Traditional Ethernet Mac Sublayer

Physical Layer

Physical Layer Implementation

Bridged Ethernet

Switched Ethernet

Full-Duplex Ethernet

Page 4: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

44

Kyung Hee University

Traditional EthernetTraditional Ethernet

Designed to operate at 10 Mbps

Access through CSMA/CD

Media shared between all stations

Page 5: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

55

Kyung Hee University

802.3 MAC frame

• Preamble – 7 bytes of alternating 0s and 1s to alert the receiver and allow it to synchronize

• Start Frame Delimiter (SFD) – 1 byte – 10101011 signals the beginning of a frame, last chance for synchronization – last 2 bits are 11

• Destination address (DA) – 6 bytes – contains the physical address of the destination station or stations

• Source address (SA) – 6 bytes – contains the physical address of the sender

• Length/type – if less than 1518 then it defines the length of the data field – if more than 1536 then it defines the type of the PDU packet that is encapsulated

• Data – data encapsulated from upper-layer protocols : 46 ~ 1500 bytes

• CRC – CRC-32

Page 6: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

66

Kyung Hee University

Minimum and maximum length of a Frame

Page 7: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

77

Kyung Hee University

Addressing Addressing

Ethernet addresses in hexadecimal notation

Each station on an Ethernet network has its own netwo

rk interface card (NIC)

NIC provides the station with a 6-byte physical address

Page 8: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

88

Kyung Hee University

Unicast and Multicast and Broadcast Address Unicast and Multicast and Broadcast Address

Source address is always unicast

Destination can be unicast, multicast, or broadcast

Unicast specifies one recipient

Multicast specifies multiple recipients

Broadcast sends to all stations on the network – destination address is forty-eight 1s

Page 9: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

99

Kyung Hee University

Physical LayerPhysical Layer

Physical layer for 10-Mbps Ethernet

Page 10: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1010

Kyung Hee University

Physical Layer Signalling(PLS)Physical Layer Signalling(PLS)

PLS sublayer encodes and decodes data

Using Manchester Encoding

Data rate of 10 Mbps

Page 11: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1111

Kyung Hee University

Attachment Unit Interface (AUI)Attachment Unit Interface (AUI)

A Specification that defines the interface between the P

LS and MAU.

Developed to create a kind of medium-independent inte

rface interface.

Page 12: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1212

Kyung Hee University

Medium Attachment Unit (MAU)Medium Attachment Unit (MAU) MAU (transceiver) : transmitter and receiver

Transmitting signals over the medium; receiving signals over the medium; detecting collisions

Medium dependent

Transceiver is a transmitter and receiver, can be external or internal

Position and Functions

of a Transceiver

Page 13: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1313

Kyung Hee University

Medium Dependent Interface (MDI) Medium Dependent Interface (MDI)

To connect the transceiver (internal, external) to

medium, we need a MDI.

For an external transceiver, it can be a tap or a tee

connector.

For an internal transceiver, it can be a jack.

Page 14: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1414

Kyung Hee University

Physical Layer ImplementationPhysical Layer Implementation

Categories of traditional Ethernet

Page 15: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1515

Kyung Hee University

10Base5 : Thick Ethernet10Base5 : Thick Ethernet

thick Ethernet or Thicknet

bus topology, external transceiver

Connection of a station to the medium using 10Base5

Page 16: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1616

Kyung Hee University

10Base2 : Thin Ethernet10Base2 : Thin Ethernet Connection if stations to the medium using 10Base2

Thin Ethernet or Cheapernet

bus topology, internal transceiver or a point-to-point connection via an external transceiver

Page 17: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1717

Kyung Hee University

10Base-T : Twisted Pair Ethernet10Base-T : Twisted Pair Ethernet

physical star topology

stations connected to a hub with internal or external

transceiver

Page 18: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1818

Kyung Hee University

10Base-FL : Fiber Link Ethernet10Base-FL : Fiber Link Ethernet fiber link Ethernet

uses star topology to connect stations to a hub

normally implemented with external transceiver having

two pairs of fiber-optic cables connecting it to the hub

Page 19: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

1919

Kyung Hee University

Bridged EthernetBridged Ethernet

Raising the bandwidth

Separating collision domains

Page 20: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2020

Kyung Hee University

Sharing BandwidthSharing Bandwidth

Page 21: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2121

Kyung Hee University

Raising the BandwidthRaising the Bandwidth

A Network with and without a Bridge

10/6 Mbps vs 10/12 Mbps in case that traffic is not going through the bridge

Page 22: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2222

Kyung Hee University

Separating Collision DomainsSeparating Collision Domains

Page 23: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2323

Kyung Hee University

Switched EthernetSwitched Ethernet

Bandwidth is shared only between the station and the

switch (5 Mbps each)

N-port switch; Switched Ethernet

Page 24: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2424

Kyung Hee University

Full-Duplex EthernetFull-Duplex Ethernet A Limitation of 10Base5 and 10Base2 half-duplex.

Evolution : switched Ethernet full duplex Switched Ethenet

10Base-T is always Full-duplex.

Full duplex mode increases the capacity of each domain from 10 to 20 Mpbs.

Page 25: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2525

Kyung Hee University

Full-Duplex EthernetFull-Duplex Ethernet

No need for CSMA/CD, this functionality can be turned

off.

Each link is a point-to-point dedicated path between the station and the switch.

For flow and error control

Adding a sublayer called MAC Control between MAC sublayer and LLC sublayer

Page 26: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2626

Kyung Hee University

14.2 Fast Ethernet14.2 Fast Ethernet

Evolution from 10 to 100 Mpbs doesn’t change the MA

C sublayer.

Access method is CSMA/CD, which is kept for backwar

d compatibility.

Frame format, minimum and maximum frame lengths,

and addressing are the same.

Page 27: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2727

Kyung Hee University

AutonegotiationAutonegotiation

Allowing two devices to negotiate the mode or data

rate of operation.

To allow incompatible devices to connect to one another. For example, between 10 Mbps-device and 100 Mbps-device

To allow one device to have multiple capabilities

To allow a station to check a hub’s capabilities

Page 28: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2828

Kyung Hee University

Physical LayerPhysical Layer

Page 29: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

2929

Kyung Hee University

ReconciliationReconciliation

Replacing PLS sublayer in 10 Mbps Ethernet

But, encoding and decoding, which were performed by the PLS, are moved to the PHY sublayer (transceiver), because encoding in Fast Ethernet is medium-dependent.

Is responsible for passing of data in 4-bit format (nibbl

e) to the MII.

Page 30: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3030

Kyung Hee University

MIIMII

The AUI is replaced with the medium-independent inter

face (MII)

Can be used with both a 10-and 100Mbps data rate

Features a parallel data (4 bit at a time) path between t

he PHY sublayer and the reconciliation sublayer

Page 31: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3131

Kyung Hee University

PHY (Transceiver) and MDIPHY (Transceiver) and MDI

Transceiver is responsible for encoding and decoding.

MDI is need to connect the transceiver to the medium.

Page 32: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3232

Kyung Hee University

Physical Layer ImplementationPhysical Layer Implementation

Page 33: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3333

Kyung Hee University

100Base-TX Implementation100Base-TX Implementation

Uses two pairs of twisted-pair cable

Physical star topology

Internal or external transceiver

Transceiver – responsible for transmitting, receiving, detecting

collisions, and encoding/decoding data

Page 34: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3434

Kyung Hee University

Encoding and decoding in 100Base-TX

Encoding/decoding – first performs block encoding usi

ng 4B/5B, then encoded using MLT-3 (multiline transmi

ssion, three level)

Page 35: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3535

Kyung Hee University

100Base-T4100Base-T4

uses category 3 (voice-grade twisted pair) or higher UTP

uses 4 pairs

Encoding/Decoding – 8B/6T

Page 36: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3636

Kyung Hee University

Transmission Using Four WiresTransmission Using Four Wires

Page 37: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3737

Kyung Hee University

Giga-bit EthernetGiga-bit Ethernet

No longer possible to keep the MAC sublayer untouche

d

Two distinctive approaches: half-duplex using CSMA/C

D or full-duplex with no need for CSMA/CD

Page 38: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3838

Kyung Hee University

Physical Layer in Gigabit EthenetPhysical Layer in Gigabit Ethenet

Page 39: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

3939

Kyung Hee University

Physical Layer in Gigabit EthenetPhysical Layer in Gigabit Ethenet

RS – reconciliation sublayer – sends 8-bit parallel data to the PHY sublayer via GMII interface

GMII – gigabit medium-independent interface) defines how reconciliation sublayer is to be connected to the PHY sublayer (transceiver)

does not exist outside the NIC

operates only at 1 Gbps

no connecter or cable

PHY (transceiver) – medium-dependent – encodes and decodes – can only be internal

MDI medium-dependent interface – connects transceiver to the medium – RJ-45 AND fiber-optic connectors

Page 40: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

4040

Kyung Hee University

Gigabit Ethernet ImplementationGigabit Ethernet Implementation

Page 41: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

4141

Kyung Hee University

1000Base-X implementation1000Base-X implementation

uses two fiber-optic cables

internal transceiver

encoding – 8B/10B then NRZ

Page 42: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

4242

Kyung Hee University

Encoding in 1000Base-X

Page 43: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

4343

Kyung Hee University

1000Base-T implementation

designed to use category 5 UTP

four twisted pairs

encoding – 4D-PAM5 (4-dimensional, 5-level pulse amplitude

modulation)

Page 44: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

4444

Kyung Hee University

Encoding in 1000Base-T

Page 45: 1 Kyung Hee University Chapter 14 Local Area Networks : Ethernet.

4545

Kyung Hee University

Questions !Questions !