ENSC835 Presentation

26
 ENSC 835: COMMUNICA TION NETWORKS ENSC 835: COMMUNICA TION NETWORKS FINAL PROJECT PRESENTATIONS FINAL PROJECT PRESENTATIONS Spring 2011 Spring 2011 Analysis of Mobile IP Analysis of Mobile IP in in Wireless LANs Wireless LANs  www.sfu.ca/~bshahabi www.sfu.ca/~bshahabi Babak Shahabi ( Babak Shahabi ( [email protected] [email protected] ) ) 301102998 301102998 Shaoyun Yang ( Shaoyun Yang ( [email protected] [email protected]) ) 301133524 301133524  Team 7 Team 7

Transcript of ENSC835 Presentation

Page 1: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 1/26

 

ENSC 835: COMMUNICATION NETWORKSENSC 835: COMMUNICATION NETWORKS

FINAL PROJECT PRESENTATIONSFINAL PROJECT PRESENTATIONS

Spring 2011Spring 2011

Analysis of Mobile IPAnalysis of Mobile IP

inin

Wireless LANsWireless LANs 

www.sfu.ca/~bshahabiwww.sfu.ca/~bshahabi

Babak Shahabi (Babak Shahabi ([email protected]@sfu.ca)) 301102998301102998

Shaoyun Yang (Shaoyun Yang ([email protected]@sfu.ca)) 301133524301133524 

Team 7Team 7

Page 2: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 2/26

 

IntroductionIntroduction

Mobile IP is a standard IETF (Internet Engineering TaskMobile IP is a standard IETF (Internet Engineering Task

Force) communication protocol which allows mobileForce) communication protocol which allows mobile

node moves between different networks while it cannode moves between different networks while it can

keep its IP connectivity regardless of its locationkeep its IP connectivity regardless of its location

Mobile IPv4 is defined in RFC 3344Mobile IPv4 is defined in RFC 3344

Mobile IP is based on TCP/IP protocol stackMobile IP is based on TCP/IP protocol stack

Page 3: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 3/26

 

Related WorkRelated Work

Planning and Analyzing Wireless LANs and MobilePlanning and Analyzing Wireless LANs and Mobile

IP Networks ,IP Networks , OPNETWORK 2003 OPNETWORK 2003 

Wireless LAN Model User Guide ,Wireless LAN Model User Guide , OPNET OPNET 

 

Page 4: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 4/26

 

Mobile IP ScenarioMobile IP Scenario

Page 5: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 5/26

 

MotivationMotivation

Need a protocol which allows networkNeed a protocol which allows network

connectivity when our mobile node movesconnectivity when our mobile node moves

This protocol should not need massiveThis protocol should not need massive

changes to router softwarechanges to router software

It should be compatible with existing IPv4It should be compatible with existing IPv4

networksnetworks

Page 6: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 6/26

 

Mobile IP: TerminologyMobile IP: Terminolo

gy

Care of Address (CoA). It is an address of foreignCare of Address (CoA). It is an address of foreign

agent with which mobile node registeredagent with which mobile node registered

Correspondent Node (CN). A node with which aCorrespondent Node (CN). A node with which a

mobile node is communicating.mobile node is communicating.

Foreign Agent (FA). Any network other than mobileForeign Agent (FA). Any network other than mobile

node’s networknode’s network

Home Agent (HA). Mobile node’s home network. ItHome Agent (HA). Mobile node’s home network. It

assigns IP address to mobile nodeassigns IP address to mobile node

Page 7: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 7/26

 

Mobile IP: TerminologyMobile IP: Terminology

Mobile Node (MN). A node can roam betweenMobile Node (MN). A node can roam between

different networks.different networks.

Page 8: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 8/26

 

Operation of Mobile IPOperation of Mobile IP

Mobility agents (i.e., foreign agent and homeMobility agents (i.e., foreign agent and homeagent) advertise their beacons (advertisementagent) advertise their beacons (advertisement

messages)messages)

Mobile node can detect if it is in home network or Mobile node can detect if it is in home network or foreign networkforeign network

If it is in a foreign network it obtains COAIf it is in a foreign network it obtains COA

