Overview of Switched WAN Networks

This post gives a brief overview of Switched WAN networks and their theory of operation.

Apart from point-to-point WAN Networks (where PPP is used), there is another type of WAN network known as switched WAN Network. As the name indicates, a switched WAN network is used to connect multiple end nodes through a common WAN network. The end nodes connect to a switched WAN network to either reach other nodes connected to the switched network or to connect to the public Internet.
X.25, Frame Relay, ATM, MPLS are examples of popular  switched WAN protocols.
The diagram given below illustrates a typical switched WAN network
A typical Switched WAN Network
A typical Switched WAN Network
As shown in the above diagram, end nodes typically consist of DTE (Data Terminal Equipment) and DCE (Data Communicating Equipment) combinations. While the end computer is the DTE, the DCE is a modem that implements one of the switched WAN protocols (like X.25, ATM etc.) and is responsible for interfacing with the Switched WAN network. The Switched WAN network consists of multiple protocol specific WAN Switches (like ATM switches or  MPLS switches) that basically implement Layer 2 Switching of data frames. The Switched Network could act as a multi-point to multi-point network connecting the different end nodes or it could also act as a VPN (Virtual Private Network) connecting specific end nodes or end networks. The Switched WAN network is also typically connected to an external gateway router for enabling the end nodes to connect to the public Internet.

Basic Theory of Operation of Switched WAN Networks

All switched WAN networks work on the principle of  VC (Virtual Circuit) based packet switching. ( http://computernetworkingsimplified.com/physical-layer/overview-circuit-switching-packet-switching/ )

This implies that there would be a signalling phase and then a data transfer phase.

During the signalling phase, the WAN switches communicate among themselves using a signalling protocol to establish a virtual connection between the end points that need to communicate. As part of this signalling phase, a suitable path is determined and then VC table entries are created in each of the switches that are along the path of the communicating nodes. The VC table entries typically consists of protocol specific VC identifiers like ATM VPI/VCI, MPLS labels, Frame Relay DLCIs etc.

After the signalling phase, a virtual logical connection is established between the communicating end nodes through the switched WAN network. The actual data is then carried in Layer 2 frames (data transfer phase) with suitable VC Identifiers (VPI/VCI, labels etc.). The intermediate switches look at the VC Identifiers in the incoming frames, lookup the VC table for identifying the appropriate outgoing interface and also the outgoing VC Identifiers. It then replaces the incoming VC IDs with the outgoing VC IDs and sends out data frames via. appropriate outgoing interfaces.

As data is switched by looking at short VC IDs, the switching is faster than Layer 3 Routing (that used IP address lookup). Additionally, as there is an explicit signalling phase for VC establishment, QOS, and Traffic Engineering could be implemented easily by giving different priorities to different end flows, by marking VC entries with priorities. Similarly, point to point VPNs could also created between different end points by creating dedicated VC paths and giving unique VC IDs to the VPN connections.

Also both PVC (Permanent Virtual Ciruits) and SVC (Switched Virtual Circuits) are supported by these protocols. While leased lines use PVCs, general connections use SVCs.

While X.25 and Frame Relay use Frames as the basic unit of transmission, ATMs use fixed size cells as their basic data unit.

Building blocks of a computer network

Describes the basic building blocks of a computer network that consists of End Nodes, Intermediate Nodes like Routers, Switches, Telecommunication links and network protocol suite

It consists of a set of hardware components and a suite of Network software protocols
Basic building blocks of a computer networks
Basic building blocks of a computer networks
Hardware components consists of End Nodes (sending/receiving computers), Intermediate Nodes (Routers/Switches/hubs etc. that are part of the data exchange) and telecommunication links (wired/wireless media, cables, connectors etc.).
End Nodes:
  • Computer or any embedded system with Network Hardware and Software.
  • Hardware typically consists of add-on-cards called Network Interface cards (NICs). The NICs implement some of the communication protocols in hardware, so as not overburden the main CPU. The NICs also interfaces  to the   telecommunication links, that connect the end nodes to the network.
  • While certain lower layer protocols are implemented in hardware, lots of higher layer protocols like TCP, IP, FTP, HTTP etc. are implemented in software.
  • Actual communication of meaningful data happens between a sending computer and a receiving computer.
  • Data is split into smaller units called packets by the sending computer and then handed over to the data exchange devices, to be carried over to the receiving computer
Examples of End Nodes in a Computer Network
Examples of End Nodes in a Computer Network
Intermediate-Nodes
  • These are special purpose computers/embedded systems used  only for data transfer between end nodes
  • These devices are part of the data exchange and are used to route data packets between the sending and receiving computers.
  • E.g.: Packet Switches (Routers/Switches), Hubs, Repeaters, Modems, Satellites etc.
Examples of Intermediate nodes in a computer Network
Examples of Intermediate nodes in a computer Network
Telecommunication Links
  • Consists of Wired and wireless medium that actually carries the electrical/optical/electromagnetic signals. 
  • Just like vehicles need roads to move, computers require wired/wireless telecommunication links to carry the signals between them.
  • Includes cables (e.g. twisted pair copper, coaxial etc.) and connectors (e.g. RJ-11, RJ-45 etc.) for wired media
  • Includes different types of antennae for wireless media
Examples of Wired and Wireless Communication links
Examples of Wired and Wireless Communication links
Network Software
  • Wide range of protocols developed specifically for computer communication (E.g. IP, TCP, UDP etc.)
  • A protocol is a set of rules developed for a very specific purpose
  • Consists of core communication protocols (like IP, TCP, UDP etc.) and also application specific protocols (like HTTP, FTP, SMTP etc.)
  • Includes device drivers written for specific hardware (E.g. Ethernet device drivers)