chapter 13 wired lans: ethernet copyright © the mcgraw-hill companies, inc. permission required for...

58
Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Upload: shannon-ward

Post on 21-Jan-2016

235 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Chapter 13

Wired LANs:Ethernet

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Page 2: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Chapter 5: Outline

13.1 13.1 ETHERNET PROTOCOLETHERNET PROTOCOL

13.2 13.2 STANDARD ETHERNETSTANDARD ETHERNET

13.3 13.3 FAST ETHERNETFAST ETHERNET

13.4 13.4 GIGABIT ETHERNETGIGABIT ETHERNET

13.5 13.5 10 GIGABIT ETHERNET10 GIGABIT ETHERNET

Page 3: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.3

13-1 ETHERNET PROTOCOL13-1 ETHERNET PROTOCOL

The data-link layer and the physical layer are the territory of the local and wide area networks.

Page 4: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.4

13.13.1 IEEE Project 80213.13.1 IEEE Project 802

In 1985, the Computer Society of the IEEE started a project, called Project 802, to set standards to enable intercommunication among equipment from a variety of manufacturers.

Page 5: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.5

13.13.1 IEEE Project 80213.13.1 IEEE Project 802

Project 802 is a way of specifying functions of the physical layer and the data-link layer of major LAN protocols.

Page 6: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.6

Figure 13.1: IEEE standard for LANs

Page 7: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.7

13.13.2 Ethernet Evolution13.13.2 Ethernet Evolution

The Ethernet LAN was developed in the 1970s by Robert Metcalfe and David Boggs.

Page 8: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.8

13.13.2 Ethernet Evolution13.13.2 Ethernet Evolution

Ethernet has gone through four generations:

●Standard Ethernet (10 Mbps), ●Fast Ethernet (100 Mbps), ●Gigabit Ethernet (1 Gbps), and ●10 Gigabit Ethernet (10 Gbps),

Page 9: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.9

Figure 13.2 : Ethernet evolution

Page 10: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.10

13-2 STANDARD ETHERNET13-2 STANDARD ETHERNET

We refer to the original Ethernet technology with the data rate of 10 Mbps as the Standard Ethernet.

Page 11: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.11

13.2.1 Characteristics13.2.1 Characteristics

Characteristics of the Standard Ethernet.

1. 10Mbps2.CSMA/CD3.UTP or Coax4.Min frame size is 512 bits (64 bytes)5.Max frame size is 12144 bits (1518 bytes)6.2500 meter distance between the furthest stations.

Page 12: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.12

Figure 13.3: Ethernet frame

Page 13: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Data transmission.

Bytes are from left to rightThe bits in each byte are right to left.

Show how the address 47:20:1B:2E:08:EE is sent out online.

Example 13.1

13.13

Page 14: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Show how the address 47:20:1B:2E:08:EE is sent out online.Solution

Example 13.1

13.14

Page 15: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.15

13.2.2 Addressing13.2.2 Addressing

Each station on an Ethernet network (such as a PC, workstation, or printer) has its own network interface card (NIC).

Page 16: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.16

13.2.2 Addressing13.2.2 Addressing

The NIC fits inside the station and provides the station with a link-layer address.

Page 17: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.17

13.2.2 Addressing13.2.2 Addressing

The Ethernet address is 6 bytes (48 bits), normally written in hexadecimal notation, with a colon between the bytes.

For example, the following shows an Ethernet MAC address:

Page 18: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.18

Figure 13.4: Unicast and multicast addresses

Page 19: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Define the type of the following destination addresses:

a.4A:30:10:21:10:1Ab.47:20:1B:2E:08:EEc.FF:FF:FF:FF:FF:FF

Example 13.2

13.19

Page 20: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Define the type of the following destination addresses:a.4A:30:10:21:10:1Ab.47:20:1B:2E:08:EEc.FF:FF:FF:FF:FF:FF

Example 13.2

SolutionTo find the type of the address, we need to look at the second hexadecimal digit from the left. If it is even, the address is unicast. If it is odd, the address is multicast. If all digits are Fs, the address is broadcast. Therefore, we have the following:

13.20

Page 21: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Example 13.2 (continued)

a. This is a unicast address because A in binary is 1010 (even).b. This is a multicast address because 7 in binary is 0111 (odd).c. This is a broadcast address because all digits are Fs in hexadecimal.

13.21

Page 22: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.22

Figure 13.5: Implementation of standard Ethernet

Page 23: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.23

Figure 13.5: Implementation of standard Ethernet

Page 24: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.24

13.2.3 Access Method13.2.3 Access Method

Standard Ethernet protocol is a broadcast network, needing an access method for the shared medium.

The standard Ethernet chose CSMA/CD with 1-persistent method.

Page 25: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.25

13.2.4 Efficiency of Standard Ethernet13.2.4 Efficiency of Standard Ethernet

The practical efficiency of standard Ethernet has been measured to be

