8. Mobile IP Flashcards
Mobile Internet Protocol / Mobile IP / MIP
is an Internet Engineering Task Force (IETF) standard communications protocol that is designed to allow mobile device users to move from one network to another while maintaining a permanent IP address.
- allows location-independent routing of IP datagrams on the internet
- each mobile node is id’d by its home address regardless of its current location in the internet
- when away from ‘home’ a mobile node is associated with a care-of-address identifying its current location and its home address is associated with the local endpoint of a tunnel to its home agent.
Mobile IP specifies how a mobile node registers with its home agent and how the home agent routes datagrams to the mobile node through the tunnel
Mobile IP addresses scenario:
Solution to enable a host to migrate btwn subnets while retaining a static/fixed IP address.
In a WLAN, different access points might use different subnets. A device’s IP address might change when it transfers btwn APs, causing persistent or new incoming connections to the old IP address to fail.
Mobile IP two key functions
- To keep a persistent connection when moving btwn different wireless IP subnets
- To be addressable via a single, globally reachable (DNS-advertised) IP address while away from ‘home’ network
Two alternative solutions to MIP
Dynamic DNS and Non-MIP mobility (Cisco WLAN controllers)
Dynamic DNS
Allows updating of a host’s IP address in the DNS
- this however places some load on DNS infrastructure
- needs own authentication
(Dynamic DNS is used on home DSL networks where the ISP does not provide a static IP address)
Cisco/Trapeze WLAN controllers
Provide intra site mobility
Controller manages all AP configurations
(Avoids having to configure each AP explicitly)
Controller manages any host mobility
Uses some combo of proxy ARP/proxy ND/host-based routes
Supported in the Cisco WLCs at soton
Works well within a campus but not scalable beyond
Not interoperable
MIP vs DynDNS vs WLC
MIP provides a common mobility platform at the IP layer, has the benefit of being a common standard
WLC
Wireless LAN Controller
Components of Mobile IPv6
MN - Mobile Node CN - Correspondent Node HA - Home Agent HoA - Home Address CoA - Care of Address BU - Binding Update BUA - Binding Update Acknowledgement
Home Agent (HA)
Home Agent (HA) resides on a node's home network - The HA function may typically be embedded in a router
Home Address (HoA)
Home Address (HoA) is assigned from its home IP subnet
- this is the node’s persistent IP address; it is allocated by the HA as a part of initial mobility bootstrapping
- bootstrapping may also include some IPsec configuration
Care of Address (CoA)
Care of Address (CoA) is obtained while roaming
- can be obtained by IPv6 stateless autoconfiguration, or DHCPv6
- the mobile node always has a primary care-of-address; the address it has from the local visited network
Router advertisements
IPv6 hosts see or solicit Router Advertisements (RAs)
- the RA carries network prefix to use
- RA source address implies the default router
- host generates 128-bit address based on 64-bit prefix and 64-bit host part of address (based on MAC address, or random)
Home Agent forwarding
When away from home hetwork, MN registers any new CoA with its HA using a special message called Binding Update (BU)
- HA replies with a BU Acknowledgement
The HA operation then depends on whether the MN is resident in the home subnet or not
- If the MN is in its home network (subnet), operation is normal
- If the MN is not resident in its home network, the HA acts as a ‘proxy’, tunnelling IP traffic to CoA
How does the HA proxy work
The CN sends traffic to MN’s home address
- HA needs to ‘intercept’ traffic for the MN ti be able to forward it when MN is absent
Traffic directed to the MN’s HoA wil reach the router serving the subnet where the MN’s HA resides
IPv6 uses Neighbour Discovery (ND) to map to/from IP/Ethernet addresses (rather like IPv4 ARP)
The HA provides a proxy ND function for the MN while it is absent (off link)
- HA responds to ND requests from the router for the node’s HoA so the router sends traffic for the MN to the HA instead