Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn...

39
Wired LANs and Ethernet Wired LANs and Ethernet 01204325: Data 01204325: Data Communication and Communication and Computer Networks Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. Asst. Prof. Chaiporn Jaikaeo, Ph.D. [email protected] [email protected] http://www.cpe.ku.ac.th/~cpj http://www.cpe.ku.ac.th/~cpj Computer Engineering Department Computer Engineering Department Kasetsart University, Bangkok, Thailand Kasetsart University, Bangkok, Thailand Adapted from lecture slides by Behrouz A. Forouzan © The McGraw-Hill Companies, Inc. All rights reserved

Transcript of Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn...

Page 1: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

Wired LANs and EthernetWired LANs and Ethernet

01204325: Data 01204325: Data Communication and Communication and Computer NetworksComputer Networks

Asst. Prof. Chaiporn Jaikaeo, Ph.D.Asst. Prof. Chaiporn Jaikaeo, [email protected]@ku.ac.th

http://www.cpe.ku.ac.th/~cpjhttp://www.cpe.ku.ac.th/~cpjComputer Engineering DepartmentComputer Engineering Department

Kasetsart University, Bangkok, ThailandKasetsart University, Bangkok, ThailandAdapted from lecture slides by Behrouz A. Forouzan© The McGraw-Hill Companies, Inc. All rights reserved

Page 2: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

22

OutlineOutline IEEE standards for LAN/MAN/WANIEEE standards for LAN/MAN/WAN Traditional EthernetTraditional Ethernet Unicast and multicast addressesUnicast and multicast addresses Fast EthernetFast Ethernet Gigabit EthernetGigabit Ethernet Ten-Gigabit EthernetTen-Gigabit Ethernet

Page 3: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

33

IEEE StandardsIEEE Standards Project 802Project 802

standards for enabling standards for enabling intercommunication among equipment intercommunication among equipment from a variety of manufacturersfrom a variety of manufacturers

E.g.,E.g., IEEE 802.3 IEEE 802.3 Ethernet Ethernet IEEE 802.11 IEEE 802.11 Wireless LAN (Wi-Fi) Wireless LAN (Wi-Fi) IEEE 802.15 IEEE 802.15 Wireless PAN (Bluetooth, Wireless PAN (Bluetooth,

etcetc)) http://en.wikipedia.org/wiki/IEEE_802http://en.wikipedia.org/wiki/IEEE_802

Page 4: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

44

IEEE Standards for LANsIEEE Standards for LANs

Page 5: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

55

Logical Link Control Logical Link Control SublayerSublayer Provides flow and error control for Provides flow and error control for

upper layer protocolsupper layer protocols Most upper layer protocols (such as Most upper layer protocols (such as

IP) do not require such servicesIP) do not require such services

DSAP – Destination ServiceAccess Point

SSAP – Source ServiceAccess Point

(Similar to TCP/IP ports)

Page 6: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

66

Wired EthernetWired Ethernet "Traditional" or "Original" Ethernet "Traditional" or "Original" Ethernet

created at Xerox's Palo Alto Research created at Xerox's Palo Alto Research Center (PARC) in 1976Center (PARC) in 1976

Ethernet standards are set by Ethernet standards are set by IEEE IEEE 802.3802.3 working group working group

Page 7: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

77

Evolution of EthernetEvolution of Ethernet

Ethernet EvolutionEthernet Evolution

Standard Ethernet

(10 Mbps)

Standard Ethernet

(10 Mbps)

Fast Ethernet

(100 Mbps)

Fast Ethernet

(100 Mbps)

Gigabit Ethernet

Gigabit Ethernet

Ten-Gigabit Ethernet

Ten-Gigabit Ethernet

100-Gigabit Ethernet

100-Gigabit Ethernet

Page 8: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

88

IEEE 802.3 MAC FrameIEEE 802.3 MAC Frame

Page 9: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

99

Min and Max Frame Min and Max Frame LengthLength

Page 10: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1010

Ethernet AddressesEthernet Addresses 48 bits (6 bytes) in length48 bits (6 bytes) in length Uniquely assigned to each Ethernet Uniquely assigned to each Ethernet