Mobile node registers its new COA with its homeMobile node registers its new COA with its homeagent, possibly via a foreign agentagent, possibly via a foreign agent

Page 9: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 9/26

 

Operation of Mobile IP (Con.)Operation of Mobile IP (Con.)

Home Agent sends registration reply to theHome Agent sends registration reply to the

mobile nodemobile node

All the packets that correspondent node wants toAll the packets that correspondent node wants to

send to the mobile node, will be sent through ansend to the mobile node, will be sent through an

established tunnel between home agent andestablished tunnel between home agent and

foreign agentforeign agent

Mobile node can communicate withMobile node can communicate withcorrespondent node directlycorrespondent node directly

Page 10: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 10/26

 

SimulationSimulation

Mobile IP in OPNET 14Mobile IP in OPNET 14

Mobile IP capable router for Wireless LAN NetworkMobile IP capable router for Wireless LAN Network

Mobile subnet which supports trajectory featureMobile subnet which supports trajectory feature

Ethernet work station with client-server applicationEthernet work station with client-server application

Cisco-7000 series router Cisco-7000 series router 

Page 11: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 11/26

 

Simulation: Scenario-Node PositionSimulation: Scenario-Node Position

Node

Position

(km)

MobileSubnet

HomeAgent

ForeignAgent1

ForeignAgent2

 

 X 1.07 1.514 3.265 5.47

 Y 2.78 2.27 2.711 2.87

Page 12: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 12/26

 

Simulation : ConfigurationSimulation : Configuration

Page 13: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 13/26

 

Simulation: ResultSimulation: Result

Page 14: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 14/26

 

Simulation: ResultSimulation: Result

AP ConnectivityAP Connectivity From 0 to 7 minute mobileFrom 0 to 7 minute mobile

subnet is connected to its HA.subnet is connected to its HA.

From 7 minute to 9 minute our From 7 minute to 9 minute our 

mobile subnet will switch to FA1mobile subnet will switch to FA1

From 9 minute to the end of From 9 minute to the end of simulation mobile subnet issimulation mobile subnet is

connected to FA2connected to FA2

Page 15: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 15/26

 

Simulation: ResultSimulation: Result

RegistrationRegistration Dot 1Dot 1: Registration between: Registration between

mobile subnet and HAmobile subnet and HA

Dot 2Dot 2 : Registration between: Registration between

mobile subnet and FA1mobile subnet and FA1

Dot 3Dot 3: Registration between: Registration betweenmobile subnet and FA2mobile subnet and FA2

Dot 4Dot 4: Reregistration: Reregistration

between mobile subnet andbetween mobile subnet and

FA2 when the registrationFA2 when the registration

time expirestime expires

Page 16: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 16/26

 

Simulation ResultSimulation Result

Tunneled Traffic: Home AgentTunneled Traffic: Home AgentAll the packets destined toAll the packets destined to

mobile subnet should gomobile subnet should go

Through HA even thoughThrough HA even though

mobile subnet is not in themobile subnet is not in the

range of HArange of HA

Page 17: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 17/26

 

Simulation ResultSimulation Result

Tunneled Traffic: Foreign Agent 1Tunneled Traffic: Foreign Agent 1

When mobile node is inWhen mobile node is in

the range of FA1, FA1the range of FA1, FA1

receives the tunneledreceives the tunneled

traffic from HAtraffic from HA

Page 18: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 18/26

 

Simulation ResultSimulation Result

Tunneled Traffic: Foreign Agent 2Tunneled Traffic: Foreign Agent 2

After moving from FA1 toAfter moving from FA1 to

FA2, mobile node will switchFA2, mobile node will switch

to FA2 and then FA2 receivesto FA2 and then FA2 receives

The Tunneled packet from HAThe Tunneled packet from HA

Page 19: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 19/26

 

Mobile IP in NS-2.31Mobile IP in NS-2.31

Similar scenario to simulate Mobile IPSimilar scenario to simulate Mobile IP

Assume TwoRayGround propagationAssume TwoRayGround propagation

802.11 Mac layer protocol802.11 Mac layer protocol Destination-Sequenced Distance Vector Destination-Sequenced Distance Vector 

