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.

Different types of node to node communications used in Computer Networks

This post gives an overview of the different types of node to node communication used in Computer Networking. Specifically it describes Unicasting, Multicasting, Broadcasting and Anycasting.

Basically, there are four types of node to node communication used in Computer Networking. They are Unicasting, Multicasting, Broadcasting and Anycasting.

Unicasting :

When a source node sends a packet or frame destined to exactly one machine node, then it is termed as Unicast communication. This is basically point to point communication. Unicasting can be done at the physical layer (point to point links) or at the data link layer or at the network layer. Most of the standard application layer protocols are from a source node to a single destination node. Examples include HTTP, FTP, SMTP etc.

Multicasting:

When a source node sends a packet or frame to a group address, destined only to a set of nodes that are part of a specific group, then it is termed as multicast communication. The group is termed as a multicast group. Multicasting is a form of point to multi-point communication, where communication is from a source node to multiple end nodes, but not to all end nodes of a network. It is communication from a source node confined to all the members of a specific group. Multicasting can be done at both data link and network layers. Multicasting is used for real-time applications like Voice over IP, audio/video conferencing, video or audio broadcasting to specific groups, Video On Demand (VOD) etc.

Broadcasting:

When a source node sends a packet or frame destined to all  nodes in a network, then it is termed as broadcast communication. Broadcasting is point to multi-point communication. Due to the increased amount of network traffic created by broadcasting, it is normally used only within a network, when it is essential to address all nodes of a network. Broadcasting can be done at the physical (bus lines),  data link and network layers. Examples of broadcasting include routing protocol update packets, DHCP address negotiation packets, Layer 2 flooded frames, spanning tree protocol frames etc.

 

Anycasting :

When a source node sends a packet or frame to a special destination IP address known as Anycast IP address,  then it is termed as Anycast communication. Anycasting has been introduced only in IPV6 and is not present in IPV4. It is a form of point to point communication, where a source node tries to reach any one instance of a server machine. Normally, for load balancing and redundancy purposes, there could be multiple instances of the same server machine, running at different points in the network (e.g. HTTP or DHCP or DNS servers). In such cases, all instances of the server machine are given the same Anycast IP address. Source nodes trying to contact the server would send IP packets to the common Anycast IP address. The network would then route the IP packet to that instance of the server machine that is closest to the source node. Anycasting is normally used only at the network layer, that too only if IPV6 is the network layer protocol under use.