19
COMPUTER AND COMMUNICATION NETWORKS G.KEERTHI 314206523003 1/2M.TECH R&M

COMPUTER AND COMMUNICATION NETWORKS.pptx

Embed Size (px)

Citation preview

Page 1: COMPUTER AND COMMUNICATION NETWORKS.pptx

COMPUTER AND COMMUNICATION

NETWORKS

G.KEERTHI3142065230031/2M.TECH R&M

Page 2: COMPUTER AND COMMUNICATION NETWORKS.pptx

Switching TechniqueStation breaks long message into

packetsPackets sent one at a time to the

networkPackets handled in two ways

◦Datagram◦Virtual circuit

Page 3: COMPUTER AND COMMUNICATION NETWORKS.pptx

DatagramEach packet treated

independentlyPackets can take any practical

routePackets may arrive out of orderPackets may go missingUp to receiver to re-order packets

and recover from missing packets

Page 4: COMPUTER AND COMMUNICATION NETWORKS.pptx

DatagramDiagram

Page 5: COMPUTER AND COMMUNICATION NETWORKS.pptx

Virtual CircuitPreplanned route established before any

packets sentCall request and call accept packets

establish connection (handshake)Each packet contains a virtual circuit

identifier instead of destination addressNo routing decisions required for each

packetClear request to drop circuitNot a dedicated path

Page 6: COMPUTER AND COMMUNICATION NETWORKS.pptx

VirtualCircuitDiagram

Page 7: COMPUTER AND COMMUNICATION NETWORKS.pptx

Virtual Circuits v DatagramVirtual 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

nodeDatagram

◦No call setup phase Better if few packets

◦More flexible Routing can be used to avoid congested parts of

the network

Page 8: COMPUTER AND COMMUNICATION NETWORKS.pptx

Packet Size

Page 9: COMPUTER AND COMMUNICATION NETWORKS.pptx

Circuit v Packet SwitchingPerformance

◦Propagation delay: The time it takes a signal to propagate from one node to the next.

◦Transmission time: The time it takes for a transmitter to send out a block of data.

◦Node delay: The time it takes for a node to perform the necessary processing as it switches data.

Page 10: COMPUTER AND COMMUNICATION NETWORKS.pptx

Event Timing

Page 11: COMPUTER AND COMMUNICATION NETWORKS.pptx

X.251976Interface between host and

packet switched networkAlmost universal on packet

switched networks and packet switching in ISDN

Defines three layers◦Physical◦Link◦Packet

Page 12: COMPUTER AND COMMUNICATION NETWORKS.pptx

X.25 - PhysicalInterface between attached station

and link to nodeData terminal equipment DTE (user

equipment)Data circuit terminating equipment

DCE (node)Uses physical layer specification

X.21Reliable transfer across physical linkSequence of frames

Page 13: COMPUTER AND COMMUNICATION NETWORKS.pptx

X.25 - LinkIt provides the reliable transfer of

data across the physical link by transmitting the data as sequence of frames.

Link level standard is Link Access Protocol Balanced (LAPB)◦Subset of HDLC

Page 14: COMPUTER AND COMMUNICATION NETWORKS.pptx

X.25 - Packet

It provides a virtual circuit service.

External virtual circuitsEnables Logical connections

called virtual circuits between subscribers

Page 15: COMPUTER AND COMMUNICATION NETWORKS.pptx

X.25 Use of Virtual Circuits

Page 16: COMPUTER AND COMMUNICATION NETWORKS.pptx

Virtual Circuit ServiceLogical connection between two stations

◦External virtual circuitSpecific preplanned route through network

◦ Internal virtual circuitTypically one to one relationship between

external and internal virtual circuitsCan employ X.25 with datagram style

networkExternal virtual circuits require logical

channel ◦All data considered part of stream

Page 17: COMPUTER AND COMMUNICATION NETWORKS.pptx

X.25 LevelsUser data passes to X.25 level 3X.25 appends control information

◦Header◦Identifies virtual circuit◦Provides sequence numbers for flow

and error controlX.25 packet passed down to

LAPB entityLAPB appends further control

information

Page 18: COMPUTER AND COMMUNICATION NETWORKS.pptx

User Data and X.25 Protocol Control Information

Page 19: COMPUTER AND COMMUNICATION NETWORKS.pptx

THANK YOU