IT 210 Week05 Forouzan Chapter 13
IT 210 Week05 Forouzan Chapter 13
Wired LANs:
Ethernet
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 5: Outline
The fourth section discusses the Gigabit Ethernet, with the rate
of 1 gigabit per second. The section first describes the MAC
sublayer. It then moves to the physical layer and
implementation.
The fifth section touches on the 10 Gigabit Ethernet. This is a
new technology that can be used both for a backbone LAN or as
a MAN (metropolitan area network).
13-1 ETHERNET PROTOCOL
13.6
Figure 13.1: IEEE standard for LANs
The IEEE has subdivided the data-link layer into two sublayers:
logical
link control (LLC) and media access control (MAC).
IEEE has also created several physical-layer standards for different
LAN protocols.
13.7
13.13.2 Ethernet Evolution
The Ethernet LAN was developed in the 1970s by
Robert Metcalfe and David Boggs
Since then, it has gone through four generations:
Standard Ethernet (10 Mbps)
Fast Ethernet (100 Mbps)
Gigabit Ethernet (1 Gbps)
10 Gigabit Ethernet (10 Gbps).
13-2 STANDARD ETHERNET
13.10
Figure 13.3: Ethernet frame
Frame Length : Ethernet frame needs to have a minimum length of 512 bits or 64 bytes:
header and trailer (18 byte)
The minimum length of data from the upper layer is 64 − 18 = 46 bytes.
If the upper-layer packet is less than 46 bytes, padding is added to make up the difference.
13.2.2 Addressing
13.12
Example 13.1
Show how the address 47:20:1B:2E:08:EE is sent out
online.
Solution
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:
13.13
Figure 13.4: Unicast and multicast addresses
If the least significant bit of the first byte in a destination address is 0, the address is
unicast; otherwise, it is multicast.
with the way the bits are transmitted, the unicast/multicast bit is the first received bit.
The broadcast address is a special case of the multicast address (the recipients are all
the stations on the LAN).
13.14
Example 13.2
Define the type of the following destination addresses:
a.4A:30:10:21:10:1A
b.47:20:1B:2E:08:EE
c.FF:FF:FF:FF:FF:FF
Solution
To 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.15
Example 13.2 (continued)
a. This is a unicast address
because A in binary is 1010
(even).
number is even if its binary representation ends in a 0
13.16
Figure 13.5: Implementation of standard Ethernet
Transmission in the standard Ethernet is always broadcast.
how the actual unicast, multicast, and broadcast transmissions are distinguished from
each other?
Unicast: all stations receive the frame, the intended recipient keeps it; the rest discard
it.
Multicast: all stations receive the frame, the stations that are members of the group
keep it; the rest discard it.
In a broadcast transmission, all stations (except the sender) receive and keep the
frame.
13.17
13.2.3 Access Method
13.18
Station A measures the level of energy on the medium to check whether
any other station is sending.
If there is no signal energy on the medium, it means that no station is
sending (or the signal has not reached station A) Station A starts
sending its frame.
If the signal energy level is not zero the medium is being used by
another station Station A continuously monitors the medium until it
becomes idle It then starts sending the frame.
Station A needs to keep a copy of the frame in its buffer until it is sure
that there is no collision.
The medium sensing does not stop Station A needs to send and receive
continuously. Two cases may occur:
n Station A has sent 512 bits and no collision is sensed (the energy level did
not go above the regular energy level), the station then is sure that the
frame will go through and stops sensing the medium.
n Station A has sensed a collision one of the bits sent by A collided with a
bit sent by another station both stations should refrain from sending
and keep the frame in their buffer for resending when the line becomes
available to inform other stations that there is a collision, the station
sends a 48-bit jam signal to alert other stations about the collision After
that, the stations need to increment the value of K (number of attempts).
If after increment K = 15,then the network is too busy, the station needs
to abort its effort and try again. If K < 15, the station can wait a backoff
13.2.4 Efficiency of Standard Ethernet
13.20
Example 13.3
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 × 108 m/s.
13.22
Table 13.1: Summary of Standard Ethernet
implementations
10BaseX:
•the number defines the data rate (10 Mbps)
•the term Base means baseband signal: which means that the bits are
changed to a digital signal and directly sent on the line.
•X approximately defines either the maximum size of the cable in 100
meters (for example 5 for 500 or 2 for 185 meters) or the type of cable, T
for unshielded twisted pair cable (UTP) and F for fiber-optic.
13.23
Figure 13.6: Encoding in a Standard Ethernet
13.24
Figure 13.7: 10Base5 implementation
10Base5 was the first Ethernet to use a bus topology with an external
transceiver connected via a tap to a thick coaxial cable.
The transceiver is responsible for transmitting, receiving, and
detecting collisions.
The transceiver is connected to the station via a transceiver cable
that provides separate paths for sending and receiving.
This means that collision can only happen in the coaxial cable.
The maximum length of the coaxial cable must not exceed 500 m.
13.25
Figure 13.8: 10Base2 implementation
10Base2
also uses a bus topology, but the cable is much thinner and more flexible
than 10Base5.
The transceiver is normally part of the network interface card (NIC), which is
installed inside the station.
The collision occurs in the thin coaxial cable.
This implementation is more cost effective than 10Base5 because thin coaxial
cable is less expensive than thick coaxial and the tee connections are much
cheaper than taps. Installation is simpler because the thin coaxial cable is
very flexible.
Figure 13.9: 10Base-T implementation
13.27
Figure 13.10: 10Base-F implementation
10Base-F
Uses a star topology to connect stations to a hub. The stations are
connected to the hub using two fiber-optic cables.
13.28
13.2.6 Changes in the Standard
Bridged Ethernet.
Switched Ethernet.
Full-Duplex Ethernet.
13.29
Figure 13.11: Sharing bandwidth
13.31
Figure 13.13: Collision domains
13.33
Figure 13.15: Full – duplex switched
Ethernet
full-duplex switched
Ethernet:
Using two links instead of
using one link between the
station and the switch; one to
transmit and one to receive.
13.36
13.3.2 Physical Layer
Topology
To connect two stations point-to-point.
Three or more stations star topology with a
hub or a switch at the center.
13.37
Figure 13.16: Encoding for fast Ethernet
one scheme would not perform equally well for all three
implementations.
Therefore, three different encoding schemes were chosen
100Base-TX uses two 100Base-FX uses two 100Base-T4: Uses four
pairs of twisted-pair cable pairs of fiber-optic pairs of category 3 UTP for
(category 5 UTP or STP). cables. transmitting 100 Mbps.
4B/5B block coding is used NRZ-I is selected as one pair switches between
to provide bit encoding scheme. sending
synchronization. 4B/5B block encoding is and receiving.
This creates a data rate of used for synchronization, use 8B/6T scheme for
125 Mbps, which is fed into which increases the bit encoding
MLT-3 for encoding. rate from 100 to 125
Mbps,
13.38
Table 13.2: Summary of Fast Ethernet
implementations
13.39
13-4 GIGABIT ETHERNET
13.40
13.4.1 MAC Sublayer
13.41
13.4.2 Physical Layer
Implementation:
Ethernet can be categorized as either a
two-wire or a four-wire implementation.
13.42
Figure 13.17: Encoding in Gigabit Ethernet
The four-wire implementation uses 4
UTP cables. It is not possible to have 2
The two-wire implementations wires for input and 2 for output,
uses one wire (fiber or STP) for because each wire would need to carry
sending and one for receiving. 500 Mbps, which exceeds the capacity
for category 5 UTP.
For Coding: use NRZ scheme.
As a solution, 4D-PAM5 encoding is
Also use 8B/10B block encoding
used to reduce the bandwidth. Thus, all
to synchronize bits, which result
four wires are involved in both input
to 1.25 Gbps stream.
and output; each wire carries 250 Mbps,
which is in the range for category 5 UTP
cable.
13.43
Table 13.3: Summary of Gigabit Ethernet
implementations
13.44
13-5 10-GIGABIT EHTERNET
13.46
Table 13.4: Summary of 10-Gigabit Ethernet
implementations
13.47