Chapter 6 - Mobile Network Layer.ppt111111

abenimelos 35 views 34 slides Apr 26, 2024
Slide 1
Slide 1 of 34
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34

About This Presentation

Chapter 6 - Mobile Network Layer


Slide Content

Chapter 6
Mobile Network Layer
Compiled by Mikiyas .A
1

Outlines
Mobile IP
•Introduction
•Mobile IP entities and Terminologies
•IP packet delivery
•Registration
•Tunneling and Encapsulation
Introduction to Mobile ad-hoc networks
2

What is mobile IP
•MobileIPisaprotocoldevelopedtosupport
mobilityintheInternet.Itallowsmobiledevices,
suchaslaptops,smartphones,andtablets,to
maintainconnectivitywhilemovingacrossdifferent
IPnetworks.
•It'sespeciallyusefulinscenarioswheredevices
changetheirpointofattachmenttotheInternet
frequently,suchasinwirelessLANsorwhen
switchingbetweencellulartowers
3

Requirements(features) for Mobile IP
Compatibility
-support of the same layer 2 protocols as IP
-no changes to current end-systems and routers required
-mobile end-systems can communicate with fixed systems
Transparency
-mobile end-systems keep their IP address
-continuation of communication after interruption of link possible
-point of connection to the fixed network can be changed
-Scalability and Efficiency
-only little additional messages to the mobile system required
(connection -typically via a low bandwidth radio link)
-world-wide support of a large number of mobile systems in the
whole
Internet
Security
-authentication of all registration messages
4

Terminology
•Mobile Node (MN)
•system (node) that can change the point of connection
to the network without changing its IP address
•Home Agent (HA)
•system in the home network of the MN, typically a router
•registers the location of the MN, tunnels IP datagrams to the COA
•Foreign Agent (FA)
•system in the current foreign network of the MN, typically a router
•forwards the tunneled datagrams to the MN, typically also the default
router for the MN
•Care-of Address (COA)
•address of the current tunnel end-point for the MN (at FA or MN)
•actual location of the MN from an IP point of view
•can be chosen, e.g., via DHCP
•Correspondent Node (CN)
•communication partner
5

Mobile IP: Processes
•Agent Discovery: To find agents
•Home agents and foreign agents advertise periodically on
network layer and optionally on datalink,
•Registration –Mobile registers its care‐of‐address with home
agent. Either directly or through foreign agent –agent sends
a reply to the CoA.
•Return to Home: –Mobile node deregisters with home agent
sets care‐ of‐address to its permanent IP address.
•Simultaneous registrations with more than one COA allowed
(for handoff).
6

Cont..
•Tunneling and Routing
•Home agent intercepts mobile node's datagrams and
forwards them to care‐of‐address .
•Care of Address can be the Foreign Agent or it can be
collocated in the mobile host
•Home agent tells local nodes and routers to send mobile
node's datagrams to it
•De‐encapsulation: Datagram is extracted and sent to mobile
node.
7

Mobile IP example network
8

IP Packet Delivery
•IPpacketdeliveryreferstotheprocessbywhichInternet
Protocol(IP)packetsaretransmittedfromasourcetoa
destinationacrossanetwork.
•Thedeliveryprocessinvolvesseveralstepsandcomponents
withinthenetworkinfrastructuretoensurethatpacketsreach
theirintendeddestinationaccuratelyandefficiently.
•Here'sanoverviewofIPpacketdeliverysteps:Packet
Encapsulation,Routing,Forwarding,Switching,Transmission,
ErrorChecking,andAcknowledgment.
9

IP Packet Delivery
aim: allow packet from CN to MN
10

What is Registration ?
•Registrationisacriticalaspectofmobileandnetwork
communication
•Itenablingdevicestoestablishconnectivity,informnetworks
abouttheircurrentstatus,andobtainnecessaryresourcesfor
communication.
•Byfollowingstandardizedregistrationprocedures,devices
canseamlesslyintegrateintonetworksandmaintain
uninterruptedcommunicationservices.
11

Registration
12

