Module - 2 - Medium Access - Part-2
Module - 2 - Medium Access - Part-2
1.Ethernet
2.Standard Ethernet
3.Fast Ethernet
4.Gigabit Ethernet
IEEE Standards 3
• 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. Project 802 is
a way of specifying functions of the physical layer and the data link layer of major LAN
protocols.
Logical Link Control (LLC) 4
• Framing: LLC defines a protocol data unit (PDU) that is similar to that of HDLC
• To provide flow and error control for the upper-layer protocols that actually demand these
services
Standard Ethernet 5
• The original Ethernet was created in 1976 at Xerox’s Palo Alto Research Center (PARC).
Since then, it has gone through four generations
MAC Sublayer 6
• Preamble: alerting the receiving system to the coming frame and enabling it to synchronize its
input timing
• CRC: CRC-32
Addressing 7
• Ethernet address in hexadecimal notation
• The least significant bit of the first byte defines the type of address.
If the bit is 0, the address is unicast; otherwise, it is multicast
• The broadcast destination address is a special case of the multicast address in
which all bits are 1s
Transmission of Address Bits 8
47:20:1B:2E:08:EE
The address is sent left to right, byte by byte; for each byte, it is
sent right to left, bit by bit, as shown below:
Access Method 9
speed of propagation
in a cable is 2 x 108m
Ethernet 10
• Access method: 1-persistent CSMA/CD
• Slot time = rount-trip time + time required to send the jam sequence
– 512 bits for Ethernet, 51.2 μs for 10 Mbps Ethernet
The efficiency of the Ethernet is defined as the ratio of the time used by a station to
send data to the time the medium is occupied by this station.
Efficiency = 1 / (1 + 6.4 * a)
Where “a” is the number of frames that can fit on the medium.
It can be calculated as
a = (propagation delay)/(transmission delay)
Example 12
In the Standard Ethernet with the transmission rate of 10 Mbps, we assume that the
length of the medium is 2500 m and the size of the frame is 512 bits. The propagation
speed of a signal in a cable is normally 2 x 108 m/s.
The example shows that a = 0.24, which means only 0.24 of a frame occupies the whole
medium in this case. The efficiency is 39 percent, which is considered moderate; it
means that only 61 percent of the time the medium is occupied but not used by a
station.
Physical Layer: Ethernet Implementation 13
Summary of Standard Ethernet 14
10BaseX,
The number 10 - 10 Mbps,
Base means baseband (digital) signal, and
X - maximum size of the cable in 100 meters (for example 5 for 500 or 2 for 185 m
T - unshielded twisted pair cable (UTP) and
F - Fiber-optic.
Encoding & Decoding 15
• There are several types of optical fiber 10-Mbps Ethernet; the most common is
called 10Base-F.
• 10Base-F uses a star topology to connect stations to a hub.
• The stations are connected to the hub using two fiber-optic cables.
Changes in the Standard 23
Autonegotiation: allow two devices to negotiate the mode or data rate of operation
To allow incompatible devices to connect to one another.
To allow one device to have multiple capabilities.
To allow a station to check a hub’s capabilities.
Fast Ethernet: Physical Layer 28
• Topology
• Implementation
Fast Ethernet: Encoding 29
Multi Line Transmission, three-level (MLT-3) encoding
100Base-TX:
100Base-TX uses two pairs of twisted-pair
cable (either category 5 UTP or STP).
• MLT-3 scheme was selected for its good
bandwidth performance.
• MLT-3 is not a self-synchronous line
coding scheme, 4B/5B block coding is
used to provide bit synchronization by
preventing the occurrence of a long
sequence of 0s and 1s.
• This creates a data rate of 125 Mbps,
which is fed into MLT-3 for encoding.
unshielded twisted-pair (UTP)
Fast Ethernet: Encoding 30
100Base-FX:
100Base-FX uses two pairs of fiber-
optic cables.
Optical fiber can easily handle high
bandwidth requirements by using
simple encoding schemes. The
designers of 100Base-FX selected
the NRZ-I encoding scheme for this
implementation.
The block encoding increases the
bit rate from 100 to 125 Mbps,
which can easily be handled by
fiber-optic cable.
Fast Ethernet: Encoding 31
100Base-T4:
A new standard, called 100Base-T4, was designed to use category 3
or higher UTP.
The implementation uses four pairs of UTP for transmitting 100
Mbps.
Encoding/decoding in 100Base-T4 is more complicated.
As this implementation uses category 3 UTP, each twisted-pair
cannot easily handle more than 25 Mbaud.
In this design, one pair switches between sending and receiving.
Three pairs of UTP category 3, however, can handle only 75 Mbaud
(25 Mbaud) each.
An encoding scheme that converts 100 Mbps to a 75 Mbaud signal.
In 8B/6T, eight data elements are encoded as six signal elements.
This means that 100 Mbps uses only (6/8) × 100 Mbps, or 75 Mbaud.
Summary of Fast Ethernet 32
Gigabit Ethernet 33
MAC Sublayer
Most of all implementations follows full-duplex approach
• In the full-duplex mode of Gigabit Ethernet, there is no collision; the maximum length of
the cable is determined by the signal attenuation in the cable.
Half-duplex mode (very rare)
• Traditional: 0.512 μs (25m)
• Carrier Extension: 512 bytes (4096 bits) min. length
• Frame bursting to improve the inefficiency of carrier extension.
Gigabit Ethernet: Physical Layer 34
Topology
Gigabit Ethernet: Physical Layer 35
Implementation
Gigabit Ethernet: Encoding 36
Two-wire implementation:
• The two-wire implementations use an
NRZ scheme, but NRZ does not self-
synchronize properly. To synchronize
bits, particularly at this high data rate,
8B/10B block encoding is used.
• This block encoding prevents long
sequences of 0s or 1s in the stream, but
the resulting stream is 1.25 Gbps.
• In this implementation, one wire (fiber
or STP) is used for sending and one for
receiving.
Gigabit Ethernet: Encoding 37
Four-wire implementation:
In the four-wire implementation it is
not possible to have 2 wires for input
and 2 for output, because each wire
would need to carry 500 Mbps, which
exceeds the capacity for category 5 UTP.
4D-PAM5 encoding is used to reduce
the bandwidth.
All four wires are involved in both input
and output; each wire carries 250 Mbps,
which is in the range for category 5 UTP
cable.
Gigabit Ethernet: Summary 38
Ten-Gigabit Ethernet
The IEEE committee created Ten-Gigabit Ethernet and called it Standard 802.3ae. 39
The goals of the Ten-Gigabit Ethernet design can be summarized as follows:
• Upgrade the data rate to 10 Gbps.
• Make it compatible with Standard, Fast, and Gigabit Ethernet.
• Use the same 48-bit address.
• Use the same frame format.
• Keep the same minimum and maximum frame lengths.
• Allow the interconnection of existing LANs into a metropolitan area network (MAN) or a wide area
network (WAN).
• Make Ethernet compatible with technologies such as Frame Relay and ATM.
MAC Sublayer
Ten-Gigabit Ethernet operates only in full duplex mode.
Physical Layer
• The physical layer in Ten-Gigabit Ethernet is designed for using fiber-optic cable over long
distances.
• Three implementations are the most common: 10GBase-S, 10GBase-L, and 10GBase-E.
Ten-Gigabit Ethernet : Summary 40