Beruflich Dokumente
Kultur Dokumente
Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2nd Ed. McGraw Hill, 2006
Lecture35:PacketSwitchingNetworks Connectionlessvs.ConnectionOrientedPacketSwitching
Therearetwomodesofcommunicationoverpacketswitchednetworks:
In connectionless transmission, routers use a simple (but long) routing table that has the followingtwomaincolumns. DestinationAddress OutputPort
Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2nd Ed. McGraw Hill, 2006
Lecture35:PacketSwitchingNetworks
Sincethedetailsofthisroutingtablechange,theroutingofdifferentpacketsoftenchanges.The processoftransmissioninthiscaseinvolvesthefollowingsteps: TransmitPacket1 TransmitPacket2 TransmitPacketN
Itisclearfromtheabovefigurethatacircuitlikeconnectionhasbeenestablished.Theprocess 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 Connectionbetweenthesourceanddestinationpriortothetransferofpackets.Anadvantage 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
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
Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2nd Ed. McGraw Hill, 2006
Lecture35:PacketSwitchingNetworks
ResourcesaresetupinadvancefortheVC(reservebuffersandsomebandwidthateach switch)
DisadvantageofVCPacketSwitching Whenafailureoccursintheconnection,allVirtualCircuitsmustbesetupagain.