network interface card (NIC)network interface card (NIC) Usually written in hexadecimal Usually written in hexadecimal

notationnotation E.g.,E.g.,

Page 11: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1111

Unicast vs. Multicast Unicast vs. Multicast AddressesAddresses A A unicast addressunicast address defines one recipient defines one recipient A A multicast addressmulticast address defines a group of defines a group of

recipientsrecipients The The broadcast addressbroadcast address defines a group of defines a group of

all stations in the same LANall stations in the same LAN A special case of multicast addressesA special case of multicast addresses All bits are 1sAll bits are 1s

Page 12: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1212

ExampleExample Define the type of the following Define the type of the following

destination addresses:destination addresses: 4A:30:10:21:10:1A4A:30:10:21:10:1A 47:20:1B:2E:08:EE47:20:1B:2E:08:EE FF:FF:FF:FF:FF:FFFF:FF:FF:FF:FF:FF

Page 13: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

Standard EthernetStandard Ethernet

Page 14: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1414

Categories of Standard Categories of Standard EthernetEthernet

Page 15: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1515

Encoding in Standard Encoding in Standard EthernetEthernet

Page 16: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1616

10Base5 Implementation10Base5 Implementation

Page 17: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1717

10Base2 Implementation10Base2 Implementation

Page 18: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1818

10Base-T 10Base-T ImplementationImplementation

CAT3 Cable

Page 19: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

1919

10Base-F 10Base-F ImplementationImplementation

Page 20: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2020

Standard Ethernet Standard Ethernet SummarySummary

Page 21: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2121

Raising the BandwidthRaising the Bandwidth

Page 22: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2222

Bridged EthernetBridged Ethernet A bridge divides a network into two A bridge divides a network into two

or more segmentsor more segments Each segment is independent of one Each segment is independent of one

another, bandwidth-wiseanother, bandwidth-wise

Page 23: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2323

Collision DomainCollision Domain Bridges help split Bridges help split collision domaincollision domain into into

smaller onessmaller ones

Page 24: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2424

Switched EthernetSwitched Ethernet

Page 25: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2525

Full-Duplex EthernetFull-Duplex Ethernet

Page 26: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

Fast EthernetFast Ethernet

Page 27: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2727

Fast EthernetFast Ethernet Data rate: 100 MbpsData rate: 100 Mbps Standard Standard IEEE 802.3u IEEE 802.3u Backward-compatible with Standard Backward-compatible with Standard

EthernetEthernet

Page 28: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2828

Fast Ethernet TopologiesFast Ethernet Topologies

Page 29: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2929

Fast Ethernet Fast Ethernet ImplementationsImplementations

Page 30: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3030

Encoding for 100Base-FXEncoding for 100Base-FX

Page 31: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3131

Encoding for 100Base-FXEncoding for 100Base-FX

Page 32: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3232

Encoding for 100Base-T4Encoding for 100Base-T4

Page 33: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3333

Fast Ethernet SummaryFast Ethernet Summary

Page 34: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

Gigabit EthernetGigabit Ethernet

Page 35: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3535

Gigabit EthernetGigabit Ethernet 1000 Mbps1000 Mbps Standard Standard IEEE 802.3z, 802.3ab IEEE 802.3z, 802.3ab

Page 36: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3636

Gigabit Ethernet Gigabit Ethernet EncodingEncoding

Page 37: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3737

4D-PAM5 Encoding 4D-PAM5 Encoding Used in 1000Base-TUsed in 1000Base-T

Page 38: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3838

Gigabit Ethernet Gigabit Ethernet SummarySummary

Page 39: Wired LANs and Ethernet 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3939

10-Gigabit and Up10-Gigabit and Up IEEE StandardsIEEE Standards

802.3ae 802.3ae 10GbE over fiber 10GbE over fiber 802.3ak 802.3ak 10GbE over twin axial cable 10GbE over twin axial cable

(10GBASE-CX4)(10GBASE-CX4) 802.3an 802.3an 10GbE over UTP (10GBASE-T) 10GbE over UTP (10GBASE-T) 802.3ba 802.3ba 40GbE and 100GbE 40GbE and 100GbE