1 / 21

Implementing Mobile IP in Glomosim 2.0

Implementing Mobile IP in Glomosim 2.0. Sungwook Lee Eric 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.

linore
Download Presentation

Implementing Mobile IP in Glomosim 2.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 Advt from Current Agent time Handoff threshold Advt from New Agent reset reset Start handoff

  7. Simple Handoff Example

  8. Implementing Mobile IP 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 sublayer • 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 IDLE MH IDLE MH TXMITTING MH TXMITTING MH AWAY MH AT HOME MH IN HANDOFF MH INIT

  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

  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

More Related