implementing mobile ip in glomosim 2.0 sungwook lee eric lin tutor : s. kyle bae winter01 cs215

Post on 20-Dec-2015

214 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Implementing Mobile IP in Glomosim 2.0

Sungwook LeeEric Lin

Tutor : S. Kyle Bae

Winter01 CS215

Goals

• Implementing Mobile IP in Glomosim 2.0

• Mobile IP in a hybrid network with wired and wireless, e.g cellular network

• Supporting Handoff

• Hybrid model between Mobile IP and Cellular IP

Overview of Mobile IP

• Proposed by Charles Perkins in 1996• Mobile IP provides a mobile host (MH) with

connectivity to Internet with the same IP address while moving around

• Home Agent (HA) handles MH registration and packet forwarding for it

• Foreign Agent (FA) provides a care-of-address for its visiting MHs and decapsulates packets and forward them to its vistors

Mobile IP

• Registration– MH registers with FA– FA informs MH’s HA about MH’s registration– HA sends confirmation to FA– HA starts interception and tunneling of packets for MH

• Interception and tunneling– HA looks up a table containing currently away MHs– HA encapsulates packet within another IP packet– Encapsulated packets are tunneled to FA and

decapsulated

Cellular Network Topology

Simple Handoff

time

Advt fromNew Agent

Advt fromCurrent Agent

reset reset Start handoff

Handoffthreshold

Simple Handoff Example

Implementing Mobile IP• Add Mobile IP sublayer

typedef struct { unsigned int agent:1, mobileHost:1, reserved:2, state:8, handoffThreshold:8, maxMobileHost:16; HomeAgentInfo homeAgentInfo; ForeignAgentInfo foreignAgentInfo; MobileHostInfo mobileHostInfo; NetworkMobileIpStatsType stats;} GlomoMobileIp;

• Add Mobile IP protocol// include/nwcommon.h : onf of protocol numbers for IP// Ref : rfc 1700#define IPPROTO_MOBILE_IP_CONTROL 4#define IPPROTO_MOBILE_IP_IPIP 94

Implementing Mobile IP (Cont.)

MH AT HOME

MHINIT

MH AWAY

MH TXMITTING

MH IDLE

MH TXMITTING

MH IDLE

MHIN HANDOFF

Simulation Parameters

• 22 Base stations

• 44 Mobile hosts

• 2000 m x 2000 m

• Simulation time : 10 min

• Traffic : 20 CBRs, 20 TELNETs or 20 FTPs

• Random mobile host movement using mobility.trace

• Moving speed : 0, 5, 10, 15, 20, 25, 30(m/s)

Mobile IP Parameters

• Mobile IP Agent broadcasts advertisement every 300 ms

• Routing table in agent is updated if the agent can’t hear mobile host during 30 second

Simulation Scenarios

Mobility 20 FTPs 20 TELNETs 20 CBRs

0 m/s 3 run 3 run 3 run

5 m/s 3 run 3 run 3 run

10 m/s 3 run 3 run 3 run

15 m/s 3 run 3 run 3 run

20 m/s 3 run 3 run 3 run

25 m/s 3 run 3 run 3 run

30 m/s 3 run 3 run 3 run

Simulation Topology

Simulation Snapshot

Simulation Result : Handoff vs Mobility

Simulation Result : Packet drop vs Mobility

Simulation Result : Encapsulated packet vs Mobility

Simulation Result : Decapsulated packet vs Mobility

Simulation Result : Tunneled packet vs Mobility

Conclusion

• Mobile IP implemented in Glomosim 2.0• Handoff included in Mobile IP for the Cellular

network environments• Packet drop rates and handoff counts are

measured• Future work

– Relation of advertisement interval, handoff scheme, mobility model(mobile host speed) and routing table update interval

– Extend to Cellular IP

Acknowledgement

• S. Kyle Bae

• Yunjung Yi

top related