0% found this document useful (0 votes)
174 views4 pages

Packet Switching Networks Explained

This document summarizes the key differences between connectionless and connection-oriented (virtual circuit) packet switching in communication networks. Connectionless packet switching transmits each packet independently, so packets may arrive out of order. Connection-oriented packet switching establishes a fixed path (virtual circuit) between source and destination first, so all packets take the same route and arrive in order. Setting up the virtual circuit reserves resources like buffer space at each switch along the path. Connection-oriented switching has advantages like shorter packet headers and faster routing but requires reestablishing circuits if a failure occurs.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
174 views4 pages

Packet Switching Networks Explained

This document summarizes the key differences between connectionless and connection-oriented (virtual circuit) packet switching in communication networks. Connectionless packet switching transmits each packet independently, so packets may arrive out of order. Connection-oriented packet switching establishes a fixed path (virtual circuit) between source and destination first, so all packets take the same route and arrive in order. Setting up the virtual circuit reserves resources like buffer space at each switch along the path. Connection-oriented switching has advantages like shorter packet headers and faster routing but requires reestablishing circuits if a failure occurs.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

EE 400: Communication Networks (101)

Dr. Wajih A. Abu-Al-Saud


Latestupdateofthislecturewason13012011

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2nd Ed. McGraw Hill, 2006

Lecture35:PacketSwitchingNetworks [Link]
Therearetwomodesofcommunicationoverpacketswitchednetworks:

Connectionless: In this mode, transmission of packets from a source machine to a


destinationmachineisdoneonaperpacketbasis,meaningthateachpacketistransmittedand [Link],evenifthesourceanddestinationmachinesdo notchange,routersinthemiddlemaydecidetochangetheroutsthatdifferentpacketsfollow resultinginthedifferentpacketssometimesreachingtheirdestinationoutoforderbecauseof the difference in path length, difference in path transmission rates, and the amount of congestion of the different routers that the different packets travelled through. This is illustrated in the following figure. In this figure, three packets are transmitted from the same source machine heading towards the same destination machine. Each route of the network [Link],itisclearthatduetoacombinationof reasons, the packets may arrive at the destination machine in an order different from the transmissionorder.

In connectionless transmission, routers use a simple (but long) routing table that has the followingtwomaincolumns. DestinationAddress OutputPort

EE 400: Communication Networks (101)

Dr. Wajih A. Abu-Al-Saud


Latestupdateofthislecturewason13012011

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2nd Ed. McGraw Hill, 2006

Lecture35:PacketSwitchingNetworks
Sincethedetailsofthisroutingtablechange,[Link] processoftransmissioninthiscaseinvolvesthefollowingsteps: TransmitPacket1 TransmitPacket2 TransmitPacketN

Connection-Oriented (Virtual-Circuit Packet Switching): In this mode,


transmission of packets from a source machine to a destination machine is done on a per sourcedestinationpairbasis,meaningthatallpacketsfromthesamesourcegoingtothesame [Link] having almost a constant delay of transmission for the different packets and the different packets reaching their destination in order. This is illustrated in the following figure. In this figure,threepacketsaretransmittedfromthesamesourcemachineheadingtowardsthesame [Link] thiscase,itisalsoclearthatduetotheuseofthesameroutersandsameroutes,thepackets willexperiencedalmostthesamedelayandwillarriveatthedestinationmachineinthesame orderoftransmission.

[Link] of transmission in the above case is called VirtualCircuit Packet Switching. VirtualCircuit Packet Switching involves the establishment of a fixed path called Virtual Circuit or Virtual [Link] of virtual circuit packet switching is that resources are allocated for the connection such allocating buffer in the different switches over which the virtual connection passes over and allocatingaspecificbandwidthfortheconnection. 2

EE 400: Communication Networks (101)

Dr. Wajih A. Abu-Al-Saud


Latestupdateofthislecturewason13012011

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2nd Ed. McGraw Hill, 2006

Lecture35:PacketSwitchingNetworks
Theprocessoftransmissioninthiscaseinvolvesthefollowingsteps: Notes: Ifapacketswitchdoesnothaveenoughresources,itsendsaConnectRejectandthe ConnectionEstablishmentFails. VirtualCircuitsguaranteetheorderedarrivalofpackets. AVirtualCircuitIdentifier(VCI)isusedtoidentifytheVC(VCIisgenerallymodifiedat eachpacketswitchfortravelingonthenexthop) VCIarelocaltoeachswitchorlink ConnectionRequest ConnectionConfirm TransmitPacket1 TransmitPacket2 TransmitPacketN ConnectionRelease

BenefitsofusingLocalVCI(localtoeachswitch)overGlobalVCI(globalforallswitchesinthe network) 1) moreVCcanbeassigned 2) searchingforanunusedVCIissimple TheformatoftheVirtualCircuitSwitchingTableisasfollows: InputPort AdvantagesofVirtualCircuitPacketSwitchingoverConnectionlessPacketSwitching: ShorterheadersarerequiredforVC(VCIisshorterthanfullnetworkaddress:VCImayhave alengthof1or2bytes,whileFullIPaddresshaslengthof4bytesforIPv4and12bytesof IPv6). Fasterbecausenoroutingisdone(VCIlistisshorterandallpacketsaremadetofolloweach otheralongthesamepathbysimplylookinguptheVCtable) 3 InputVCI OutputPort OutputVCI

EE 400: Communication Networks (101)

Dr. Wajih A. Abu-Al-Saud


Latestupdateofthislecturewason13012011

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2nd Ed. McGraw Hill, 2006

Lecture35:PacketSwitchingNetworks
ResourcesaresetupinadvancefortheVC(reservebuffersandsomebandwidthateach switch)

DisadvantageofVCPacketSwitching Whenafailureoccursintheconnection,allVirtualCircuitsmustbesetupagain.

You might also like