Network.-Fall-2024-Lec.-8
Network.-Fall-2024-Lec.-8
Fall, 2024
COMPUTER NETWORKS
Lec. 8
(LANs)
Switching
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 3
(SWITCHING)
Local Area Networks
• LAN Applications
• LAN Architecture
• Project 802
• Ethernet
• Token Ring
• FDDI
• LAN Design
LAN Applications (1)
Personal computer LANs
Low cost
Limited data rate
Backbone LANs
Transmission medium.
Layout.
Optical fiber
Expensive taps
Better alternatives available
Not used in bus LANs
Choice of Medium
Constrained by LAN topology
Capacity
Reliability
Environmental scope
LAN Protocol Architecture
OSI Model and Project 802
Project 802
The IEEE Working Groups
802.1 Networking Overview and Architecture
802.2 Logical Link Control
802.3 Ethernet
802.4 Token Bus
802.5 Token Ring
802.6 MANs
802.7 Broadband
802.8 Fiber Optic
802.9 Isochronous LAN
802.11 Wireless LAN
...and more!
IEEE 802 Layers (1)
Physical
Encoding/decoding of signals
Preamble generation/removal
Bit transmission/reception
Transmission medium and topology
IEEE 802 Layers (2)
1 octet 1 1 or 2 variable
LLC
DSAP SSAP LLC Control Information
PDU
LLC
I/G DSAP value C/R SSAP value
Address Fields
I/G = Individual/Group
C/R = Command/Response
Ethernet – The most widely used scheme for wired local area networks is based on
the IEEE 802.3 standard, and is commonly referred to as Ethernet.
Ethernet has moved from bus-based to switch-based, and the data rate has
periodically increased by an order of magnitude. Currently, Ethernet systems are
available at speeds up to 100 Gbps.
Traditional Ethernet
ALOHA
ALOHA
• Developed for packet radio networks
• Station may transmit a frame at any time
• If frame is determined invalid, it is ignored
• Maximum utilization of channel about 18%
slotted ALOHA
• Organized slots equal to transmission time
• Increased utilization to about 37%
CSMA/CD Precursors
Carrier Sense Multiple Access (CSMA)
Station listens to determine if there is another
transmission in progress
If idle, station transmits
Waits for acknowledgment
If no acknowledgment, collision is assumed
and station retransmits
Utilization far exceeds ALOHA
Evolution of CSMA/CD
CSMA/CD functions:
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 38
CSMA/CD Description
With CSMA, collision occupies medium
for duration of transmission
better if stations listen whilst transmitting
CSMA/CD rules:
1. if medium idle, transmit
2. if busy, listen for idle, then transmit
3. if collision detected, jam and then cease
transmission
4. after jam, wait random time then retry
CSMA/CD
Operation
MAC method to deal with half duplex media
CSMA/CD operation
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 41
Collision detection flowchart
A network device knows
a collision has taken
place because the
amplitude of the signal
on the media increases.
After a collision,
each node again
has an equal
chance to transmit
– no priority given.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 42
jam
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 43
Backoff timing
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 44
What’s in a Name?
Ethernet naming rules:
10 Base T
Transmission Rate Copper unshielded
twisted pair
Baseband signaling
Uses the entire bandwidth of the transmission medium
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 51
Figure 12-12-continued
10BASET
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 53
Ethernet Local Area Networks (LANs)
10Base5 500
10Base2 185
10BaseT 100
100Base-TX 100
100Base-FX 400
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 54
Layer 1 technologies
Ethernet:
10BASE-T
The T stands for twisted pair ( UTP , STP )
10BASE5
The 5 represents the fact that a signal can travel for approximately
500 meters 10BASE5 is often referred to as Thicknet. AUI connector
10BASE2
The 2 represents the fact that a signal can travel for approximately
200 meters 10BASE2 is often referred to as Thinnet. ,BNC connector
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 55
10Mbps Specification
(Ethernet)
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 60
IEEE 802.3 Frame Format
Generic Data Link Frame Format
Address Field
We saw how IEEE 802.3 uses Destination and Source Addresses.
By the way: Any idea how a serial data link frame is addressed?
Unicast address – Single device
Broadcast address – All devices
Multicast address – Specific group of devices
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 63
The MAC Address
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 64
Generic Data Link Frame Format
Data Field
Included along with this data, you must also send a few other
bytes.
They are called padding bytes, and are sometimes added so that
the frames have a minimum length for timing purposes.
LLC bytes are also included with the data field in the IEEE
standard frames.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 66
Generic Data Link Frame Format
FCS
Used to insure that the data has arrived without corruption.
More efficient than sending the data twice and comparing the
results.
Necessary to prevent errors.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 67