Beruflich Dokumente
Kultur Dokumente
11andMobileIP
SridharIyer LeenaChandranWadia KRSchoolofInformationTechnology IITBombay {sri,leena}@it.iitb.ac.in http://www.it.iitb.ac.in/
Outline
Overviewofwirelessnetworks
Singlehopwireless:Cellular,WirelessLANs(WLANs) multiplewirelesshopsMobileadhocnetworks(MANETS)
Challengesofwirelesscommunications IEEE802.11
spreadspectrumandphysicallayerspecification MACfunctionalspecification:DCFmode
roleinWLANsinfrastructurenetworks roleinMANETs
MACfunctionalspecification:PCFmode
MobileIPv4 MobileIPv6
IITBombay ICPWC'02 2
References
http://standards.ieee.org/getieee802/802.11.html IEEEComputerSociety1999,WirelessLANMAC andPHYlayerspecification J.Schiller,MobileCommunications,Addison Wesley,1999.severalfigures Shorttutorialson802.11andspreadspectrumby J.Zyren,A.Petrick,C.Andrenhttp://www.intersil.com
MobileIPv4RFC3344(main) IPv6andMobileIPv6
manyRFCs,Internetdrafts http://www.iprg.nokia.com/~charliep/
IITBombay ICPWC'02 3
Overviewof wirelessnetworks
IITBombay
ICPWC'02
Wirelessnetworks
Accesscomputing/communicationservices,onthemove CellularNetworks
traditionalbasestationinfrastructuresystems
WirelessLANs
infrastructureaswellasadhocnetworkspossible veryflexiblewithinthereceptionarea lowbandwidthcomparedtowirednetworks(110Mbit/s)
MultihopAdhocNetworks
usefulwheninfrastructurenotavailable,impractical,orexpensive militaryapplications,rescue,homenetworking
IITBombay ICPWC'02 5
CellularWireless
Singlehopwirelessconnectivitytothewired world
Spacedividedintocells,andhostsassignedtoacell Abasestationisresponsibleforcommunicatingwith hosts/nodesinitscell Mobilehostscanchangecellswhilecommunicating Handoffoccurswhenamobilehoststarts communicatingviaanewbasestation
IITBombay
ICPWC'02
Evolutionofcellularnetworks
Firstgeneration:Analogcellularsystems(450900MHz)
Frequencyshiftkeying;FDMAforspectrumsharing NMT(Europe),AMPS(US)
Secondgeneration:Digitalcellularsystems(900,1800 MHz)
TDMA/CDMAforspectrumsharing;Circuitswitching GSM(Europe),IS136(US),PDC(Japan) <9.6kbpsdatarates
2.5G:Packetswitchingextensions
Digital:GSMtoGPRS;Analog:AMPStoCDPD <115kbpsdatarates
3G:Fullfledgeddataservices
Highspeed,dataandInternetservices IMT2000,UMTS <2Mbpsdatarates
ICPWC'02
IITBombay
WirelessLANs
Infrared(IrDA)orradiolinks(Wavelan) Advantages
veryflexiblewithinthereceptionarea Adhocnetworkspossible (almost)nowiringdifficulties
Disadvantages
lowbandwidthcomparedtowirednetworks manyproprietarysolutions
Bluetooth,HiperLANandIEEE802.11
IITBombay
ICPWC'02
WirelessLANsvs.WiredLANs
Destinationaddressdoesnotequaldestination location Themediaimpactthedesign
wirelessLANsintendedtocoverreasonable geographicdistancesmustbebuiltfrombasic coverageblocks
Impactofhandlingmobile(andportable) stations
Propagationeffects Mobilitymanagement Powermanagement
IITBombay ICPWC'02 9
Infrastructurevs.AdhocWLANs
infrastructure network
AP AP wirednetwork AP:AccessPoint AP
adhocnetwork
IITBombay
ICPWC'02
10 Source:Schiller
MultiHopWireless
Mayneedtotraversemultiplelinkstoreach destination
Mobilitycausesroutechanges
IITBombay ICPWC'02 11
MobileAdHocNetworks(MANET)
Donotneedbackboneinfrastructuresupport Hostmovementfrequent Topologychangefrequent B
Multihopwirelesslinks Datamustberoutedviaintermediatenodes
IITBombay ICPWC'02 12
ApplicationsofMANETS
MilitarysoldiersatKargil,tanks,planes DisasterManagementOrissa,Gujarat Emergencyoperationssearchandrescue,policeand firefighters Sensornetworks Taxicabsandotherclosedcommunities airports,sportsstadiumsetc.wheretwoormorepeople meetandwanttoexchangedocuments PresentlyMANETapplicationsuse802.11hardware PersonalareanetworksBluetooth
IITBombay ICPWC'02 13
WirelessTechnologyLandscape
72Mbps 54Mbps 511Mbps
Turbo.11a 802.11{a,b}
.11ptoplink
waveptoplinks
384Kbps 56Kbps
3G 2G
Outdoor
50200m
Midrange outdoor
200m4Km
Longrange outdoor
5Km20Km
Longdistance com.
20m50Km
IITBombay
ICPWC'02
14
SpectrumWar:Statustoday
Enterprise 802.11 Network Wireless Carrier Public 802.11
IITBombay
ICPWC'02
Source:PravinBhagwat
15
SpectrumWar:Evolution
Enterprise 802.11 Network Wireless Carrier Public 802.11
IITBombay ICPWC'02
Market consolidation Entry of Wireless Carriers Entry of new players Footprint growth
Source:PravinBhagwat
16
SpectrumWar:SteadyState
Enterprise 802.11 Network Wireless Carrier Public 802.11
Virtual Carrier
IITBombay ICPWC'02
Source:PravinBhagwat
17
802.11MarketEvolution
802.11
Industry Verticals
Campus Networking
Enterprise
Publichotspots MobileOperators
Broadbandaccess tohome
Warehouses Factoryfloors Medical Remotedata entry;business process efficiency improvement IITBombay Freedomfrom wiresforlaptop users; productivity enhancement ICPWC'02
Source:PravinBhagwat
Challengesof WirelessCommunications
WirelessMedia
Physicallayersusedinwirelessnetworks
haveneitherabsolutenorreadilyobservable boundariesoutsidewhichstationsareunableto receiveframes areunprotectedfromoutsidesignals communicateoveramediumsignificantlylessreliable thanthecableofawirednetwork havedynamictopologies lackfullconnectivityandthereforetheassumption normallymadethateverystationcanheareveryother stationinaLANisinvalid(i.e.,STAsmaybehidden fromeachother) havetimevaryingandasymmetricpropagation
properties
IITBombay ICPWC'02 20
Limitationsofthemobileenvironment
LimitationsoftheWirelessNetwork
limitedcommunicationbandwidth frequentdisconnections heterogeneityoffragmentednetworks
LimitationsImposedbyMobility
routebreakages lackofmobilityawarenessbysystem/applications
LimitationsoftheMobileDevice
shortbatterylifetime limitedcapacities
IITBombay ICPWC'02 21
Wirelessv/sWirednetworks
Regulationsoffrequencies
Limitedavailability,coordinationisrequired usefulfrequenciesarealmostalloccupied
Bandwidthanddelays
Lowtransmissionrates
fewKbpstosomeMbps.
Higherdelays
severalhundredmilliseconds
Higherlossrates
susceptibletointerference,e.g.,engines,lightning
Alwayssharedmedium
IITBombay
DifferenceBetweenWiredand Wireless
EthernetLAN A B C A WirelessLAN B C
HiddenTerminalProblem
ExposedTerminalProblem
B
Effectofmobilityonprotocolstack
Application
newapplicationsandadaptations
Transport
congestionandflowcontrol
Network
addressingandrouting
Link
mediaaccessandhandoff
Physical
transmissionerrorsandinterference
IITBombay ICPWC'02 26
802.11basedWirelessLANs ArchitectureandPhysicalLayer
IEEE802.11
WirelessLANstandarddefinedintheunlicensedspectrum (2.4GHzand5GHzUNIIbands)
33cm 26 MHz
StandardscoverstheMACsublayerandPHYlayers Threedifferentphysicallayersinthe2.4GHzband
FHSS,DSSSandIR
OFDMbasedPhyslayerinthe5GHzband(802.11a)
IITBombay ICPWC'02 28
802.11intheTCP/IPstack
mobileterminal server infrastructurenetwork accesspoint application TCP IP LLC 802.11MAC 802.11PHY LLC 802.11MAC 802.11PHY 802.3MAC 802.3PHY application TCP IP LLC 802.3MAC 802.3PHY fixedterminal
IITBombay
ICPWC'02
29
802.11Layersandfunctions
MAC
accessmechanisms, fragmentation,encryption
PLCPPhysicalLayerConvergence
Protocol
MACManagement
synchronization,roaming, MIB,powermanagement
LLC MAC PLCP PMD MACManagement PHYManagement
clearchannelassessment signal(carriersense)
PMDPhysicalMediumDependent
modulation,coding
PHYManagement
StationManagement
PHY
DLC
StationManagement
IITBombay
ICPWC'02
30
ComponentsofIEEE802.11 architecture
Thebasicserviceset(BSS)isthebasicbuildingblockof anIEEE802.11LAN Theovalscanbethoughtofasthecoverageareawithin whichmemberstationscandirectlycommunicate TheIndependentBSS(IBSS)isthesimplestLAN.Itmay consistofasfewastwostations
adhocnetwork
BSS1 BSS2
IITBombay
ICPWC'02
31
802.11adhocnetwork
802.11LAN
STA1
BSS1
STA3
Directcommunication withinalimitedrange
Station(STA): terminalwithaccess mechanismstothe wirelessmedium BasicServiceSet(BSS): groupofstationsusingthe sameradiofrequency
STA2
IITBombay
ICPWC'02
32 Source:Schiller
802.11infrastructurenetwork
802.11LAN
Station(STA)
802.xLAN
STA1
BasicServiceSet(BSS)
BSS1 Access Point Portal
groupofstationsusingthesame radiofrequency
AccessPoint
stationintegratedintothewireless LANandthedistributionsystem
Portal
bridgetoother(wired)networks
DistributionSystem
interconnectionnetworktoform onelogicalnetwork(EES: ExtendedServiceSet)based onseveralBSS
802.11LAN STA3
STA2
IITBombay
ICPWC'02
33 Source:Schiller
DistributionSystem(DS)concepts
TheDistributionsysteminterconnectsmultipleBSSs 802.11standardlogicallyseparatesthewireless mediumfromthedistributionsystemitdoesnot preclude,nordemand,thatthemultiplemediabe sameordifferent AnAccessPoint(AP)isaSTAthatprovidesaccess totheDSbyprovidingDSservicesinadditionto actingasaSTA. DatamovesbetweenBSSandtheDSviaanAP TheDSandBSSsallow802.11tocreateawireless networkofarbitrarysizeandcomplexitycalledthe ExtendedServiceSetnetwork(ESS)
IITBombay ICPWC'02 34
ExtendedServiceSetnetwork
IITBombay
ICPWC'02
35 Source:Intersil
802.11Physicallayer
3versionsofspreadspectrum:2radio(typ.2.4GHz),1IR
datarates1or2Mbps
FHSS(FrequencyHoppingSpreadSpectrum)
spreading,despreading,signalstrength,typically1Mbps min.2.5frequencyhops/s(USA),twolevelGFSKmodulation
DSSS(DirectSequenceSpreadSpectrum)
DBPSKmodulationfor1Mbps(DifferentialBinaryPhaseShiftKeying), DQPSKfor2Mbps(DifferentialQuadraturePSK) preambleandheaderofaframeisalwaystransmittedwith1Mbps,rest oftransmission1or2Mbps chippingsequence:+1,1,+1,+1,1,+1,+1,+1,1,1,1(Barkercode) max.radiatedpower1W(USA),100mW(EU),min.1mW
Infrared
850950nm,diffuselight,typ.10mrange carrierdetection,energydetection,synchronization
IITBombay ICPWC'02 36
Spreadspectrumcommunications
IITBombay
ICPWC'02
37 Source:Intersil
DSSSBarkerCodemodulation
IITBombay
ICPWC'02
38 Source:Intersil
DSSSproperties
IITBombay
ICPWC'02
39 Source:Intersil
Hardware
OriginalWaveLANcard(NCR)
914MHzRadioFrequency Transmitpower281.8mW TransmissionRange~250m(outdoors)at2Mbps SNRT10dB(capture)
WaveLANII(Lucent)
2.4GHzradiofrequencyrange TransmitPower30mW Transmissionrange376m(outdoors)at2Mbps(60m indoors) ReceiveThreshold=81dBm CarrierSenseThreshold=111dBm
Manyothers.Agere,Cisco,
IITBombay ICPWC'02 40
802.11basedWirelessLANs MACfunctionalspecDCF
802.11MAClayer
Trafficservices
AsynchronousDataService(mandatory)DCF TimeBoundedService(optional)PCF
Accessmethods
DCFCSMA/CA(mandatory)
collisionavoidanceviarandomizedbackoffmechanism ACKpacketforacknowledgements(notforbroadcasts)
DCFw/RTS/CTS(optional)
avoidshidden/exposedterminalproblem,providesreliability
PCF(optional)
accesspointpollsterminalsaccordingtoalist
IITBombay ICPWC'02 42
802.11CSMA/CA
DIFS mediumbusy directaccessif mediumisfree DIFS DIFS
slottime
802.11DCFbasicaccess
IfmediumisfreeforDIFStime,stationsendsdata receiversacknowledgeatonce(afterwaitingforSIFS)ifthe packetwasreceivedcorrectly(CRC) automaticretransmissionofdatapacketsincaseof transmissionerrors
DIFS sender receiver other stations
contention
IITBombay
ICPWC'02
44
802.11RTS/CTS
IfmediumisfreeforDIFS,stationcansendRTSwithreservationparameter (reservationdeterminesamountoftimethedatapacketneedsthemedium) acknowledgementviaCTSafterSIFSbyreceiver(ifreadytoreceive) sendercannowsenddataatonce,acknowledgementviaACK otherstationsstoremediumreservationsdistributedviaRTSandCTS
DIFS sender receiver
other stations
DIFS
data t
contention
IITBombay
ICPWC'02
45
802.11CarrierSensing
InIEEE802.11,carriersensingisperformed attheairinterface(physicalcarriersensing),and attheMAClayer(virtualcarriersensing) Physicalcarriersensing detectspresenceofotherusersbyanalyzingalldetected packets Detectsactivityinthechannelviarelativesignalstrength fromothersources VirtualcarriersensingisdonebysendingMPDUduration informationintheheaderofRTS/CTSanddataframes Channelisbusyifeithermechanismsindicateittobe Durationfieldindicatestheamountoftime(inmicroseconds) requiredtocompleteframetransmission StationsintheBSSusetheinformationinthedurationfieldto adjusttheirnetworkallocationvector(NAV)
IITBombay ICPWC'02 46
802.11CollisionAvoidance
IfmediumisnotfreeduringDIFStime.. GointoCollisionAvoidance:Oncechannelbecomes idle,waitforDIFStimeplusarandomlychosen backofftimebeforeattemptingtotransmit ForDCFthebackoffischosenasfollows:
Whenfirsttransmittingapacket,chooseabackoffinterval intherange[0,cw];cwiscontentionwindow,nominally31 Countdownthebackoffintervalwhenmediumisidle Countdownissuspendedifmediumbecomesbusy Whenbackoffintervalreaches0,transmitRTS Ifcollision,thendoublethecwuptoamaximumof1024
Timespentcountingdownbackoffintervalsispartof MACoverhead
IITBombay ICPWC'02 47
Examplebackoff
cw=31
B1andB2arebackoffintervals atnodes1and2
IITBombay
ICPWC'02
48
Backoffmorecomplexexample
DIFS station1 station2 station3 station4 station5 busy boe bor busy boe busy boe busy boe bor boe bor t mediumnotidle(frame,acketc.) packetarrivalatMAC
IITBombay ICPWC'02
DIFS
boe boe
bor busy
DIFS
boe bor
DIFS
boe
busy
802.11Priorities
definedthroughdifferentinterframespacesmandatoryidle timeintervalsbetweenthetransmissionofframes SIFS(ShortInterFrameSpacing)
highestpriority,forACK,CTS,pollingresponse SIFSTimeandSlotTimearefixedperPHYlayer(10 sand20 srespectivelyinDSSS)
PIFS(PCFIFS)
mediumpriority,fortimeboundedserviceusingPCF PIFSTime=SIFSTime+SlotTime
DIFS(DCFIFS)
lowestpriority,forasynchronousdataservice DCFIFS:DIFSTime=SIFSTime+2xSlotTime
IITBombay ICPWC'02 50
SolutiontoHidden/ExposedTerminals
AfirstsendsaRequesttoSend(RTS)toB OnreceivingRTS,BrespondsCleartoSend(CTS) HiddennodeCoverhearsCTSandkeepsquiet
TransferdurationisincludedinbothRTSandCTS
ExposednodeoverhearsaRTSbutnottheCTS
DstransmissioncannotinterfereatB
RTS D
IITBombay
ICPWC'02
51
802.11Reliability
Useacknowledgements
WhenBreceivesDATAfromA,BsendsanACK IfAfailstoreceiveanACK,AretransmitstheDATA BothCandDremainquietuntilACK(topreventcollisionof ACK) Expecteddurationoftransmission+ACKisincludedinRTS/ CTSpackets RTS D RTS A CTS DATA ACK
IITBombay ICPWC'02 52
CTS
802.11CongestionControl
Contentionwindow(cw)inDCF:Congestion controlachievedbydynamicallychoosingcw largecwleadstolargerbackoffintervals smallcwleadstolargernumberofcollisions BinaryExponentialBackoffinDCF:
WhenanodefailstoreceiveCTSinresponseto itsRTS,itincreasesthecontentionwindow
cwisdoubled(uptoaboundcwmax=1023)
Uponsuccessfulcompletiondatatransfer,restore cwtocwmin=31
IITBombay ICPWC'02 53
Fragmentation
DIFS sender receiver
NAV(frag1) NAV(ACK1)
DIFS contention
data t
IITBombay
ICPWC'02
54
802.11MACmanagement
Synchronization
trytofindaLAN,trytostaywithinaLAN timeretc.
Powermanagement
sleepmodewithoutmissingamessage periodicsleep,framebuffering,trafficmeasurements
Association/Reassociation
integrationintoaLAN roaming,i.e.changenetworksbychangingaccesspoints scanning,i.e.activesearchforanetwork
MIBManagementInformationBase
managing,read,write
IITBombay ICPWC'02 55
802.11Synchronization
AllSTAswithinaBSSaresynchronizedtoacommon clock
Infrastructuremode:APisthetimingmaster
periodicallytransmitsBeaconframescontainingTiming Synchronizationfunction(TSF) ReceivingstationsacceptsthetimestampvalueinTSF
Adhocmode:TSFimplementsadistributedalgorithm
Eachstationadoptsthetimingreceivedfromanybeaconthathas TSFvaluelaterthanitsownTSFtimer
SynchronizationusingaBeacon (infrastructuremode)
beaconinterval
B busy busy
B busy B
B busy
t beaconframe
valueofthetimestamp
IITBombay
ICPWC'02
57 Source:Schiller
SynchronizationusingaBeacon (adhocmode)
beaconinterval
B1
valueofthetimestamp
t randomdelay
IITBombay
ICPWC'02
58
802.11Powermanagement
Idea:switchthetransceiveroffifnotneeded Statesofastation:sleepandawake TimingSynchronizationFunction(TSF)
stationswakeupatthesametime
Infrastructure
TrafficIndicationMap(TIM)
listofunicastreceiverstransmittedbyAP
DeliveryTrafficIndicationMap(DTIM)
listofbroadcast/multicastreceiverstransmittedbyAP
Adhoc
AdhocTrafficIndicationMap(ATIM)
announcementofreceiversbystationsbufferingframes morecomplicatednocentralAP collisionofATIMspossible(scalability?)
IITBombay ICPWC'02 59
802.11EnergyConservation
PowerSavingininfrastructuremode
Nodescangointosleeporstandbymode AnAccessPointperiodicallytransmitsabeacon indicatingwhichnodeshavepacketswaitingforthem Eachpowersaving(PS)nodewakesupperiodically toreceivethebeacon Ifanodehasapacketwaiting,thenitsendsaPS Poll
Afterwaitingforabackoffintervalin[0,CWmin]
AccessPointsendsthedatainresponsetoPSpoll
IITBombay ICPWC'02 60
Powersavingwithwakeuppatterns (infrastructure)
TIMinterval DTIMinterval
D B busy busy
T busy
d busy p d
D B
T B
TIM
broadcast/multicast
IITBombay
ICPWC'02
61 Source:Schiller
Powersavingwithwakeuppatterns (adhoc)
ATIM window B1 B2 B2 beaconinterval
station1 station2
B1 d
beaconframe awake
randomdelay
A transmitATIM
D transmitdata
a acknowledgeATIM d acknowledgedata
IITBombay
ICPWC'02
62
802.11Frameformat
Types
controlframes,managementframes,dataframes
Sequencenumbers
importantagainstduplicatedframesduetolostACKs
Addresses
receiver,transmitter(physical),BSSidentifier,sender(logical)
Miscellaneous
sendingtime,checksum,framecontrol,data
bytes 2 Frame Control 2 6 6 6 2 6 Duration Address Address Address Sequence Address ID 1 2 3 Control 4 version,type,fragmentation,security,... 02312 Data 4 CRC
IITBombay
ICPWC'02
63
TypesofFrames
ControlFrames
RTS/CTS/ACK CFPoll/CFEnd
ManagementFrames
Beacons ProbeRequest/Response AssociationRequest/Response Dissociation/Reassociation Authentication/Deauthentication ATIM
DataFrames
IITBombay ICPWC'02 64
802.11Roaming
BadconnectioninInfrastructuremode?Perform: scanningofenvironment sendReassociationRequest
listenintothemediumforbeaconsignalsorsendprobesintothe mediumandwaitforananswer stationsendsarequesttoanewAP(s) success:APhasanswered,stationcannowparticipate failure:continuescanning signalsthenewstationtothedistributionsystem thedistributionsystemupdatesitsdatabase(i.e.,location information) typically,thedistributionsystemnowinformstheoldAPsoitcan releaseresources
IITBombay ICPWC'02 65
receiveReassociationResponse
APacceptsReassociationRequestand
802.11basedWirelessLANs PointCoordinationFunction(PCF)
802.11PointCoordinationFunction
IITBombay
ICPWC'02
67
CoexistenceofPCFandDCF
APointCoordinator(PC)residesintheAccessPointand controlsframetransfersduringaContentionFreePeriod (CFP) ACFPollframeisusedbythePCtoinviteastationto senddata.Stationsarepolledfromalistmaintainedby thePC TheCFPalternateswithaContentionPeriod(CP)in whichdatatransfershappenaspertherulesofDCF ThisCPmustbelargeenoughtosendatleastone maximumsizedpacketincludingRTS/CTS/ACK CFPsaregeneratedattheCFPrepetitionrate ThePCsendsBeaconsatregularintervalsandatthe startofeachCFP TheCFEndframesignalstheendoftheCFP
IITBombay ICPWC'02 68
CFPstructureandTiming
IITBombay
ICPWC'02
69
802.11PCFI
t0 t1 mediumbusy PIFS D1 point SIFS coordinator wireless stations stations NAV
D2 U2
U1 NAV
IITBombay
ICPWC'02
70 Source:Schiller
802.11PCFII
t2 D3 PIFS D4 SIFS U4 SIFS CFend t3 t4
NAV contentionfreeperiod
contention period
IITBombay
ICPWC'02
71
ThroughputDCFvs.PCF
OverheadstothroughputanddelayinDCFmodecomefrom lossesduetocollisionsandbackoff Theseincreasewhennumberofnodesinthenetwork increases RTS/CTSframescostbandwidthbutlargedatapackets (>RTSthreshold)sufferfewercollisions RTC/CTSthresholdmustdependonnumberofnodes OverheadinPCFmodescomesfromwastedpolls Pollingmechanismshavelargeinfluenceonthroughput ThroughputinPCFmodeshowsupto20%variationwith otherconfigurationparametersCFPrepetitionrate SaturationthroughputofDCFlessthanPCFinallstudies presentedhere(heavyloadconditions)
IITBombay ICPWC'02 72
IITBombay
ICPWC'02
73 ICCC2002
IEEE802.11Summary
InfrastructureandadhocmodesusingDCF CarrierSenseMultipleAccess Binaryexponentialbackoffforcollisionavoidanceand congestioncontrol Acknowledgementsforreliability Powersavemodeforenergyconservation TimeboundserviceusingPCF SignalingpacketsforavoidingExposed/Hidden terminalproblems,andforreservation
Mediumisreservedforthedurationofthetransmission RTSCTSinDCF PollsinPCF
IITBombay ICPWC'02 74
802.11currentstatus
802.11i
security LLC
WEP
InterAccessPointProtocol
802.11f
MAC PHY
DSSS FH IR
QoSenhancements
802.11e
5,11Mbps
802.11b
OFDM
20+Mbps
IITBombay ICPWC'02
802.11g
6,9,12,18,24 36,48,54Mbps
802.11a
75
MobileIP
TraditionalRouting
Aroutingprotocolsetsuparoutingtableinrouters
RoutingprotocolistypicallybasedonDistanceVectoror LinkStatealgorithms
IITBombay ICPWC'02 77
RoutingandMobility
Findingapathfromasourcetoadestination Issues
Frequentroutechanges
amountofdatatransferredbetweenroutechangesmaybe muchsmallerthantraditionalnetworks
MobileIP(RFC3344):Motivation
Traditionalrouting
basedonIPaddress;networkprefixdeterminesthesubnet changeofphysicalsubnetimplies
changeofIPaddress(conformtonewsubnet),or specialroutingtableentriestoforwardpacketstonewsubnet
ChangingofIPaddress
DNSupdatestaketolongtime TCPconnectionsbreak securityproblems
Changingentriesinroutingtables
doesnotscalewiththenumberofmobilehostsandfrequent changesinthelocation securityproblems
Solutionrequirements
IITBombay
retainsameIPaddress,usesamelayer2protocols authenticationofregistrationmessages,
ICPWC'02
79
MobileIP:BasicIdea
MN
Router 3
IITBombay
ICPWC'02
80
MobileIP:BasicIdea
move S Router 3 Foreignagent Homeagent Router 1 Router 2
Packetsaretunneled usingIPinIP
MN
IITBombay
ICPWC'02
81
MobileIP:Terminology
MobileNode(MN)
nodethatmovesacrossnetworkswithoutchangingitsIPaddress
HomeAgent(HA)
hostinthehomenetworkoftheMN,typicallyarouter registersthelocationoftheMN,tunnelsIPpacketstotheCOA
ForeignAgent(FA)
hostinthecurrentforeignnetworkoftheMN,typicallyarouter forwardstunneledpacketstotheMN,typicallythedefaultrouter forMN
CareofAddress(COA)
addressofthecurrenttunnelendpointfortheMN(atFAorMN) actuallocationoftheMNfromanIPpointofview
CorrespondentNode(CN)
hostwithwhichMNiscorresponding(TCPconnection)
IITBombay ICPWC'02 82
Datatransfertothemobilesystem
HA
MN
homenetwork Internet
3
FA
CN
sender
IITBombay
Datatransferfromthemobilesystem
HA
MN
homenetwork Internet
sender
FA
foreign network
CN
receiver
IITBombay ICPWC'02
84 Source:Schiller
MobileIP:BasicOperation
AgentAdvertisement
HA/FAperiodicallysendadvertisementmessagesintotheir physicalsubnets MNlistenstothesemessagesanddetects,ifitisin home/foreignnetwork MNreadsaCOAfromtheFAadvertisementmessages
MNRegistration
MNsignalsCOAtotheHAviatheFA HAacknowledgesviaFAtoMN limitedlifetime,needtobesecuredbyauthentication
HAProxy
HAadvertisestheIPaddressoftheMN(asforfixedsystems) packetstotheMNaresenttotheHA independentofchangesinCOA/FA
PacketTunneling
IITBombay
HAtoMNviaFA
ICPWC'02
85
MobileIP:OtherIssues
ReverseTunneling
firewallspermitonlytopologicalcorrectaddresses apacketfromtheMNencapsulatedbytheFAisnow topologicalcorrect
Optimizations
TriangularRouting
HAinformssenderthecurrentlocationofMN
ChangeofFA
newFAinformsoldFAtoavoidpacketloss,oldFAnow forwardsremainingpacketstonewFA
IITBombay ICPWC'02 86
Agentadvertisement
0 type #addresses 7 8 code addr.size routeraddress1 preferencelevel1 routeraddress2 preferencelevel2 ... type length registrationlifetime sequencenumber R B H F M G V reserved COA1 COA2 ... 15 16 23 24 checksum lifetime 31
IITBombay
ICPWC'02
87
Registration
MN r FA egis requ tration es
t regi s r equ t r ati on es t
ratio gist re y repl n
HA
IITBombay
ICPWC'02
88
Registrationrequest
0 type 7 8 15 16 S B DMG V rsv homeaddress homeagent COA identification extensions... 23 24 lifetime 31
IITBombay
ICPWC'02
89
Encapsulation
originalIPheader originaldata
newIPheader outerheader
IITBombay
ICPWC'02
90
IPinIPencapsulation
IPinIPencapsulation(mandatoryinRFC2003)
tunnelbetweenHAandCOA
ver.
IHL TOS length IPidentification flags fragmentoffset TTL IPinIP IPchecksum IPaddressofHA CareofaddressCOA ver. IHL TOS length IPidentification flags fragmentoffset TTL lay.4prot. IPchecksum IPaddressofCN IPaddressofMN TCP/UDP/...payload
IITBombay
ICPWC'02
91
Optimizationofpacketforwarding
TriangularRouting
sendersendsallpacketsviaHAtoMN higherlatencyandnetworkload
Solutions
senderlearnsthecurrentlocationofMN directtunnelingtothislocation HAinformsasenderaboutthelocationofMN bigsecurityproblems!
ChangeofFA
packetsontheflyduringthechangecanbelost newFAinformsoldFAtoavoidpacketloss,oldFAnow forwardsremainingpacketstonewFA thisinformationalsoenablestheoldFAtoreleaseresources fortheMN
IITBombay ICPWC'02 92
Changeofforeignagent
CN request update ACK data data registration update ACK data HA FAold FAnew MN
MNchanges location
registration
data
data
ICPWC'02
t
93
Reversetunneling(RFC3024)
HA
MN
homenetwork Internet
1
FA
CN
receiver
IITBombay
MobileIPwithreversetunneling
Routeracceptoftenonlytopologicalcorrect addresses(firewall!)
apacketfromtheMNencapsulatedbytheFAisnow topologicalcorrect furthermoremulticastandTTLproblemssolved(TTLinthe homenetworkcorrect,butMNistoofarawayfromthe receiver)
Reversetunnelingdoesnotsolve
problemswithfirewalls,thereversetunnelcanbeabusedto circumventsecuritymechanisms(tunnelhijacking) optimizationofdatapaths,i.e.packetswillbeforwarded throughthetunnelviatheHAtoasender(doubletriangular routing)
Thenewstandardisbackwardscompatible
theextensionscanbeimplementedeasilyandcooperate withcurrentimplementationswithouttheseextensions
IITBombay ICPWC'02 95
MobileIPv4Summary
Mobilenodemovestonewlocation AgentAdvertisementbyforeignagent Registrationofmobilenodewithhomeagent Proxyingbyhomeagentformobilenode Encapsulationofpackets Tunnelingbyhomeagenttomobilenodevia foreignagent
Optimizationsfortriangularrouting Reversetunneling
IITBombay ICPWC'02 96
IPv6AddressArchitecture
Unicastaddress
providerbasedglobaladdress linklocal(atleastoneperinterface),sitelocal IPv4compatibleIPv6address(IPv6node) IPv4mappedIPv6address(IPv4node)
IITBombay
ICPWC'02
97
Autoconfiguration
Plug&Playamachinewhenpluggedinwill automaticallydiscoverandregistertherequired parametersforInternetconnectivity Autoconfigurationincludes
creatingalinklocaladdress verifyingitsuniquenessonalink determiningwhatinformationshouldbe autoconfigured,addressesand/orotherinfo Inthecaseofaddresses,theymaybeobtained throughstatelessorstatefulmechanism(DHCPv6),or both
IITBombay
ICPWC'02
98
MobileIPv6protocol
Home Agent
Local Router correspondent node
(homeaddress,careofaddress,bindinglifetime)
99
IPv6andMobileIPv6Summary
ProliferationofwirelessdevicesdrivingadoptionofIPv6 340undecillionaddresses
(340,282,366,920,938,463,463,374,607,431,768,211,456)total!
BillionsofIPaddressablewirelesshandsets SpeciallyinterestingforChinawhichhas
8millionIPv4addressesand50+millionhandsets
MobileIPconsidersthemobilityproblemasaroutingproblem
managingabindingthatis,adynamictunnelbetweenacare ofaddressandahomeaddressBindingupdatesinIPv6 replaceregistrationrequestsinIPv4 Ofcourse,thereisalotmoretoitthanthat!
MobileIPv6stillhamperedbythelackofsecuritysolutions
IPSecrequiresdeployedPKI(notavailableyet)
IITBombay ICPWC'02 100