(DSDV) routing protocol(DSDV) routing protocol

Page 20: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 20/26

 

SimulationSimulation

Mobile IP in NS 2.31:SecnarioMobile IP in NS 2.31:Secnario  Node

Position

(m)

Mobile Node Home Agent ForeignAgent1

ForeignAgent2

 

 X 80 100 400 800

 Y 10 20 20 20

Page 21: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 21/26

 

Mobile IP in NS-2.31 : ParametersMobile IP in NS-2.31 : Parameters

Node roaming speed: 10m/sNode roaming speed: 10m/s

Trajectory: From (80,10) to (900,20)Trajectory: From (80,10) to (900,20)

Simulation Time : 400secondsSimulation Time : 400seconds FTP Flow Start Time : From 100second to theFTP Flow Start Time : From 100second to the

end of simulationend of simulation

Page 22: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 22/26

 

Mobile IP in NS-2: Simulation resultMobile IP in NS-2: Simulation resultPacket loss during registration processPacket loss during registration process

(two small gaps in figure)(two small gaps in figure)

Unseamless connectivity during the handoff Unseamless connectivity during the handoff between different subnets in Mobile IPbetween different subnets in Mobile IP

Page 23: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 23/26

 

Conclusion and future workConclusion and future work

In this project we showed the most technical details of MobileIn this project we showed the most technical details of Mobile

IP. This helps a mobile node moves between different subnetsIP. This helps a mobile node moves between different subnets

and it keeps its IP connectivity even in a foreign networkand it keeps its IP connectivity even in a foreign network

We simulated Mobile IP in OPNET 14 and NS-2.31 and gotWe simulated Mobile IP in OPNET 14 and NS-2.31 and got

similar results and we used these results in order tosimilar results and we used these results in order to

understand Mobile IP operation better understand Mobile IP operation better 

The hand off in Mobile IP makes unseamless connectivityThe hand off in Mobile IP makes unseamless connectivity

Page 24: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 24/26

 

Conclusion and future workConclusion and future work

The future work can be implementing MobileThe future work can be implementing Mobile

IP with co-located care of address (i.e.,IP with co-located care of address (i.e.,

DHCP)DHCP)

Mobile IPv6Mobile IPv6

Page 25: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 25/26

 

ReferencesReferences MOBILE IPv4 – SIMULATION AND IMPLEMENTATION, Michal Skořepa, FakultaMOBILE IPv4 – SIMULATION AND IMPLEMENTATION, Michal Skořepa, Fakulta

elektrotechniky a komunikačních technologií,2008.elektrotechniky a komunikačních technologií,2008.

 http://en.wikipedia.org/wiki/Mobile_IPhttp://en.wikipedia.org/wiki/Mobile_IP

 http://en.wikipedia.org/wiki/Wireless_LANhttp://en.wikipedia.org/wiki/Wireless_LAN

Wireless LAN Model User Guide, OPNETWireless LAN Model User Guide, OPNET 

Planning and Analyzing Wireless LANs and Mobile IP, OPNETWORK 2003Planning and Analyzing Wireless LANs and Mobile IP, OPNETWORK 2003

Mobile Networking Technology, CEENet'2004 Workshop on Network TechnologyMobile Networking Technology, CEENet'2004 Workshop on Network Technology

High Mobility in a Realistic Wireless Environment: a Mobile IP Handoff Model for NS-2,High Mobility in a Realistic Wireless Environment: a Mobile IP Handoff Model for NS-2,Claudio E. Palazzi, Computer Science Department, University of California, Los AngelesClaudio E. Palazzi, Computer Science Department, University of California, Los Angeles

The ns Manual (formerly ns Notes and Documentation)The ns Manual (formerly ns Notes and Documentation)

Mobile IP, Charles E.Perkins, Sun Microsystems, IEEE Communication Magazine, May 1997Mobile IP, Charles E.Perkins, Sun Microsystems, IEEE Communication Magazine, May 1997

OPNET 14 TutorialOPNET 14 Tutorial

Page 26: ENSC835 Presentation

7/30/2019 ENSC835 Presentation

http://slidepdf.com/reader/full/ensc835-presentation 26/26

QuestionQuestion