Network Layer Protocols
Network Layer Protocols
Network Layer Protocols
X.25 (contd.)
X.25 Layers Physical layer X.21 or X.21 bis (EIA RS232 equivalent) Link Layer LAP B (HDLC in ABM) Network Layer X.25 LAP B I frames to send data S frames for flow and error control U frames to setup and manage connection Eg. SABM followed by UA followed by several I frames and then a DISC and UA to terminate.
X.25 (contd.)
X.25 Packet Layer Called the Packet Layer Protocol (PLP) Responsible for (a) Establishing connection, (b) Transferring data, and (c) Terminating connection. Responsible for creating the virtual circuit and negotiating service options between DTEs. Note: Frame layer (i.e. link layer) is responsible for making connection between DTE and DCE. Packet layer (X.25) is responsible for making connection between Two DTEs. (i.e. end-to-end connection.)
X.25 (Contd.)
X.25 Flow and Error Control Done at both frame and network layers Frame layer does it across a link Network layer does it end-to-end Note: X.25 Virtual Circuit is created at the network layer and not at the link layer. (In contrast, the Frame Relay and ATM are created at the link layer.) X.25 Packet Format
X.25 (Contd.)
X.25 Packet Format General Format Identifier Identifies packet parameters i.e., data or control information, what kind of window flow control, whether delivery confirmation is required. Logical Channel Identifier Identifies the virtual circuit across the local DTE/DCE interface. Packet Type Identifier Identifies the packet type if it is a control packet. User Data This field carries the user data.
X.25 (Contd.)
X.25 Disadvantages Was designed for PSTN which was slow at the time. Max. speed available is 48 kbps. This is insufficient for modern day data transactions. Addressing scheme (X.21) is based on the telephone numbering system. Has superfluous error control that makes the throughput small. Some X.25 provisions (such as the operation of Character Mode Terminals) have become obsolete.
Less overhead compared to X.25 in frame format Relies on improved transmission media, such as fiber It particularly suits for protocols like TCP/IP since there is no duplication at the network layer
DLCI
4 bits
FECN BECN DE EA
1 bit 1 bit 1 bit 1 bit
DLCI (6+4=10 bits) gives the VC identifier. Command/Response bit is for the use of the upper layer. EA is Extended Address bit. If it is 0 then the address field has another byte to follow. If it is 1 the current byte is the last. FECN is Forward Explicit Congestion Notification. BECN is Backward Explicit Congestion Notification. DE is Discard Eligibility bit. If 1 do not discard.