Professional Documents
Culture Documents
SYSTEM
PACKET SWITCHING
INTRODUCTION
Hafiza Khizra
Idtte-18-21
Semester:7th
Prof. Muhammad Osman
OBJECTIVES:
Control info
• Routing (addressing) info
Packets are received, stored briefly (buffered) and past on to the next node
• Store and forward
COMPONENTS
This classic type of packet switching includes multiple packets, each individually routed.
• This means each packet contains complete routing information but it also means different
paths of transmission and out-of-order delivery are possible, depending on the fluctuating
loads on the network’s nodes (adapters, switches and routers) at the moment.
HEADER SECTION:
Each packet in connectionless packet switching includes the following information in its header
section:
• Source address
• Destination address
• Total number of packets
• Sequence number (Seq#) for reassembly
• Once the packets reach their destination via various routes, the receiving devices rearrange
them to form the original message.
DATAGRAM PACKET SWITCHING DIAGRAM:
ADVANTAGES:
• Line efficiency :
Single node to node link can be shared by many packets over time
Packets queued and transmitted as fast as possible
• Data rate conversion :
Each station connects to the local node at its own speed
Nodes buffer data if required to equalize rates
• Packets are accepted even when network is busy:
• Delivery may slow down
• Priorities can be used
VIRTUAL CIRCUIT SWITCH:
• Transmission Delay
• Propagation Delay
• Queuing Delay
• Processing Delay
MEASURE TOTAL TIME IN PACKET SWITCHING:
Tt = Transmission Time
Tp = Propagation Time
N = no. of switches that is used inside the network
Tt = N L/B
Tp = N d/v Total time = Tt + Tp
Total time = N L/B + N d/v
VIRTUAL CIRCUIT VS DATAGRAM:
• Virtual circuits
• Network can provide sequencing and error control
• Packets are forwarded more quickly
• No routing decisions to make
• Less reliable
• Loss of a node looses all circuits through that node
• Datagram
• No call setup phase
• Better if few packets
• More flexible
• Routing can be used to avoid congested parts of the network
PACKETIZING: