Lecture2 - Network Interface Layer Final
Lecture2 - Network Interface Layer Final
MIS 507
Prasad Kularatne
Objective
Understand the functions behind Physical layer and
Data Link layer of the OSI model with more in-depth
treatment of the latter
Framing & Synchronization, Error Control, Flow
Control, Reliable Delivery
Framing
Synchronize the sender and receiver
Aid in devising error control mechanisms
Error control works on chunks of data rather than on a continuous
steam of bits
Efficient switching
Data Link Layer (cntd.)
Error Control
Detection of errors occurred in transit
How many bit errors can be detected?
Correction of errors
Detect and errors have occurred
In which bit position has the errors occurred
Flow Control
Address the problem of fast sender overl0ading a busy
receiver
Uses a feedback mechanism to let sender know that he
is sending too much
Data Link layer in context
Data Link Layer termination
Ethernet PPP
At the Receiver: Identify where the frame starts and where
it ends
Requires some special bit sequence to indicate the start and the end
Mechanisms
Parity checking (Even or Odd parity)
Checksum
Cyclic Redundancy Check (CRC)
Protocols
Idle ARQ: Stop and Wait
Continuous ARQ: Sliding Window protocols
n-bit sliding window
Go-back-n
Selective Repeat
Go-Back-N
Receiver Windows Size = 1; Sender Windows Size = N
Mechanism
To advertise Receiver window size (use ACK frame)
To block the Sender if Receiver Windows size is zero
Flow Control (cntd.)
Receiver Window size
Increases when network layer takes control
Decreases when packets are received from the sender
1K SEQ=
4096
1K 2K
Individual Assignment
Examine what Media Access Control, Error control, flow control
and framing techniques are used in the following DLL protocols
Ethernet
Wi-Fi
Idea
Go through each path in the LAN and figure out a
topology that is loop-free (Tree)
Determine the ISL ports that can be used to maintain
just enough connectivity among all segments (The tree
is spanning all segments)
Block all other ports
Spanning Tree Algorithm
All switches are assigned a Bridge ID
Select Root Bridge as the node with the lowest bridge ID and
MAC address
Mark Root Port in all other switches such that it has the least
cost to the Root Bridge
For each LAN segment, select the bridge with least cost to the
root bridge and mark the corresponding port as the
Designated Port
Forward frames only over Root & Designated ports and block
all others
Spanning Tree illustration
Bridge ID: 1 Bridge ID: 2
Root Port
Designated Port
Blocked Port
Bridge ID: 4
Bridge ID: 3
Source: http://www.10gea.org/ethernet-wan.htm
Data Center Ethernet (DCE)
Architectural extensions to address increased traffic
load & new traffic types in Data Center caused by
Server virtualization and I/O consolidation
Also known as Converged Enhanced Ethernet (CEE)
IEEE 802.1Qbb: Priority Flow Control
IEEE 802.1Qau: Congestion Notification
IEEE 802.1Qaz: Bandwidth Management
IEEE 802.1Aq: Shortest Path Bridging
IEEE 802.1Qbb: Priority Flow Control
Combined use of Flow Control (IEEE 802.3x) and
Prioritization (IEEE 802.1p)
Send PAUSE frame on a per-user-priority basis
Loss sensitive protocols (Fibre Channel) to get a lossless lane
Extremely Very Low Medium High Very Ultra Super Infrared Visible Ultra- X-Rays
Low Low High High High Light violet
2.4–2.4835 GHz
5 GHz
83.5 MHz
(IEEE 802.11a)
(IEEE 802.11b,g)
IEEE 802.11n
IEEE 802.11n
Source: Wireless Protocols, Todd Lammle
WLAN design goals
Easy to use and plug-and-play setup
Enables operation globally over wireless
Uses license-free ISM band of frequencies
Low power operation
Extend the use to cover battery operated devices
Easily inter-operate with the existing wired
infrastructure protecting the committed investments
Support for mobility through roaming
Wi-Fi in IEEE 802
Broadband Mobility
IEEE 802.16e
WMAN
IEEE 802.16 / ETSI HiperMAN
WiMAX (256-FFT OFDM)
48+ km.
WLAN
IEEE 802.11x
Wi-Fi
100m.
WPAN
IEEE 802.15
Bluetooth
10m.
BSS1 STA5
STA4
STA1 BSS3
STA2 STA3
BSS2
ESS
Portal function
802.11 LAN
BSS1 STA5
STA4
STA1 BSS3
Access Access
Point Point
Wireless
STA2 STA3
BSS2
ESS
Services offered by a DS
Association, Re-association & de-association
Source: CWAP Certified Wireless Analysis Professional Official Study Guide, Devin Akin and Jim Geier
WLAN topologies
Infrastructure WLAN
A set of wireless nodes whose communication is coordinated
via an access point
Ad-hoc WLAN
A set of wireless nodes that established communication
between them without a central coordinator
IEEE 802.11 standards
Criteria 802.11a 802.11b 802.11g 802.11n
Source: http://www.computerlanguage.com/ydict.html
MIMO
Frame Aggregation
Increases the Maximum Frame Size at the MAC layer
ServiceFrames: 2304 Bytes -> 8 kB
Data Frames: 2304 Bytes -> 64 kB