Page 26: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

The variable “a” is the ration of Propagation delay to transmission delay (a unit-less value).

Example 13.3

13.26

Page 27: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

What is the worse case efficiency for standard ethernet?

Assume the smallest frame size, and longest distance between stations (2500m).

Example 13.3

13.27

Page 28: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

What is the efficiency for a 100m maximum link separation?

Example 13.3

13.28

Page 29: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.29

13.2.5 Implementation13.2.5 Implementation

The Standard Ethernet defined several implementations, but only four of them became popular during the 1980s.

Page 30: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Table 13.1: Summary of Standard Ethernet implementations

13.30

Page 31: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.31

Figure 13.6: Encoding in a Standard Ethernet

Page 32: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.32

Figure 13.7: 10Base5 implementation

Page 33: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.33

Figure 13.8: 10Base2 implementation

Page 34: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.34

Figure 13.9: 10Base-T implementation

Page 35: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.35

Figure 13.10: 10Base-F implementation

Page 36: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.36

13.2.6 Changes in the Standard13.2.6 Changes in the Standard

Ethernet evolves to become compatible with other high-data-rate LANs.

Page 37: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.37

Figure 13.11: Sharing bandwidth

Page 38: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.38

Figure 13.12: A network with and without bridging

Page 39: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.39

Figure 13.13: Collision domains

Page 40: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.40

Figure 13.14: Switched Ethernet

Page 41: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.41

Figure 13.15: Full – duplex switched Ethernet

Page 42: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.42

13-3 FAST ETHERNET13-3 FAST ETHERNET

In the 1990s, Ethernet made a big jump by increasing the transmission rate to 100 Mbps, known as Fast Ethernet

Page 43: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.43

13-3 FAST ETHERNET13-3 FAST ETHERNET

The designers of the Fast Ethernet made it compatible with the Standard Ethernet.

The MAC sublayer was left unchanged.

But the features of the Standard Ethernet that depend on the transmission rate, had to be changed.

Page 44: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.44

13.3.1 Access Method13.3.1 Access Method

Proper operation of the CSMA/CD depends on the ●transmission rate, ●the minimum size of the frame, and ●the maximum network length.

Page 45: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.45

13.3.1 Access Method13.3.1 Access Method

For backward compatibility, Fast Ethernet must detect the collision 10 times sooner (compared to standard ethernet)

This means the maximum length of the network should be 10 times shorter (the propagation speed does not change).

2500m becomes 250m (in practice the limit is 100m per segment)

Page 46: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.46

13.3.2 Physical Layer13.3.2 Physical Layer

To be able to handle a 100 Mbps data rate, several changes need to be made at the physical layer.

Page 47: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.47

Figure 13.16: Encoding for fast Ethernet

Page 48: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Table 13.2: Summary of Fast Ethernet implementations

13.48

Page 49: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.49

13-4 GIGABIT ETHERNET13-4 GIGABIT ETHERNET

The Gigabit Ethernet Protocol (1000 Mbps) is the Standard 802.3z.

Page 50: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.50

13-4 GIGABIT ETHERNET13-4 GIGABIT ETHERNET

The goals of Gigabit Ethernet were to ●upgrade the data rate to 1 Gbps, and ●keep the address format, ●the frame format, and ●the maximum and minimum frame length the same.

Page 51: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.51

13-4 GIGABIT ETHERNET13-4 GIGABIT ETHERNET

●The goals of Gigabit Ethernet requires a star topology.

(the bus topology is not allowed)

Page 52: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.52

13.4.1 MAC Sublayer13.4.1 MAC Sublayer

Gigabit Ethernet has two distinctive approaches for medium access: half-duplex and full-duplex.

Almost all implementations of Gigabit Ethernet follow the full-duplex approach.

Page 53: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.53

13.4.2 Physical Layer13.4.2 Physical Layer

The physical layer in Gigabit Ethernet is more complicated than that in Standard or Fast Ethernet. We briefly discuss some features of this layer.

Page 54: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.54

Figure 13.17: Encoding in Gigabit Ethernet

Page 55: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Table 13.3: Summary of Gigabit Ethernet implementations

13.55

Page 56: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.56

13-5 10-GIGABIT EHTERNET13-5 10-GIGABIT EHTERNET

In recent years, there has been another look into the Ethernet for use in metropolitan areas. The idea is to extend the technology, the data rate, and the coverage distance so that the Ethernet can be used as LAN and MAN (metropolitan area network). The IEEE committee created 10 Gigabit Ethernet and called it Standard 802.3ae.

Page 57: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

13.57

13.5.1 Implementation13.5.1 Implementation

10-Gigabit Ethernet operates only in full-duplex mode.

It can be implemented with copper wire (cat-6a or higher) but is limited to 100m.

Fiber segments can be up to 40km.

Page 58: Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display

Table 13.4: Summary of 10-Gigabit Ethernet implementations

13.58