Download presentation
Presentation is loading. Please wait.
1
Implementing Mobile IP in Glomosim 2.0 Sungwook Lee Eric Lin Tutor : S. Kyle Bae Winter01 CS215
2
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
3
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
4
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
5
Cellular Network Topology
6
Simple Handoff time Advt from New Agent Advt from Current Agent reset Start handoff Handoff threshold
7
Simple Handoff Example
8
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
9
Implementing Mobile IP (Cont.) MH AT HOME MH INIT MH AWAY MH TXMITTING MH IDLE MH TXMITTING MH IDLE MH IN HANDOFF
10
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)
11
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
12
Simulation Scenarios Mobility20 FTPs20 TELNETs20 CBRs 0 m/s3 run 5 m/s3 run 10 m/s3 run 15 m/s3 run 20 m/s3 run 25 m/s3 run 30 m/s3 run
13
Simulation Topology
14
Simulation Snapshot
15
Simulation Result : Handoff vs Mobility
16
Simulation Result : Packet drop vs Mobility
17
Simulation Result : Encapsulated packet vs Mobility
18
Simulation Result : Decapsulated packet vs Mobility
19
Simulation Result : Tunneled packet vs Mobility
20
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
21
Acknowledgement S. Kyle Bae Yunjung Yi
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.