mobile ip. outline what is the problem at the routing layer when internet hosts move?! can the...
TRANSCRIPT
![Page 1: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/1.jpg)
Mobile IP
![Page 2: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/2.jpg)
Outline
What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile IP What are the problems with the solution? Other approaches?
![Page 3: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/3.jpg)
Internet hosts & Mobility
Wireless networking – allows Internet users to become mobileAs users move, they have to be handed over from one coverage area to another (since the coverage areas of access points are finite) …Ongoing connections need to be maintained as the user moves …
![Page 4: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/4.jpg)
Problems?
What are the problems?The IP address associated with a mobile host is network dependent!When user connects to another network, IP address needs to changePackets belonging to ongoing connections somehow need to be delivered to the mobile host
![Page 5: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/5.jpg)
Problems (Contd.)?
What are the options?Make IP address host specific instead of network specific – obvious pitfalls?Change IP address of host and start using the new IP address in the subsequent packets belonging to the connections
![Page 6: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/6.jpg)
Intuitive Solution
Take up the analogy of you moving from one apartment to anotherWhat do you do?Leave a forwarding address with your old post-office!The old post-office forwards mails to your new post-office, which then forwards them to you
![Page 7: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/7.jpg)
Mobile IP Basics
Same as the post-office analogyTwo other entities – home agent (old post-office), foreign agent (new post-office)Mobile host registers with home agent the new locationHome agent captures packets meant for mobile host, and forwards it to the foreign agent, which then delivers it to the mobile host
![Page 8: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/8.jpg)
Reverse path?
Same as in the post-office analogyPackets originating from the mobile host go directly to the static corresponding host …
HA
SH MH
FA
MH• Hence the nametriangular routing
![Page 9: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/9.jpg)
Mobile IP Entities
Mobile hostCorresponding hostHome addressCare-of addressHome agentForeign agent
![Page 10: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/10.jpg)
Mobile IP in detail …
Combination of 3 separable mechanisms: Discovering the care-of address Registering the care-of address Tunneling to the care-of address
![Page 11: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/11.jpg)
Discovering the care-of address
Discovery process built on top of an existing standard protocol: router advertisement (RFC 1256)Router advertisements extended to carry available care-of addresses called: agent advertisementsForeign agents (and home agents) send agent advertisements periodicallyA mobile host can choose not to wait for an advertisement, and issue a solicitation message
![Page 12: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/12.jpg)
Agent advertisements
Foreign agents send advertisements to advertise available care-of addressesHome agents send advertisements to make themselves known Mobile hosts can issue agent solicitations to actively seek informationIf mobile host has not heard from a foreign agent its current care-of address belongs to, it seeks for another care-of address
![Page 13: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/13.jpg)
Registering the Care-of Address
Once mobile host receives care-of address, it registers it with the home agent A registration request is first sent to the home agent (through the foreign agent) Home agent then approves the request and sends a registration reply back to the mobile host Security?
![Page 14: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/14.jpg)
Registration Authentication
Mobile IP requires the home agent and mobile host to share a security association MD5 with 128-bit keys to create digital signatures for registration requests to be used (registration message & header used for creating signature) Any problems? – replay attacks Solved by using an unique message identifier (timestamp or pseudorandom number)
![Page 15: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/15.jpg)
Illustration
![Page 16: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/16.jpg)
Foreign Agent Security?
No foreign agent authentication required Foreign agent can potentially discard data once registration happens However, the problem is same as in unauthenticated route advertisements (RFC 1256) in the wireline context
![Page 17: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/17.jpg)
Home agent discovery
If the mobile host is unable to communicate with the home agent, a home agent discovery message is used The message is sent as a broadcast to the home agents in the home network
![Page 18: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/18.jpg)
Tunneling to the Care-of address
When home agent receives packets addressed to mobile host, it forwards packets to the care-of address How does it forward it? - encapsulation The default encapsulation mechanism that must be supported by all mobility agents using mobile IP is IP-within-IP (RFC 2003) Using IP-within-IP, home agent inserts a new IP header in front of the IP header of any datagram
![Page 19: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/19.jpg)
Tunneling (contd.)
Destination address set to the care-of address Source address set to the home agent’s address Tunnel header uses 4 for higher protocol id – this ensures that IP after stripping out the first header, processes the packet again Tunnel header of 55 used if IP minimal encapsulation used (RFC 2004)
![Page 20: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/20.jpg)
Illustration
![Page 21: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/21.jpg)
Recap
Host mobility and Internet addresses Post-office analogy Home agent, foreign agent, care-of address, home address Registration and Tunneling IPv6 and Mobility support …
![Page 22: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/22.jpg)
Mobile IP Basic Operation
Entities Mobile host, home agent, foreign agent,
corresponding host
Discovering Care-of Addresses Agent advertisements
Registering Care-of Address Security
Tunneling to Care-of Address IP-within-IP encapsulation
![Page 23: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/23.jpg)
Mobile IP Problems?
Triangular routing overhead What is the worst case scenario?
Registration latency and associated problems Ingress filtering and consequences Infrastructure required for mobile IP support? Firewalls
![Page 24: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/24.jpg)
Mobile IP Optimizations
Route optimization Smooth hand-offs
![Page 25: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/25.jpg)
Route Optimizations
Enable direct notification of the corresponding host Direct tunneling from the corresponding host to the mobile host Binding cache maintained at corresponding host Management of cache not stipulated (e.g. least used entry replacement)
![Page 26: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/26.jpg)
Route optimizations (contd.)
4 types of messages Binding update Binding request Binding warning Binding acknowledge
![Page 27: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/27.jpg)
Binding Update
When a home agent receives a packet to be tunneled to a mobile host, it sends a binding update message to the corresponding host When a home agent receives a binding request message, it replies with a binding update message Also used in the the smooth-handoffs optimization
![Page 28: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/28.jpg)
Binding Update (Contd.)
Corresponding host caches binding and uses it for tunneling subsequent packets Lifetime of binding? Corresponding host that perceives a near-expiry can choose to ask for a binding confirmation using the binding request message Home agent can choose to ask for an acknowledgement to which a corresponding host has to reply with a binding ack message
![Page 29: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/29.jpg)
Binding update (problem?)
What happens when a mobile host moves?
![Page 30: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/30.jpg)
Binding warning
When a foreign agent receives a tunneled message, but sees no visitor entry for the mobile host, it generates a binding warning message to the appropriate home agent When a home agent receives a warning, it issues an update message to the corresponding host What if the foreign agent does not have the home agent address (why?) ?
![Page 31: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/31.jpg)
Illustration
Home Agent
Foreign AgentCorresponding Host
Mobile Host
BU BW
BW
BRBA
![Page 32: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/32.jpg)
Smooth Hand-offs
When a mobile host moves from one foreign agent to another … Packets in flight to the old FA are lost and are expected to be recovered through higher layer protocols (e.g. TCP) How can these packets be saved?
![Page 33: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/33.jpg)
Smooth Hand-offs
Make previous FA forward packets to the new FA Send binding updates to the old FA through the new FA Such forwarding will be done for a pre-specified amount of time (registration lifetime) Update can also help old FA free any reserved resources immediately Why better?
![Page 34: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/34.jpg)
Mobile IP in IPv6
Route optimization and smooth hand-offs used in IPv6 mobility Binding updates easier since IPv6 supports destination caches at sources IPv6 security inherently stronger than in IPv4. Hence, no explicit security mechanisms needed for mobile IP Source routing to be used instead of encapsulation (why?)
![Page 35: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/35.jpg)
Recap
Mobile IP problems Mobile IP Optimizations Mobility support in IPv6
![Page 36: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/36.jpg)
Outline
Multicast-based architecture Fast handoffs MosquitoNet End-to-end approach
![Page 37: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/37.jpg)
Multicast-based Architecture
Very different from the mobile-IP model Based on the IP-multicast approach Leverages the similarities in the two problems (multicast and mobility) Minor modifications to IP-multicast required
![Page 38: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/38.jpg)
Multicast Multicast: group membership, packets sent to a multicast address have to be delivered to all members of the group Members of a multicast group can be located “anywhere” IP-multicast infrastructure is overlayed on the Internet (construction of infrastructure a separate problem by itself – DVMRP, CBT, etc.) Forwarding of data happens on the overlayed infrastructure, and routing is group specific
![Page 39: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/39.jpg)
Multicast (Illustration)
Tunnels
![Page 40: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/40.jpg)
Multicast & Mobility
TunnelsCH
Use IP-multicasting to support mobility!
![Page 41: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/41.jpg)
MSM-IP Architecture
MSM-IP: Mobility support using Multicasting in IP Addressing: mobile host has multicast address Tunneling architecture: same as IP multicast (sparse mode algorithm required) Join and prune mechanisms: hand-offs made more efficient Resource reservation (RSVP) easier
![Page 42: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/42.jpg)
Problems?
ARP replies TCP support IGMP registration ICMP message delivery Multicast address space IP-multicast maturity
![Page 43: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/43.jpg)
Fast Handoffs
Reduce the latency in resuming operations when a hand-off occurs Use hierarchical foreign agents Example: domain foreign agents and subnet foreign agents Mobility within a domain kept transparent from the home agent by appropriate interactions between domain foreign agent and subnet foreign agents
![Page 44: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/44.jpg)
Fast Handoffs (Illustration)
Internetwork
FA
FA
Subnet A Subnet B
FA
![Page 45: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/45.jpg)
MosquitoNet
One of the first test-bed implementations of Mobile IP Introduced the notion of co-located foreign agents Improves deployability of the mobile-IP approach to support host mobility Trade-offs?
![Page 46: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/46.jpg)
End-to-End Approach
Internet infrastructure does not change (like in mobile IP) Changes required at both the sender and receiver Does connection migration when mobile-host moves
![Page 47: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/47.jpg)
E2E Approach (Contd.)
Hostname used as the invariant to identify mobile host Mobile host uses DNS updates to change hostname to IP address mapping No consistency problem as DNS entries can be made un-cacheable If client is mobile, DNS-support not used
![Page 48: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/48.jpg)
E2E Approach (Contd.)
When a mobile-host undergoes a handoff, it re-issues a SYN (with a MIGRATE option identifying the previous connection) A unique token exchanged during initial connection set-up used to identify connection The receiver of the SYN changes its state to represent the new address of the mobile-host Connection proceeds as a regular TCP connection from thereon Trade-offs?
![Page 49: Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile](https://reader036.vdocument.in/reader036/viewer/2022062321/56649e0e5503460f94af8093/html5/thumbnails/49.jpg)
Puzzle
Power drill Power drill that drills square holes?! What would the cross-section of the power drill look like?