Packet Loss in Mobile Ad Hoc Networks(3)
时间:2025-03-26
时间:2025-03-26
Abstract — We investigate packet loss in mobile ad hoc networks via simulation. Ad-hoc on-demand distance vector (AODV) and destination-sequenced distance vector (DSDV) are chosen as representatives of the on-demand and proactive routing protocols respect
baseTCPSinkreceiver.Thesenderwindowsizeisdecreasedbyhalfwhenpacketlossesaredetected.Theretransmissionstartsfromthe rstlostpacket.TahoeTCPenterstheslowstartwhenanACKforanewpacketisreceived.AllTCPpacketshavethesamesizeof512bytes.Theinitialsenderwindowsizeis1andthemaximumboundonthewindowsizeis32.TCPSinkisresponsibleforreturningACKstothesender.ItgeneratesoneACKperpacketreceived.TheACKpacketsizeis40.ThedataofeachconnectionisgeneratedbyanattachedFTPapplication,whichsimulatesabulkdatatransfer.EveryFTPapplicationstartsatatimerandomlychosenfrom0to100seconds.D.RoutingProtocols
Theroutingprotocolgreatlyaffectspacketlossbesidesmobilityandtraf c.Allpropertiesofaroutingprotocol,suchaswhatroutinginformationismaintained,thewayinwhichtheinformationisobtained,howtochoosearoute,etc.,mayhavedifferenteffects.TheexperimentsareconductedbyusingDSDVandAODVroutingpro-tocols.Thesetwoprotocolssharealotofproperties.ThelargestdifferencebetweenthemisthatDSDVisaproactivewhileAODVison-demand.
DSDVextendsthebasicBellman-Fordmechanismbyattachingasequencenumber,whichisoriginatedbythedestination,toeachdistance.Thisdestinationsequencenumberisusedtodeterminethe“freshness”ofaroute.Routeswithmorerecentsequencenumbersarepreferredformakingpacketforwardingdecisionsbyahost,butnotnecessarilyadvertisedtootherhosts.Forrouteswiththeequalsequencenumber,theonewiththesmallestdistancemetricischosen.Eachtimeahostsendsanupdatetoitsneighbors,itscurrentsequencenumberisincrementedandincludedintheupdate.Thesequencenumberisdisseminatedthroughoutanetworkviaupdatemessages.TheDSDVprotocolrequireseachhosttoperiodicallyadvertiseitsownroutingtabletoitsneighbors.Updatesaretransmittedimmediatelywhensigni cantnewroutinginformationisavailable.Routesreceivedinbroadcastsareusedtoupdatetheroutingtable.Thereceiveraddsanincrementtothemetricofeachreceivedroutebeforeupdating.
AODVroutingprotocolisalsobasedupondistancevector,andusesdestinationsequencenumberstode-terminethefreshnessofroutes.Itoperatesintheon-demandfashion,asopposedtotheproactivewayoftheDSDVprotocol.AODVrequireshoststomaintainonlyactiveroutes.Anactiverouteisarouteusedtoforwardatleastonepacketwithinthepastactivetimeoutperiod.
3
TABLEI
PACKETLOSSATMACANDNETWORKLAYERS
Whenahostneedstoreachadestinationanddoesnothaveanactiveroute,itbroadcastsaRouteRequest(RREQ),whichis oodedinthenetwork.AroutecanbedeterminedwhenRREQisreceivedeitherbythedestinationitselforbyanintermediatehostwithanactiveroutetothatdestination.ARouteReplay(RREP)isunicastbacktotheoriginatorofRREQtoestablishtheroute.EachhostthatreceivesRREQcachesaroutebacktotheoriginatoroftherequest,sothatRREPcanbesentback.Everyrouteexpiresafterapredeterminedperiodoftime.Sendingapacketviaaroutewillresettheassociatedexpirytime.E.DifferentiatedPacketLosses
Packetlossismeasuredatallmobilehosts.EveryhostmonitorsthenetworkinglayerandtheMAClayerforallkindsofpacketlosses.Thelayersoftheprotocolstackandthemodulesthatareresponsibleformobility-relatedandcongestion-relatedpacketlossareidenti ed,asshownintableI.
Mobility-relatedpacketlossmayoccuratboththenetworklayerandtheMAClayer.Whenapacketarrivesatthenetworklayer,theroutingprotocolforwardsthepacketifavalidroutetothedestinationisknown.Oth-erwise,thepacketisbuffereduntilarouteisavailable.Apacketisdroppedintwocases:
Thebufferisfullwhenthepacketneedstobebuffered.
Thetimethatthepackethasbeenbufferedexceedsthelimit.(TheAODVimplementationinns-2posesa30-secondlimitonthetimeapacketcanbebuffered.TheDSDVimplementationdoeshavealimit.)
TheMAClayermobility-relatedpacketlossoccurswhenthenexthopofapacketisoutofrangeatthemomentthepacketissentbytheMACprotocol.Thereasonisthattheroutinginformationisobsoleted.Itoccursfrequentlyinahighmobilitynetworkthaninalowmobilitynetwork.
Congestion-relatedpacketlossonlyoccursattheMAClayer.BecauseCSMA/CAisusedinthesimu-lation,apacketmaybedroppedduetocongestionfortworeasons:
…… 此处隐藏:2087字,全部文档内容请下载后查看。喜欢就下载吧 ……上一篇:乙酰水杨酸的制取
下一篇:常州市小学数学学科新课程培训方案