packet and circuit switching

55
Chapter Packet and Circuit Switching

Upload: chrisbusuttil2673

Post on 08-Apr-2015

1.001 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Packet and Circuit Switching

Chapter

Packet and Circuit Switching

Page 2: Packet and Circuit Switching

Chapter Objectives

• Explain the concept of packet switching

• Give sample application areas of packet switching

• Describe circuit switching• Compare and contrast packet

switching with circuit switching

Page 3: Packet and Circuit Switching

Chapter Modules

• Packet switching• Packet switching applications• Circuit switching applications

Page 4: Packet and Circuit Switching

Module

Packet Switching

Page 5: Packet and Circuit Switching

Packet Switching Preview

• Explain the concept of a path or a route taken by a packet

• Study the difference between static and dynamic paths?

• Relate appropriately the terms packet switching and circuit switching to the terms dynamic and static paths

• Explore the path taken by a packets in dynamic routing when a packet travels from its origin to its destination

Page 6: Packet and Circuit Switching

The Concept of Path in Communication

• A path is a route for data to travel between two nodes in a network

• Dynamic path– In this case, the path often changes from

packet to packet– Example: Packet Switching

• Static path– Path is initially established and it remains

unchanged for the duration of the communication session

– Example: Circuit Switching

Page 7: Packet and Circuit Switching

Packet Switching Network

Los Angeles

NewYork

Packet 2

Packet 1 Miami

Page 8: Packet and Circuit Switching

Salient Points of Packet Switching

• Path – Each packet may take a different path

to its destination– Best path is heuristically determined

at each node

• Packet switching– Path may be switched among packets– Hence, the term packet switching

Page 9: Packet and Circuit Switching

Key Words

• Packet and circuit switching• Dynamic and static paths

Page 10: Packet and Circuit Switching

End of Module

Page 11: Packet and Circuit Switching

Module

Advantages and Disadvantages of Packet

Switching

Page 12: Packet and Circuit Switching

Questions

• What are the major advantages and disadvantages of packet switching?

• Could the Internet be called a packet switching network?

• How does packet switching help in supporting multiple communication sessions?

• How does a web server support multiple access to its contents? Explain in terms of packets that travel from the web server to their various destinations.

Page 13: Packet and Circuit Switching

Questions (continued)

• What are the implications of packet switching to the transmission of audio and video in real time?

• How are the above problems addressed in streaming?

Page 14: Packet and Circuit Switching

Major Advantages

• Better utilization of the network segments in terms of the usage of the network paths

• Ability to engage in multiple communication sessions

Page 15: Packet and Circuit Switching

Dynamic Assignment of Paths

Los Angeles

NewYork

Miami

LasVegas

Page 16: Packet and Circuit Switching

Support for Multiple Communication Sessions

Los Angeles

NewYork

Miami

LasVegas

Session 1

Session 2

Page 17: Packet and Circuit Switching

Disadvantage or a Concern

• Packets may not arrive at their destination in the order in which they were originally transmitted

• The above possibility exists because of the different paths that are taken by the different packets

Page 18: Packet and Circuit Switching

Order of Arrival of Packets

Los Angeles

NewYork

Packet 2

Packet 1

Miami

Packet 2 may arrive earlier than Packet 1.

Page 19: Packet and Circuit Switching

Packet Assembly

• Packets are assembled to preserve the order of transmission

• Packets arriving earlier are held in a buffer

• The order of arrival is critical and in certain cases the order is time sensitive as well

Page 20: Packet and Circuit Switching

Transmission of Audio and Video in Packet Switching

• Transmission of audio and video are time sensitive– Timely arrival of packet is important

• The process that would ensure the orderly and timely arrival of data packets is known as streaming

• Streaming also compresses the data to minimize bandwidth requirements thus ensuring that the packets have adequate bandwidth to travel to the destination in the order in which they are supposed to arrive at the destination

Page 21: Packet and Circuit Switching

Buffering in Streaming

• Streamed audio or video is often buffered to ensure that the audio or video is played continuously

Page 22: Packet and Circuit Switching

Advantages And Disadvantages

• Advantages– Efficient use of the network paths– Engage in multiple sessions

• Disadvantages– Additional hardware and software resources

are required to assemble and route the packets

– If real-time continuity is stipulated then the data must be subjected to a process known as streaming

Page 23: Packet and Circuit Switching

Special Concerns

• Audio and video transmission– Streaming is used

• Voice Over IP (VoIP) is designed deploy telephony over the Internet

Page 24: Packet and Circuit Switching

Newer Advancements for Real Time Transmission of

Information

• Faster Internet speed• Better technology

– IPv6– Better streaming technologies

Page 25: Packet and Circuit Switching

Questions

• What are the major advantages and disadvantages of packet switching?

• Could the Internet be called as a packet switching network?

• How does packet switching help in supporting multiple communication sessions?

• How does a web server support multiple access to its contents? Explain in terms of packets that travel from the web server to their various destinations on the Internet.

Page 26: Packet and Circuit Switching

Questions (continued)

• What are the implications of packet switching to the transmission of audio and video in real time?– Relate the above to Voice over IP

transmission.

• How are the above problems addressed in streaming?

Page 27: Packet and Circuit Switching

End of Module End of Module

Page 28: Packet and Circuit Switching

MODULE

Packet Switching Applications

Page 29: Packet and Circuit Switching

