First, circuit switching
Circuit switching is the establishment of a physical circuit between the source and end points of a message before the message is transmitted. On the premise that the circuit has been established, the message is transmitted completely from the source to the end point, then the source point notifies the network that the transmission has completed and then disconnects.
Second, Packet exchange
Packet switching, in this type of network, messages from the upper layer are segmented into manageable groupings, which are then sent over the network. The end point must wait until all the packets of the message have been aligned before the end point can deliver the message to the upper layer.
There are two ways to select routing for Packet switching networks: Packet mode and virtual circuit mode , that is, no connection service and connection oriented service.
Note: The connection-oriented service was previously equated with circuit switching, while circuit switching was a connection-oriented service, but connection-oriented was not necessarily a circuit-switched.
Third, no connection services
No connection service, the Protocol of the network layer treats each grouping independently, and there is no association between each grouping and other groupings. All groupings of a message may or may not reach the endpoint along the same path.
In a non-connected packet switching network, the forwarding decision is based on the destination address of the packet.
Iv. Connection-oriented services
In a connection-oriented service, all groupings that belong to the same message are associated with each other. Before a datagram of a message is sent, a virtual connection should be established to specify the path through which the datagram will pass.
In a connection-oriented packet switching network, the forwarding decision is based on the label of the grouping.
Note: The Internet is a collection of switched WAN, local area networks, point-to-dot WANs, and connected devices or switching devices. Where the switched WAN uses a connection-oriented technology, there are X., Frame Relay, ATM.
Circuit switching, packet switching, no connection service, connection-oriented services