Tunneling and encapsulation
•Tunnelingandencapsulationaretechniquesusedin
networkingtotransmitdatapacketsovernetworksthatwould
notnormallysupportthattypeofpacketortoensuresecure
transmissionofdata.
•Tunnelingisaprocessthatallowstheencapsulationofone
typeofnetworkpacketwithinthepayloadofanother
networkpacket.
•Thisenablesthetransmissionofpacketsovernetworksthat
maynotnativelysupporttheencapsulatedprotocol.
•Purpose: Tunneling is used for various purposes, including:
Connecting networks with different underlying technologies
(e.g., IPv4 over IPv6).
13

Cont..
•Encapsulationinvolvesenclosingdatawithinaspecific
protocolformatfortransmissionoveranetwork.
•Itaddsaheaderandpossiblyatrailertotheoriginaldata,
forminganewpacketstructure.
•Purpose:Encapsulationhelpsensurethatdataistransmitted
efficientlyandcorrectlyacrossthenetwork.
•Example:InInternetProtocol(IP)networks,datapacketsare
encapsulatedwithIPheaderscontainingsourceand
destinationIPaddresses.
14

Tunneling and encapsulation
15

What is DHCP ?
•DynamicHostConfigurationProtocol(DHCP)isanetwork
managementprotocolusedtodynamicallyassignIP
addressesandothernetworkconfigurationparametersto
devicesonanetwork.
•ItsimplifiestheprocessofIPaddressallocationand
managementbyautomatingtheassignmentofIPaddresses
andrelatedconfigurationsettings.
16

How DHCP Works ?
I.ClientInitialization:Whenadevice(client)joinsanetwork
andneedstoobtainanIPaddress,itsendsabroadcastmessage
calledaDHCPDISCOVER todiscoverDHCPservers
availableonthenetwork.
II.DHCPServerResponse:DHCPserversonthenetworkreceivethe
DHCPDISCOVER broadcastmessageandrespondwitha
DHCPOFFERmessage.ThismessageincludesanavailableIPaddress
andothernetworkconfigurationparameters,suchassubnetmask,
defaultgateway,DNSserveraddresses,andleaseduration.
III)ClientRequest:Theclientreceivesmultiple
DHCPOFFERmessagesfromdifferentDHCPserversand
selectsoneofthem.ItthensendsaDHCPREQUESTmessage
totheselectedDHCPserver,indicatingitsacceptanceofthe
offeredIPaddressandconfigurationparameters.
17

Cont..
IV)IPAddressAssignment:TheDHCPserverrespondstothe
DHCPREQUESTmessagewithaDHCPACKmessage,confirmingthe
IPaddressassignmentandprovidingtheclientwiththenetwork
configurationparameters.
V)LeaseRenewal:TheclientusestheassignedIPaddress
andconfigurationsettingsforaspecificleaseperiod,whichis
typicallyconfigurablebythenetworkadministrator.Beforethe
leaseexpires,theclientmayattempttorenewtheleaseby
sendingaDHCPREQUESTmessagetotheDHCPserver.
VI)ReleaseandReclamation:Whenadevicedisconnects
fromthenetworkornolongerrequirestheassignedIP
address,itsendsaDHCPRELEASE messagetotheDHCP
servertoreleasetheIPaddresslease.TheDHCPserverthen
reclaimstheIPaddressandmakesitavailableforassignment
tootherdevices.
18

DHCP: Dynamic Host Configuration Protocol
•Application
•simplification of installation and maintenance of networked
computers
•supplies systems with all necessary information, such as IP
address, DNS server address, domain name, subnet mask,
default router etc.
•enables automatic integration of systems into an Intranet or
the Internet, can be used to acquire a COA for Mobile IP
•Client/Server-Model
•the client sends via a MAC broadcast a request to the DHCP
server (might be via a DHCP relay)
19

Basic DHCP Configuration
20

Client initialization via DHCP
21

Mobile Ad hoc Networks
•Standard Mobile IP needs an infrastructure
•Home Agent/Foreign Agent in the fixed network
•DNS, routing etc. are not designed for mobility
•Sometimes there is no infrastructure!
•remote areas, ad-hoc meetings, disaster areas
•cost can also be an argument against an infrastructure!
•Main topic: routing
•no default router available
•every node should be able to forward
22