Questions• Give a simple example of packet

switching application• Relate packet switching to multiple

session applications on the Internet and give examples of multiple session applications

• Describe audio transmission challenges on packet-switched networks

Page 30: Packet and Circuit Switching

Questions (Continued)

• List the packet switching technologies used in WANs

• Explain the emergence of the concept of fixed length packets or cells in packet switching networks– Name a cell based transmission

technology and state its applications

Page 31: Packet and Circuit Switching

Internet: An Application of Packet

Switching

Los Angeles

NewYork

Packet N1

Packet M1

Miami

Server in Los Angeles supports multiple access to the webover a packet switched connection.

InternetServer

Ramp

Page 32: Packet and Circuit Switching

Support for Multiple Sessions

Los Angeles

NewYork

Packet 2

Packet 1Miami

Packets are displayed on different sessions on the screen.

Houston

Session LASession HU

Page 33: Packet and Circuit Switching

Applications Using Multiple-Sessions

• Sharing• Collaboration• Multiple access to an Internet

server• etc.

Page 34: Packet and Circuit Switching

Packet Delivery

Sharing of Worddocument onInternet underMicrosoft NetMeeting

Packets fromorigin 1:N1, N2

Packetsfrom Origin 2:M1, M2

SCREEN

Page 35: Packet and Circuit Switching

Audio Transmission Over Packet Switching

Network• Relatively high speeds are required on

the network• Data compression and other techniques

are used to ensure continuity know as streaming

• Sample applications:– Audio streaming on the Internet

• RealAudio is an example of a streaming software

Page 36: Packet and Circuit Switching

Usage of Packet Switching

• Large computer networks with multiple routers

• WAN in general• Internet in particular

Page 37: Packet and Circuit Switching

Packet Switching WAN Technologies

• Past and Present– X.25 Packet Switching

• Present and Near Future– Frame Relay

• Present and Future– Asynchronous Transfer Mode (ATM)– ATM is also known as Cell Relay

Page 38: Packet and Circuit Switching

ATM

• Asynchronous Transmission Method (ATM)

• Based on fixed length packets• Switches instead of routers are used

to route the information on a network

• This is the emerging technology in WAN transmission

• (Include more information on ATM)

Page 39: Packet and Circuit Switching

Recollecting the Concept of Cell

Packet varies in size

Cell is of fixed length

Data

Data

Page 40: Packet and Circuit Switching

Questions• Give a simple example of packet

switching application• Relate packet switching to multiple

session applications on the Internet and give examples of multiple session applications

• Describe audio transmission challenges on packet-switched networks

Page 41: Packet and Circuit Switching

Questions (Continued)

• List the packet switching technologies used in WANs

• Explain the emergence of the concept of fixed length packets or cells in packet switching networks– Name a cell based transmission

technology and state its applications

Page 42: Packet and Circuit Switching

End of ModuleEnd of Module

Page 43: Packet and Circuit Switching

MODULE 5

Circuit Switching

Page 44: Packet and Circuit Switching

Questions

• Explain the concepts of circuit switching. How does it function?

• What are the advantages and disadvantages of circuit switching?

• Name some applications of circuit switching

• Compare circuit switching with packet switching

Page 45: Packet and Circuit Switching

Circuit Switching Network

Los Angeles

NewYork

Circuit established and maintained for entire duration of communication.

Established CircuitSwitch

Page 46: Packet and Circuit Switching

Defining Characteristics of Circuit Switching

• Establish (switch) a path (circuit) between two nodes of communication

• Maintain the circuit for the full duration of communication session

Page 47: Packet and Circuit Switching

Advantages of Circuit Switching

• Continuity assured in the order of transmission

• Audio can be transmitted without streaming provided adequate bandwidth is available– Otherwise streaming is necessary

• The overhead is low in switching a circuit

Page 48: Packet and Circuit Switching

Disadvantages of Circuit Switching

• Inefficient use of the paths that are available within a network– This may lead to circuit saturation

• Users can be locked out of the network

• Multiple sessions cannot easily be implemented although it is possible to have multiple sessions

Page 49: Packet and Circuit Switching

Circuit Saturation

Los Angeles

NewYork

Established Circuit

Saturation point.

Miami

Page 50: Packet and Circuit Switching

Areas of Applications

• Voice/Video communications– Telephone network

• Both analog and digital telecommunication lines can be circuit switched

• ISDN

Page 51: Packet and Circuit Switching

More on ISDN

• ISDN has two B channels and one D channel– B channel is used for data and D

channel is used for monitoring and control of the data transmission

• B channels are circuit switched and the D channels are packet switched

Page 52: Packet and Circuit Switching

Packet Switching Circuit Switching_______________________________________________

•Efficient use of network Inefficient use •High overhead Low overhead•Computer data Audio and video•Audio and video transmissions are, however, possible •Multiple sessions possible Multiple sessions are easily implemented are possible, however it requires additional hardware and software

Comparison

Page 53: Packet and Circuit Switching

Questions

• Explain the concepts of circuit switching. How does it function?

• What are the advantages and disadvantages of circuit switching?

• Name some applications of circuit switching

• Compare circuit switching with packet switching

Page 54: Packet and Circuit Switching

END OF MODULE END OF MODULE

Page 55: Packet and Circuit Switching

END OF MODULE 5 END OF MODULE 5

END OF CHAPTER END OF CHAPTER