Docsity

Packet Switching Principles-Data Communication Systems-Lecture Slides, Slides of Digital Systems Design

Partial preview of the text

Download Packet Switching Principles-Data Communication Systems-Lecture Slides and more Slides Digital Systems Design in PDF only on Docsity!

In a packet-switched network, there

is no resource reservation;

resources are allocated on demand.

Note

Packet Switching Principles^ • Circuit switching designed for voice

—Resources dedicated to a particular call—Much of the time a data connection is idle—Data rate is fixed

  • Both ends must operate at the same rate

Use of Packets

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

Datagram^ • Each packet treated independently• Packets can take any practical route• Packets may arrive out of order• Packets may go missing• Up to receiver to re-order packets and recover

from missing packets

DATAGRAM NETWORKS In data communications, we need to send messagesfrom one end system to another. If the message isgoing to pass through a packet-switched network, itneeds to be divided into packets of fixed or variablesize.

The

size

of

the

packet

is

determined

by

the

network and the governing protocol.

Figure 8.

Routing table in a datagram network

DatagramDiagram

The destination address in the header of

a packet in a datagram network

remains the same during the entire

journey of the packet.

Note

Figure 8.

Delay in a datagram network

Virtual Circuit^ • Preplanned route established before any

packets sent

  • Call request and call accept packets establish

connection (handshake)

  • Each packet contains a virtual circuit identifier

instead of destination address

  • No routing decisions required for each packet• Clear request to drop circuit• Not a dedicated path

VIRTUAL-CIRCUIT NETWORKS

A virtual-circuit network is a cross between a circuit-switched network and a datagram network. It hassome characteristics of both.

Figure 8.

Virtual-circuit identifier

Figure 8.

Switch and tables in a virtual-circuit network