Mobile Ad hoc Networks Architecture
Single Hop
Inasingle-hopadhocnetwork,allcommunicationoccursdirectly
betweenindividualdeviceswithinthetransmissionrangeofeachother.
Eachdevicecandirectlycommunicatewithanyotherdevicewithinits
rangewithoutneedinganyintermediatenodes.
Multihop
Inamulti-hopadhocnetwork,communicationbetweendevicescan
occurovermultipleintermediatehops.
Ifadevicewantstocommunicatewithanotherdevicethatisoutofits
directtransmissionrange,itcandosobyrelayingdatathroughoneor
moreintermediatedevicesuntilitreachesthedestination.
23

Questions ?
WhatisthedifferencebetweenCellularandAdhocWireless
Networks?
24

MANETs and mobile IP
25

Example ad-hoc network
Highly dynamic network topology
•Device mobility plus varying channel quality
•Separation and merging of networks possible
•Asymmetric connections possible
26

MANET Routing
MANET(MobileAdhocNetwork)routingprotocolsaredesignedto
facilitatecommunicationbetweenmobiledeviceswithouttheneedfora
fixedinfrastructure.
Thesedevices,oftenreferredtoasnodes,candynamicallyforma
networkandcommunicatewitheachother.
MANETroutingprotocolscanbebroadlycategorizedintothreetypes:
1)Proactive(Table-driven)RoutingProtocols:
2)Reactive(On-demand)RoutingProtocols:
3)HybridRoutingProtocols:
27

Traditional routing algorithms
•Distance Vector
•periodic exchange of messages with all physical neighbors that
contain information about who can be reached at what distance
•selection of the shortest path if several paths available
•Link State
•periodic notification of all routers about the current state of all
physical links
•router get a complete picture of the network
•Example
•ARPA packet radio network (1973), DV-Routing
•every 7.5s exchange of routing tables including link quality
•updating of tables also by reception of packets
•routing problems solved with limited flooding
28

Routing in ad-hoc networks
•THE big topic in many research projects
•Far more than 50 different proposals exist
•The most simplest one: Flooding!
•Reasons
•Classical approaches from fixed networks fail
•Very slow convergence, large overhead
•High dynamicity, low bandwidth, low computing power
•Metrics for routing
•Minimal
•Number of nodes, loss rate, delay, congestion, interference …
•Maximal
•Stability of the logical network, battery run-time, time of
connectivity
29

Problems of traditional routing algorithms
•Dynamic nature of the topology
•frequent changes of connections, connection quality,
participants
•Limited performance of mobile systems
•periodic updates of routing tables need energy without
contributing to the transmission of user data, sleep modes
difficult to realize
•limited bandwidth of the system is reduced even more due to
the exchange of routing information
•links can be asymmetric, i.e., they can have a direction
dependent transmission quality
30

DSDV (Destination Sequenced Distance Vector,
historical)
•Early work
•on demand version: AODV
•Expansion of distance vector routing
•Sequence numbers for all routing updates
•assures in-order execution of all updates
•avoids loops and inconsistencies
•Decrease of update frequency
•store time between first and best announcement of a path
•inhibit update if it seems to be unstable (based on the stored time
values)
31

Dynamic source routing
•Split routing into discovering a path and maintaining a path
•Route Discover
•only if a path for sending packets to a certain destination is
needed and no path is currently available
•Route Maintenance
•only while the path is in use one has to make sure that it can
be used continuously
•No periodic updates needed!
32

Dynamic source routing
•Path discovery
•broadcast a packet with destination address and unique ID
•if a station receives a broadcast packet
•if the station is the receiver (i.e., has the correct destination address)
then return the packet to the sender (path was collected in the packet)
•if the packet has already been received earlier (identified via ID) then
discard the packet
•otherwise, append own address and broadcast packet
•sender receives packet with the current path (address list)
•Optimizations
•limit broadcasting if maximum diameter of the network is known
•caching of address lists (i.e. paths) with help of passing packets
•stations can use the cached information for path discovery (own paths
or paths for other hosts)
33

See you next class!!!
34
Tags