Chapter 04
Chapter 04
Packet Switching
Networks
&
Frame Relay
1
Introduction
Packet-Switching
– Switching Technique
– Routing
– X.25
Frame Relay Networks
– Architecture
– User Data Transfer
– Call Control
2
Chapter 4 Frame Relay
Introduction - Taxonomy
Communication
Networks
5
Chapter 4 Frame Relay
Packet-Switching
Data transmitted in short blocks,
or packets
Packet length typically < 1000
octets
Each packet contains user data
plus control info (routing)
Store and forward
6
Chapter 4 Frame Relay
Advantages over Circuit-
Switching
Greater line efficiency (many
packets can go over shared link)
Data rate conversions
Non-blocking (e.g. no “busy
signals”) under heavy traffic (but
increased delays)
Each packet can be handled
based on a priority scheme
9
Chapter 4 Frame Relay
Disadvantages relative to
Circuit-Switching
Packets incur delay with every
node they pass through
Q * (dprop + dtrans + dqueue + dproc)
Jitter: variation in end-to-end
packet delay
Data overhead in every packet for
routing information, etc
More processing overhead for
every packet at every node
traversed… circuit switching has
little/no processing at each node
10
Chapter 4 Frame Relay
Switching Technique
Large are messages broken up into
smaller “chunks,” generically called
packets
Store and forward packet handling in core
Two approaches to switching data:
– Datagram
Each packet sent independently of the others
No call setup
congestion)
– Virtual circuit
Fixed route established before any packets sent
No need for routing decision for each packet at each
node 11
Chapter 4 Frame Relay
Packet Switching: Datagram
Approach
Advantages:
•No call setup
•Flexible routes
•Reliability
12
Chapter 4 Frame Relay
Packet Switching: Virtual-Circuit
Approach
Advantages:
•Network services
•sequencing
•error control
•Performance
13
Chapter 4 Frame Relay
Routing
Key function of any packet-
switched network: forwarding
packets to a destination
Adaptive routing, routes are
adjusted based on:
– Node/trunk failure
– Congestion
Nodes (routers/switches) must
exchange information about the
state of the network
14
Chapter 4 Frame Relay
The Use of Virtual Circuits
Virtual end-to-end
circuits
15
Chapter 4 Frame Relay
X.25
Firstcommercial packet switched
network interface standard
Motivates discussion of frame relay
and ATM design
X.25 defines 3 levels of functionality
L1 - Physical level (X.21, EIA-232, etc.):
physical connection of a station to the link
L2 - Link/frame level (LAPB, a subset of
HDLC): logical, reliable transfer of data
over the physical link
L3 - Packet level: network layer, provides
virtual circuit service to support logical
connections between two subscriber
stations (multiplexing) 16
Chapter 4 Frame Relay
User Data and X.25 Protocol
Control Information
21
Chapter 4 Frame Relay
Frame Relay Architecture
X.25 has 3 layers: physical, link,
network
Frame Relay has 2 layers:
physical and data link (or LAPF)
LAPF core: minimal data link
control
– Preservation of order for frames
– Small probability of frame loss
23
Chapter 4 Frame Relay
LAPF Core
Frame delimiting, alignment and
transparency
Frame
multiplexing/demultiplexing
Inspection of frame for length
constraints
Detection of transmission errors
Congestion control
24
Chapter 4 Frame Relay
LAPF-core Formats
10-bit address
23-bit address
16-bit address
25
Chapter 4 Frame Relay
User Data Transfer Frame
No connection control fields,
which are normally used for:
– Identifying frame type (data or
control)
– Sequence numbers, used for
error/flow control
Implication:
– Connection setup/teardown carried
on separate channel
– No flow and error control, must be
handled by higher layer in protocol
stack 26
Chapter 4 Frame Relay
Frame Relay Call Control
Frame Relay Call Control
– Details of call control depend on the
context of its use
– Assumes FR over ISDN
– Generally simpler for point-to-point
use
Data transfer involves:
– Establish logical connection and assign
a unique DLCI
– Exchange data frames
– Release logical connection
27
Chapter 4 Frame Relay
Frame Relay Call Control
4 message types needed
SETUP…request link establishment
CONNECT…reply to SETUP with
connection accepted
RELEASE…request to clear (tear
down) a connection
RELEASE COMPLETE… reply to
SETUP with connection denied, or
response to RELEASE
28
Chapter 4 Frame Relay