









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A detailed comparison of circuit switching and packet switching, two fundamental communication methods used in computer networks. It covers the key characteristics, advantages, and disadvantages of each approach. The document also discusses the similarities and differences between the osi (open systems interconnection) model and the tcp/ip (transmission control protocol/internet protocol) model, which are closely related to the concepts of circuit switching and packet switching. Additionally, the document introduces the stop and wait arq (automatic repeat request) protocol, which is a connection-oriented communication method used for error and flow control. The comparison of these networking concepts and protocols can be valuable for students and professionals studying computer networks, telecommunications, and related fields.
Typology: Summaries
1 / 16
This page cannot be seen from the preview
Don't miss anything!










OSI stands for Open Systems Interconnection. It has 7 layers Physical layer, Data Link layer, Network layer, Transport layer, Session layer, Presentation layer, and Application layer. Each layer performs its task independently. It was developed in 1984 by the International Organization for Standardization (ISO).
Both connection-oriented services and connectionless services are supported. It is quite flexible. All the layers work independently.
Setting up a model is a challenging task.
Sometimes, it becomes difficult to fit a new protocol into this model. It is only used as a reference model.
TCP/IP stands for Transmission Control Protocol/Internet Protocol. It has 4 layers named as Physical layer, Network layer, Transport layer, and Application layer. It also can be used as a communications protocol in a private computer network. It was designed by Vint Cerf and Bob Kahn in the 1970s.
Many Routing protocols are supported. It is highly scalable and uses a client-server architecture. It is lightweight.
Little difficult to set up. Delivery of packets is not guaranteed by the transport layer. Vulnerable to a synchronization attack.
OSI and TCP/IP both are logical models. One of the main similarities between the OSI and TCP/IP models is that they both describe how information is transmitted between two devices across a network. Both models define a set of layers. Each layer performs a specific set of functions to enable the transmission of data. Another similarity between the two models is that they both use the concept of encapsulation, in which data is packaged into a series of headers and trailers
Guaranteed bandwidth: Circuit switching provides a dedicated path for communication, ensuring that bandwidth is guaranteed for the duration of the call. Low latency: Circuit switching provides low latency because the path is predetermined, and there is no need to establish a connection for each packet. Predictable performance: Circuit switching provides predictable performance because the bandwidth is reserved, and there is no competition for resources. Suitable for real-time communication: Circuit switching is suitable for real-time communication, such as voice and video, because it provides low latency and predictable performance.
Inefficient use of bandwidth: Circuit switching is inefficient because the bandwidth is reserved for the entire duration of the call, even when no data is being transmitted. Limited scalability: Circuit switching is limited in its scalability because the number of circuits that can be established is finite, which can limit the number of simultaneous calls that can be made. High cost: Circuit switching is expensive because it requires dedicated resources, such as hardware and bandwidth, for the duration of the call.
Efficient use of bandwidth: Packet switching is efficient because bandwidth is shared among multiple users, and resources are allocated only when data needs to be transmitted. Flexible: Packet switching is flexible and can handle a wide range of data rates and packet sizes. Scalable: Packet switching is highly scalable and can handle large amounts of traffic on a network. Lower cost: Packet switching is less expensive than circuit switching because resources are shared among multiple users.
Higher latency: Packet switching has higher latency than circuit switching because packets must be routed through multiple nodes, which can cause delay. Limited QoS: Packet switching provides limited QoS guarantees, meaning that different types of traffic may be treated equally. Packet loss: Packet switching can result in packet loss due to congestion on the network or errors in transmission.
Unsuitable for real-time communication: Packet switching is not suitable for real-time communication, such as voice and video, because of the potential for latency and packet loss.
Both methods involve the transmission of data over a network. Both methods use a physical layer of the OSI model for transmission of data. Both methods can be used to transmit voice, video, and data. Both methods can be used in the same network infrastructure. Both methods can be used for both wired and wireless networks.
Circuit Switching Packet Switching In-circuit switching has there are 3 phases: i) Connection Establishment. ii) Data Transfer. iii) Connection Released. In Packet switching directly data transfer takes place. In-circuit switching, each data unit knows the entire path address which is provided by the source. In Packet switching, each data unit just knows the final destination address intermediate path is decided by the routers. In-Circuit switching, data is processed at the source system only In Packet switching, data is processed at all intermediate nodes including the source system. The delay between data units in circuit switching is uniform. The delay between data units in packet switching is not uniform. Resource reservation is the feature of circuit switching because the path is fixed for data transmission. There is no resource reservation because bandwidth is shared among users. Circuit switching is more reliable. Packet switching is less reliable. Wastage of resources is more in Circuit Switching Less wastage of resources as compared to Circuit Switching It is not a store and forward technique. It is a store and forward technique.
Circuit Switching Packet Switching protocols for delivery. 3
Used in Connection-oriented communication. It offers error and flows control It is used in Data Link and Transport Layers Stop and Wait for ARQ mainly implements the Sliding Window Protocol concept with Window Size 1
Propagation Delay: Amount of time taken by a packet to make a physical journey from one router to another router.
RoundTripTime ( RTT ) = Amount of time taken by a packet to reach the receiver + Time taken by the Acknowledgement to reach the sender TimeOut ( TO ) = 2* RTT Time To Live ( TTL ) = 2* TimeOut. (Maximum TTL is 255 seconds)
Sender:
Receiver:
Low Efficiency: Stop and Wait ARQ has low efficiency as it requires the sender to wait for an acknowledgment from the receiver before sending the next data packet. This results in a low data transmission rate, especially for large data sets. High Latency: Stop and Wait ARQ introduces additional latency in the transmission of data, as the sender must wait for an acknowledgment before sending the next packet. This can be a problem for real-time applications such as video streaming or online gaming. Limited Bandwidth Utilization: Stop and Wait ARQ does not utilize the available bandwidth efficiently, as the sender can transmit only one data packet at a time. This results in underutilization of the channel, which can be a problem in situations where the available bandwidth is limited. Limited Error Recovery: Stop and Wait ARQ has limited error recovery capabilities. If a data packet is lost or corrupted, the sender must retransmit the entire packet, which can be time- consuming and can result in further delays. Vulnerable to Channel Noise: Stop and Wait ARQ is vulnerable to channel noise, which can cause errors in the transmitted data. This can result in frequent retransmissions and can impact the overall efficiency of the protocol.