X.25 is a packet-switching protocol suite developed by the ITU-T in the 1970s for wide area networking over unreliable communication links.
It operates at the first three layers of the OSI model and was widely used for connecting remote terminals and computers over public data networks, particularly before reliable digital infrastructure became commonplace.
Architecture and Operation: X.25 uses virtual circuits to establish connections between endpoints.
It employs three protocol layers: X.25 Packet Layer Protocol (Layer 3), LAPB (Link Access Procedure Balanced) at Layer 2, and typically operates over serial interfaces at Layer 1.
The protocol provides both Switched Virtual Circuits (SVCs) that are established on-demand and Permanent Virtual Circuits (PVCs) that are pre-configured.
Key Features:
- Built-in error detection and correction at multiple layers
- Flow control to prevent buffer overflow
- Virtual circuit multiplexing over single physical links
- Store-and-forward packet switching
- Comprehensive error recovery mechanisms
Cisco Configuration Example:
Router(config)# interface serial 0/0
Router(config-if)# encapsulation x25
Router(config-if)# x25 address 12345678
Router(config-if)# x25 map ip 192.168.1.2 23456789 broadcast
Router(config-if)# x25 htc 16
Router(config-if)# x25 nvc 2
Router(config-if)# ip address 192.168.1.1 255.255.255.0
This configuration sets up X.25 encapsulation with local address 12345678, maps remote IP 192.168.1.2 to X.25 address 23456789, sets highest two-way channel to 16, and allows 2 virtual circuits.
Legacy Applications: X.25 was extensively used for:
- Bank ATM networks
- Point-of-sale terminals
- Airline reservation systems
- Remote terminal access
Limitations: Despite its reliability, X.25 suffered from high latency due to extensive error checking at each hop, limited bandwidth, and complex configuration requirements.
Modern Status: X.25 has been largely replaced by Frame Relay, MPLS, and internet-based VPNs, though some legacy systems still operate in developing countries where reliable infrastructure remains challenging.