Virtual circuit

A virtual circuit (VC) is a means of transporting data over a data network, based on packet switching and in which a connection is first established across the network between two endpoints. Unlike circuit switching, which reserves a fixed data rate for each connection, a virtual circuit network takes advantage of the statistical multiplexing on its transmission links, in which many connections share the available capacity. This is an intrinsic feature of packet switching.

The 1978 X.25 standardization of virtual circuits imposes per-connection flow controls at all user-to-network and network-to-network interfaces. Flow control limits how fast a sender may transmit so that it does not overwhelm the receiver or the network. This permits participation in congestion control and reduces the likelihood of packet loss in a heavily loaded network. Some virtual circuit protocols provide reliable communication service by retransmitting data when error detection finds that it was lost or corrupted, a technique known as automatic repeat request (ARQ).

Before a virtual circuit may be used, it must be established between network nodes in the call setup phase. Once established, a bit stream or byte stream may be exchanged between the nodes. This hides the low-level division of the data into protocol data units (packets) and enables higher-level protocols to operate transparently.

An alternative to virtual-circuit networks is datagram networks.

History

Paul Baran introduced the concept of virtual circuits in 1962. The ARPANET operated as what later came to be called a virtual circuit network, with the constraint that, for each connection, only one message may be in transit in the network. This preserved the sequential order of messages from end to end. In the early 1970s, the British Post Office developed the concept of "virtual calls" for its experimental EPSS network, but the protocols were complex and limited. Rémi Després formalized the concept of virtual circuits and validated it on the French RCP experimental network with his team at CNET. He and others submitted the X.25 Recommendation to the CCITT (now ITU-T), which became the standard communication protocol of worldwide public data networks in the 1970s–80s.

Comparison with circuit switching

Virtual circuit communication resembles circuit switching, since both are connection oriented, meaning that in both cases data is delivered in correct order, and signaling overhead is required during a connection establishment phase. However, circuit switching provides a constant bit rate and latency, while these may vary in a virtual circuit service due to factors such as:

Virtual call capability

In telecommunications, a virtual call capability, sometimes called a virtual call facility, is a service feature in which:

An alternative approach to virtual calls is connectionless communication using datagrams.

In the early 1970s, virtual call capability was developed by British Telecom for EPSS (building on the work of Donald Davies at the National Physical Laboratory). The concept was enhanced by Rémi Després as virtual circuits for the RCP experimental network of the French PTT.

Layer 4 virtual circuits

Connection oriented transport layer protocols such as TCP may rely on a connectionless packet switching network layer protocol such as IP, where different packets may be routed over different paths, and thus be delivered out of order. However, it is possible to use TCP as a virtual circuit, since TCP includes segment numbering that allows reordering on the receiver side to accommodate out-of-order delivery.

Layer 2/3 virtual circuits

Data link layer and network layer virtual circuit protocols are based on connection-oriented packet switching, meaning that data is always delivered along the same network path, i.e., through the same nodes. Advantages of this over connectionless packet switching are:

Example protocols

Examples of transport layer protocols that provide a virtual circuit:

Examples of network-layer and data-link-layer virtual circuit protocols, where data is always delivered over the same path:

Permanent and switched virtual circuits in ATM, Frame Relay, and X.25

Switched virtual circuits (SVCs) are generally set up on a per-call basis and are disconnected when the call is terminated. However, a permanent virtual circuit (PVC) can be established as an option to provide a dedicated circuit link between two facilities. PVCs are usually configured in advance by the service provider and, unlike SVCs, are seldom intentionally disconnected.

A switched virtual circuit (SVC) is a virtual circuit that is dynamically established on demand and is torn down when transmission is complete, for example, after a phone call or a file download. SVCs are used in situations where data transmission is sporadic or not always between the same data terminal equipment (DTE) endpoints.

A permanent virtual circuit (PVC) is a virtual circuit established for repeated/continuous use between the same DTE. In a PVC, the long-term association is identical to the data transfer phase of a virtual call. Permanent virtual circuits eliminate the need for repeated call set-up and clearing.

See also