A virtual circuit (VC) is a means of transporting data over a data network, based on
packet switching
In telecommunications, packet switching is a method of grouping data into '' packets'' that are transmitted over a digital network. Packets are made of a header and a payload. Data in the header is used by networking hardware to direct the p ...
and in which a connection is established within the network between two endpoints. The network, rather than having a fixed data rate reservation per connection, like in
circuit switching
Circuit switching is a method of implementing a telecommunications network in which two network nodes establish a dedicated communications channel ( circuit) through the network before the nodes may communicate. The circuit guarantees the full ...
, takes advantage of the statistical multiplexing on its transmission links (an intrinsic feature of packet switching, well suited to data traffic). In addition, VCs standardized by the
CCITT in 1976 impose per-connection
flow controls at all user-to-network and network-to-network interfaces. They thus eliminate the need for the network to lose user packets in heavily loaded network zones, an intrinsic feature of
datagram networks for their congestion control.
Before a connection or virtual circuit may be used, it must be established between two or more
nodes or
software applications by means of
call setup
In telecommunication, call setup is the process of establishing a virtual circuit across a telecommunications network. Call setup is typically accomplished using a signaling protocol.
The term call set-up time has the following meanings:
# The ...
. After that, a
bit stream
A bitstream (or bit stream), also known as binary sequence, is a sequence of bits.
A bytestream is a sequence of bytes. Typically, each byte is an 8-bit quantity, and so the term octet stream is sometimes used interchangeably. An octet may ...
or
byte stream
A bitstream (or bit stream), also known as binary sequence, is a sequence of bits.
A bytestream is a sequence of bytes. Typically, each byte is an 8-bit quantity, and so the term octet stream is sometimes used interchangeably. An octet may ...
may be delivered between the nodes; hence, a virtual circuit protocol allows higher-level protocols to avoid dealing with the division of data into
Protocol data unit
In telecommunications, a protocol data unit (PDU) is a single unit of information transmitted among peer entities of a computer network. It is composed of protocol-specific control information and user data. In the layered architectures of c ...
s.
Many virtual circuit protocols, but not all, provide
reliable communication service through the use of data retransmissions invoked by
error detection
In information theory and coding theory with applications in computer science and telecommunication, error detection and correction (EDAC) or error control are techniques that enable reliable delivery of digital data over unreliable communi ...
and
automatic repeat request
Automatic repeat request (ARQ), also known as automatic repeat query, is an error-control method for data transmission that uses acknowledgements (messages sent by the receiver indicating that it has correctly received a packet) and timeouts ...
(ARQ).
An alternative to virtual-circuit networks are
datagram
A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections. Datagrams provide a connectionless communication service across a packet-switched network. The del ...
networks.
Comparison with circuit switching
Virtual circuit communication resembles
circuit switching
Circuit switching is a method of implementing a telecommunications network in which two network nodes establish a dedicated communications channel ( circuit) through the network before the nodes may communicate. The circuit guarantees the full ...
, since both are
connection oriented
Connection-oriented communication is a network communication mode in telecommunications and computer networking, where a communication session or a semi-permanent connection is established before any useful data can be transferred. The establish ...
, meaning that in both cases data is delivered in correct order, and signalling 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:
* varying packet queue lengths in the network nodes,
* varying bit rate generated by the application,
* varying load from other users sharing the same network resources by means of
statistical multiplexing
Statistical multiplexing is a type of communication link sharing, very similar to dynamic bandwidth allocation (DBA). In statistical multiplexing, a communication channel is divided into an arbitrary number of variable bitrate digital channels or ...
, etc.
Virtual call capability
In
telecommunication
Telecommunication is the transmission of information by various types of technologies over wire, radio, optical, or other electromagnetic systems. It has its origin in the desire of humans for communication over a distance greater than that fe ...
, a virtual call capability, sometimes called a virtual call facility, is a
service feature
A vertical service code (VSC) is a sequence of digits and the signals star (*) and number sign (#) dialed on a telephone keypad or rotary dial to enable or disable certain telephone service features. Some vertical service codes require dialing of ...
in which:
*a
call
Call or Calls may refer to:
Arts, entertainment, and media Games
* Call, a type of betting in poker
* Call, in the game of contract bridge, a bid, pass, double, or redouble in the bidding stage
Music and dance
* Call (band), from Lahore, Paki ...
set-up procedure and a call disengagement procedure determine the period of communication between two
DTEs in which
user data are transferred by a
packet switched
In telecommunications, packet switching is a method of grouping data into '' packets'' that are transmitted over a digital network. Packets are made of a header and a payload. Data in the header is used by networking hardware to direct the pack ...
network
*end-to-end
transfer
Transfer may refer to:
Arts and media
* ''Transfer'' (2010 film), a German science-fiction movie directed by Damir Lukacevic and starring Zana Marjanović
* ''Transfer'' (1966 film), a short film
* ''Transfer'' (journal), in management studies
...
control of packets within the network is required
*data may be delivered to the network by the
call originator
The calling party (in some contexts called the "A-Number") is a person who (or device that) initiates a telephone call. The person who, or device that, receives a telephone call is the called party (or callee or B-party).
In some countries, it is ...
before the call
access phase
Access may refer to:
Companies and organizations
* ACCESS (Australia), an Australian youth network
* Access (credit card), a former credit card in the United Kingdom
* Access Co., a Japanese software company
* Access Healthcare, an Indian BPO se ...
is completed, but the data are not delivered to the
call receiver
Call or Calls may refer to:
Arts, entertainment, and media Games
* Call, a type of betting in poker
* Call, in the game of contract bridge, a bid, pass, double, or redouble in the bidding stage
Music and dance
* Call (band), from Lahore, Paki ...
if the
call attempt
Call or Calls may refer to:
Arts, entertainment, and media Games
* Call, a type of betting in poker
* Call, in the game of contract bridge, a bid, pass, double, or redouble in the bidding stage
Music and dance
* Call (band), from Lahore, Paki ...
is unsuccessful
*the network delivers all the user data to the call receiver in the same
sequence
In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is calle ...
in which the data are received by the network
*multi-access DTEs may have several virtual calls in progress at the same
time
Time is the continued sequence of existence and events that occurs in an apparently irreversible succession from the past, through the present, into the future. It is a component quantity of various measurements used to sequence events, ...
.
An alternative approach to virtual calls is
connectionless communication
Connectionless communication, often referred to as CL-mode communication,Information Processing Systems - Open Systems Interconnection, "Transport Service Definition - Addendum 1: Connectionless-mode Transmission", International Organization for ...
using
datagram
A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections. Datagrams provide a connectionless communication service across a packet-switched network. The del ...
s.
In the 1970s, the "virtual call" concept was used in the British
EPSS and enhanced by
Rémi Després
Rémi Després (born January 16, 1943) is a French engineer and entrepreneur known for his contributions on data networking.
Education
In 1961–1963, Rémi Després attended École Polytechnique of Paris, of which he holds an Engineer degree. ...
as "virtual circuits" in the French
RCP.
Layer 4 virtual circuits
Connection oriented
transport layer
In computer networking, the transport layer is a conceptual division of methods in the layered architecture of protocols in the network stack in the Internet protocol suite and the OSI model. The protocols of this layer provide end-to-end ...
protocols such as
TCP[RFC 1180] 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,
[RFC 1644] 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
The data link layer, or layer 2, is the second layer of the seven-layer OSI model of computer networking. This layer is the protocol layer that transfers data between nodes on a network segment across the physical layer. The data link layer ...
and
network layer
In the seven-layer OSI model of computer networking, the network layer is layer 3. The network layer is responsible for packet forwarding including routing through intermediate routers.
Functions
The network layer provides the means of tran ...
virtual circuit protocols are based on connection-oriented
packet switching
In telecommunications, packet switching is a method of grouping data into '' packets'' that are transmitted over a digital network. Packets are made of a header and a payload. Data in the header is used by networking hardware to direct the p ...
, meaning that data is always delivered along the same network path, i.e., through the same nodes. Advantages with this over connectionless packet switching are:
* Bandwidth reservation during the connection establishment phase is supported, making guaranteed
quality of service
Quality of service (QoS) is the description or measurement of the overall performance of a service, such as a telephony or computer network, or a cloud computing service, particularly the performance seen by the users of the network. To quantitat ...
(QoS) possible. For example, a
constant bit rate
Constant bitrate (CBR) is a term used in telecommunications, relating to the quality of service. Compare with variable bitrate.
When referring to codecs, constant bit rate encoding means that the rate at which a codec's output data should be con ...
QoS class may be provided, resulting in emulation of
circuit switching
Circuit switching is a method of implementing a telecommunications network in which two network nodes establish a dedicated communications channel ( circuit) through the network before the nodes may communicate. The circuit guarantees the full ...
.
* Less overhead is required since the packets are not routed individually and complete addressing information is not provided in the header of each data packet. Only a small
virtual channel identifier
Asynchronous Transfer Mode (ATM) is a telecommunications standard defined by American National Standards Institute (ANSI) and ITU-T (formerly CCITT) for digital transmission of multiple types of traffic. ATM was developed to meet the needs of ...
(VCI) is required in each packet. Routing information is only transferred to the network nodes during the connection establishment phase.
* The network nodes are faster and have higher capacity in theory since they are switches that only perform routing during the connection establishment phase, while connectionless network nodes are routers that perform routing for each packet individually. Switching only involves looking up the virtual channel identifier in a table rather than analyzing a complete address. Switches can easily be implemented in
ASIC hardware, while routing is more complex and requires software implementation. However, because of the large market of IP routers, and because advanced IP routers support
layer 3 switching, modern IP routers may today be faster than switches for connection-oriented protocols.
Example protocols
Examples of transport layer protocols that provide a virtual circuit:
*
Transmission Control Protocol
The Transmission Control Protocol (TCP) is one of the main protocols of the Internet protocol suite. It originated in the initial network implementation in which it complemented the Internet Protocol (IP). Therefore, the entire suite is common ...
(TCP), where a reliable virtual circuit is established on top of the underlying unreliable and connectionless IP protocol. The virtual circuit is identified by the source and destination
network socket
A network socket is a software structure within a network node of a computer network that serves as an endpoint for sending and receiving data across the network. The structure and properties of a socket are defined by an application programmin ...
address pair, i.e. the sender and receiver IP address and port number. Guaranteed QoS is not provided.
*
Stream Control Transmission Protocol (SCTP), where a virtual circuit is established on top of the IP protocol.
Examples of network-layer and data-link-layer virtual circuit protocols, where data always is delivered over the same path:
*
X.25
X.25 is an ITU-T standard protocol suite for packet-switched data communication in wide area networks (WAN). It was originally defined by the International Telegraph and Telephone Consultative Committee (CCITT, now ITU-T) in a series of drafts ...
, where the VC is identified by a
virtual channel identifier
Asynchronous Transfer Mode (ATM) is a telecommunications standard defined by American National Standards Institute (ANSI) and ITU-T (formerly CCITT) for digital transmission of multiple types of traffic. ATM was developed to meet the needs of ...
(VCI). X.25 provides reliable node-to-node communication and guaranteed QoS.
*
Frame Relay
Frame Relay is a standardized wide area network (WAN) technology that specifies the physical and data link layers of digital telecommunications channels using a packet switching methodology. Originally designed for transport across Integrated Se ...
, where the VC is identified by a DLCI. Frame Relay is unreliable, but may provide guaranteed QoS.
*
Asynchronous Transfer Mode
Asynchronous Transfer Mode (ATM) is a telecommunications standard defined by American National Standards Institute (ANSI) and ITU-T (formerly CCITT) for digital transmission of multiple types of traffic. ATM was developed to meet the needs of ...
(ATM), where the circuit is identified by a
virtual path identifier
Asynchronous Transfer Mode (ATM) is a telecommunications standard defined by American National Standards Institute (ANSI) and ITU-T (formerly CCITT) for digital transmission of multiple types of traffic. ATM was developed to meet the needs of ...
(VPI) and
virtual channel identifier
Asynchronous Transfer Mode (ATM) is a telecommunications standard defined by American National Standards Institute (ANSI) and ITU-T (formerly CCITT) for digital transmission of multiple types of traffic. ATM was developed to meet the needs of ...
(VCI) pair. The
ATM layer provides unreliable virtual circuits, but the ATM protocol provides for reliability through the
ATM adaptation layer
The use of Asynchronous Transfer Mode (ATM) technology and services creates the need for an adaptation layer in order to support information transfer protocols, which are not based on ATM. This adaptation layer defines how to segment higher-la ...
(AAL) Service Specific Convergence Sublayer (SSCS) (though it uses the terms "assured" and "non-assured" rather than "reliable" and "unreliable").
[ITU-T, ''B-ISDN ATM Adaptation Layer specification: Type 3/4 AAL'', Recommendation I.363.3 (08/96), International Telecommunication Union, 1996, p5.][ITU-T, ''B-ISDN ATM Adaptation Layer specification: Type 5 AAL'', Recommendation I.363.5 (08/96), International Telecommunication Union, 1996, p5.]
*
General Packet Radio Service (GPRS)
*
Multiprotocol label switching
Multiprotocol Label Switching (MPLS) is a routing technique in telecommunications networks that directs data from one node to the next based on labels rather than network addresses. Whereas network addresses identify endpoints the labels identif ...
(MPLS), which can be used for IP over virtual circuits. Each circuit is identified by a label. MPLS is unreliable but provides eight different QoS classes.
Permanent and switched virtual circuits in ATM, Frame Relay, and X.25
Switched virtual circuits (SVCs) are generally set up on a per-
call
Call or Calls may refer to:
Arts, entertainment, and media Games
* Call, a type of betting in poker
* Call, in the game of contract bridge, a bid, pass, double, or redouble in the bidding stage
Music and dance
* Call (band), from Lahore, Paki ...
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. PVC configuration is usually preconfigured by the service provider. Unlike SVCs, PVC are usually very seldom broken/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 and/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.
* Frame Relay is typically used to provide PVCs.
*
ATM provides both switched virtual connections and permanent virtual connections, as they are called in ATM terminology.
*
X.25
X.25 is an ITU-T standard protocol suite for packet-switched data communication in wide area networks (WAN). It was originally defined by the International Telegraph and Telephone Consultative Committee (CCITT, now ITU-T) in a series of drafts ...
provides both virtual calls and PVCs, although not all X.25 service providers or DTE implementations support PVCs as their use was much less common than SVCs
See also
*
Data link connection identifier
A data link connection identifier (DLCI) is a Frame Relay 10-bit-wide link-local virtual circuit identifier used to assign frames to a specific PVC or SVC. Frame Relay networks use DLCIs to statistically multiplex frames. DLCIs are preloaded int ...
(DLCI)
*
Label switching
*
Protocol Wars
A long-running debate in computer science known as the Protocol Wars occurred from the 1970s to the 1990s when engineers, organizations and nations became polarized over the issue of which communication protocol would result in the best and most ...
*
Traffic flow (computer networking)
In packet switching networks, traffic flow, packet flow or ''network flow'' is a sequence of packet (information technology), packets from a source computer to a destination, which may be another host, a multicast group, or a broadcast domain. RFC ...
References
*{{FS1037C
Communication circuits
Network protocols
Packets (information technology)
Telephone services