Raj Jain Professor of CIS The Ohio State University Columbus, OH 43210
Raj Jain Professor of CIS The Ohio State University Columbus, OH 43210
Raj Jain Professor of CIS The Ohio State University Columbus, OH 43210
25
Raj Jain
Professor of CIS
The Ohio State University
Columbus, OH 43210
[email protected]
http://www.cis.ohio-state.edu/~jain/
The Ohio State University Raj Jain
1
Overview
q Protocol layers
q Packet types and format
q Virtual call
q Multiplexing
q Flow, error control, segmentation, and reassembly
DTE DCE
Your Computer
DTE DCE
Data
Call Accepted
Call Connected
Data Data
Data
Data
HTC Assignment
One-way outgoing virtual calls by DTE
LOC
4095
The Ohio State University Raj Jain
8
Packet Format
Q D0 1 Group # Q D1 0 Group #
Channel # Channel #
P(R) M P(S) 0 P(S) 0
P(R) M
User Data
User Data
Data packet w 3-bit seq
Data packet w 7-bit seq
0 00 1 Group # 0 01 0 Group #
Channel # Channel #
P(R) Packet Type 1 Packet Type 1
P(R) 0
RR, RNR, and REJ packet RR, RNR, and REJ packet
with 3-bit sequence numbers with 7-bit sequence numbers
The Ohio State University Raj Jain
10
Flow and Error Control
q Link Access Protocol - Balanced (LAPB)
q Balanced ⇒ Both stations combined
q 3- or 7-bit sequence numbers
q 3-4th bits of X.25 header =
01 ⇒ 3-bit sequence number
10 ⇒ 7-bit sequence number
q Each VC has separate sequence number
q D=0 packets are acked by local DCE
q D=1 packets are acked by remote DTE (end-to-end ack)
q X.21, LAPB
q PVC and virtual call
q VC numbers
q A and B packets
q M and D bits