Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mobile and cellular IP CS 215 W 01. Mobile IP Mobile IP allows a computer to roam freely on the Internet while being reachable at the same IP address.

Similar presentations


Presentation on theme: "Mobile and cellular IP CS 215 W 01. Mobile IP Mobile IP allows a computer to roam freely on the Internet while being reachable at the same IP address."— Presentation transcript:

1 Mobile and cellular IP CS 215 W 01

2 Mobile IP Mobile IP allows a computer to roam freely on the Internet while being reachable at the same IP address Each Mobile Host (MH) is associated with a unique home network as indicated by its IP address When a MH is away a special host (the Home Agent or HA) is designated on this network for intercepting and forwarding its packets

3 Mobile IP The MH uses a special registration protocol to keep its HA informed about its current location Whenever a MH moves to a foreign network, it chooses a foreign agent (FA) on the new network Packets for the MH are intercepted and tunneled by its HA and sent to its FA Tunneling: Refers to the process of enclosing the original datagram inside another datagram with a new IP header Called tunneling since the intermediate routers remain oblivious of the inner (original) IP header On receiving the tunneled packet, the FA forwards the original datagram to the MH

4 Three-way registration Process Home Agent Foreign Agent Mobile host Home Agent Foreign Agent Mobile host Home Agent Foreign Agent Mobile host Mobile Host registers with Foreign Agent Foreign Agent informs Home Agent about Mobile Host’s registration Home Agent starts interception and tunneling of packets for Mobile Host. Sends Confirmation to Foreign Agent

5 Interception and Tunneling Home Agent Foreign Agent Mobile host Old location of Mobile host Sender Tunneled Packet Interception: Lookup a table containing ‘currently away’ Mobile Hosts from the Agent’s network Tunneling: Encapsulate the packet within another IP packet

6 A typical cellular IP environment Base station 2 Base station 3 / Gateway Base station 1 Mobile Host Internet

7 Cellular IP & Mobile IP A B Gwy M.A. MIP tunnel Cellular IP Internet & Mobile IP

8 Cellular IP basic rules Every packet directed to a mobile host must go through the gateway Every packet that comes from a mobile host must come from the gateway The base-station wired subnet is reponsible to dynamically reroute packets to mobile host (via Cellular IP) Mobile hosts are responsible for handing off.

9 Cellular IP routing Each base station keeps a list of mappings (host IP address, interface) indicating on which interface to send a packet directed to each mobile host (ie, like forwarding in a bridged LAN; except, we use IP istead of MAC addresses). Routing is source-tree routing from the gateway (i.e. packets are routed on a tree rooted at the gateway) Each time a base station receives a packet from a host, it checks the validity of its routing table, and updates it if necessary (ie, backward learning). To handoff, a host simply sends a packet through the new base station. It cannot receive packets from its former base station after it has handed off (hard handhoff)

10 Cellular IP (hard) handoff A host monitors the power received from its base station. When power drops below a threshold, the host changes base station by sending a packet to its new base station (on a new frequency)

11 Packet loss in Cellular IP Packets may be lost due to handoff: Gwy

12 The simulation environment Simulation using GloMoSim GloMoSim was extended so that a hybrid environment (wired/wireless) could be simulated Implementation of cellular IP

13 Simulation topology Wired BS subnet Base station

14 Simulation parameters (cont ’d) 13 Base stations 39 Mobile hosts 20 min simulation runs Mixed traffic: real-time, ftp, telnet Random waypoint mobility

15 Results (cont ’d): Packet Loss

16 Simulation results: Handoff freq. vs mobility

17 Results (cont ’d): Succesful H/OFFs Speed(m.s -1 )


Download ppt "Mobile and cellular IP CS 215 W 01. Mobile IP Mobile IP allows a computer to roam freely on the Internet while being reachable at the same IP address."

Similar presentations


Ads by Google