Sie sind auf Seite 1von 4

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 Connectionlessvs.ConnectionOrientedPacketSwitching
Therearetwomodesofcommunicationoverpacketswitchednetworks:

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


destinationmachineisdoneonaperpacketbasis,meaningthateachpacketistransmittedand routedindependentlyfromallotherpackets.So,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 showsthepacketsthathavetravelledoverit.Inthiscase,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,theroutingofdifferentpacketsoftenchanges.The 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 destinationaretransmittedoverthesameroutesandthroughthesamerouters.Thisresultsin 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 destinationmachine.Eachrouteofthenetworkshowsthepacketsthathavetravelledoverit.In thiscase,itisalsoclearthatduetotheuseofthesameroutersandsameroutes,thepackets willexperiencedalmostthesamedelayandwillarriveatthedestinationmachineinthesame orderoftransmission.

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

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.

Das könnte Ihnen auch gefallen