34
Packet Switching (X.25 Protocol) Prepared by: Miles Kevin B. Galario

Packet Switching and X.25 Protocol

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Packet Switching and X.25 Protocol

Packet Switching(X.25 Protocol)

Prepared by:

Miles Kevin B. Galario

Page 2: Packet Switching and X.25 Protocol

Packets

• Network packet is a formatted unit of data carried by a packet-switched network.

• Consist of 2 types of data:– Control information– User data

Page 3: Packet Switching and X.25 Protocol

Packet Format

Page 4: Packet Switching and X.25 Protocol

Asynchronous data transmission

Page 5: Packet Switching and X.25 Protocol

Packet Switching

Page 6: Packet Switching and X.25 Protocol

Packet Switching• Began around early 1960’s

• First developed by Paul Baran

• Is a digital networking communications method that groups all transmitted data - regardless of content, type, or structure – into suitably-sized blocks, called packets.

Page 7: Packet Switching and X.25 Protocol

Advantages of Packet Switching

• Line efficiency• Data rate conversion• Packets are accepted even when network

is busy• High data transmission quality

• When it comes to billing: – Fee is just the duration of connectivity

Page 8: Packet Switching and X.25 Protocol

Disadvantages of Packet Switching

• More complex

• Data Transmission Delays

• Packets may be lost on their route (Datagram)

Page 9: Packet Switching and X.25 Protocol

Packet Switching Datagram Approach

Page 10: Packet Switching and X.25 Protocol

Datagram Packet Switching

• Each packet is treated independently• The packets may take different paths to

the destination• The packets might arrive in a different

sequence from the order in which they were sent

• The packets may have to be reordered at the destination

Page 11: Packet Switching and X.25 Protocol

Datagram Approach

Page 12: Packet Switching and X.25 Protocol

Packet Switching

Virtual Circuit

Approach

Page 13: Packet Switching and X.25 Protocol

Virtual Circuit Packet Switching

• A logical connection is established before any packets are sent

• All packets follow the same path through the network

• This does not mean that there is a dedicated path, as in circuit switching

• There is a call set up before the exchange of data (handshake).

Page 14: Packet Switching and X.25 Protocol

Virtual Circuit Approach

Page 15: Packet Switching and X.25 Protocol

SVC vs. PVC

• Switched Virtual Circuit (SVC)

• Permanent Virtual Circuit (PVC)

Page 16: Packet Switching and X.25 Protocol

16

External Virtual Circuit

andDatagram Operation

Page 17: Packet Switching and X.25 Protocol

17

InternalVirtualCircuit

andDatagram Operation

Page 18: Packet Switching and X.25 Protocol

Datagram vs. Virtual Circuits

Datagram Virtual Circuits No call setup phase More flexible Better if number of

packets are not very large

Network can provide sequencing and error control

Packets are forwarded more quickly

Less reliable

Page 19: Packet Switching and X.25 Protocol

Packet Switch vs. Circuit Switching

• circuit switching was designed for voice• packet switching was designed for data• transmitted in small packets• packets contains user data and control info

– user data may be part of a larger message– control info includes routing (addressing) info

• packets are received, stored briefly (buffered) and past on to the next node

Page 20: Packet Switching and X.25 Protocol

Packet Switch vs. Circuit Switching

Page 21: Packet Switching and X.25 Protocol

Packet Switching Service Protocols

• There are five protocols in use for packet-switched services:– X.25– Asynchronous Transfer Mode (ATM)– Frame Relay– Switched Multimegabit Data Service (SMDS)– Ethernet/IP packet networks

Page 22: Packet Switching and X.25 Protocol

X.25 Protocol

• ITU-T standard for interface between host and packet switched network

• Oldest packet switched service.

• Almost universal on packet switched networks and packet switching in ISDN

• X.25 offers switched virtual circuit and permanent virtual circuit services.

Page 23: Packet Switching and X.25 Protocol

X.25 Protocol

• X.25 is a reliable protocol, meaning it performs error control and retransmits bad packets.

• Although widely used in Europe, X.25 is not in widespread use in North America. The primary reason is the low transmission speed, now 2.048 Mbps (up from 64 Kbps)

.

Page 24: Packet Switching and X.25 Protocol
Page 25: Packet Switching and X.25 Protocol

PAD

• Packet Assembler/Disassembler

– is a communications device which provides multiple asynchronous terminal connectivity to an X.25 (packet-switching) network or host computer.

Page 26: Packet Switching and X.25 Protocol

X.25 - Physical

• Interface between station node link• Two ends are distinct

– Data Terminal Equipment DTE (user equipment)

– Data Circuit-terminating Equipment DCE (node)

• Physical layer specification is X.21• Can substitute alternative such as EIA-232

Page 27: Packet Switching and X.25 Protocol

X.25 - Link

• Link Access Protocol Balanced (LAPB)

• Provides reliable transfer of data over link

• Sending as a sequence of frames

Page 28: Packet Switching and X.25 Protocol

X.25 - Packet

• Provides a logical connections (virtual circuit) between subscribers

• All data in this connection form a single stream between the end stations

• Established on demand

• Termed external virtual circuits

Page 29: Packet Switching and X.25 Protocol

X.25 Use of Virtual Circuits

Page 30: Packet Switching and X.25 Protocol

Asynchronous Transfer Mode (ATM)

• Asynchronous transfer mode (ATM) is a newer technology than X. 25.

• ATM for the MAN/WAN environment operates in a similar way to its operation over backbone networks discussed in the last chapter.

Page 31: Packet Switching and X.25 Protocol

X.25 vs. ATM

• 4 differences between ATM and X.25 are:

– ATM performs encapsulation of packets, so they are delivered unchanged across the network.

– ATM is unreliable; i.e., it provides no error control, so error control must be handled at another layer (typically by TCP).

Page 32: Packet Switching and X.25 Protocol

X.25 vs. ATM

• ATM provides quality of service information enabling priority setting for different transmissions types (e.g., high for voice, lower for e-mail).

• ATM is scalable, since basic ATM circuits are easily multiplexed onto much faster ones.

Page 33: Packet Switching and X.25 Protocol

Issues with X.25

• key features include:– call control packets, in band signaling– multiplexing of virtual circuits at layer 3– layers 2 and 3 include flow and error control

• hence have considerable overhead

• not appropriate for modern digital systems with high reliability

Page 34: Packet Switching and X.25 Protocol

User Data and X.25 Protocol User Data and X.25 Protocol Control InformationControl Information