8. Mobile IP Flashcards

1
Q

Mobile Internet Protocol / Mobile IP / MIP

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Mobile IP addresses scenario:

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Mobile IP two key functions

A
  1. To keep a persistent connection when moving btwn different wireless IP subnets
  2. To be addressable via a single, globally reachable (DNS-advertised) IP address while away from ‘home’ network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Two alternative solutions to MIP

A

Dynamic DNS and Non-MIP mobility (Cisco WLAN controllers)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Dynamic DNS

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Cisco/Trapeze WLAN controllers

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

MIP vs DynDNS vs WLC

A

MIP provides a common mobility platform at the IP layer, has the benefit of being a common standard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

WLC

A

Wireless LAN Controller

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Components of Mobile IPv6

A
MN - Mobile Node
CN - Correspondent Node
HA - Home Agent
HoA - Home Address
CoA - Care of Address
BU - Binding Update
BUA - Binding Update Acknowledgement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Home Agent (HA)

A
Home Agent (HA) resides on a node's home network
 - The HA function may typically be embedded in a router
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Home Address (HoA)

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Care of Address (CoA)

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Router advertisements

A

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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Home Agent forwarding

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does the HA proxy work

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Triangular Routing

A

CN snds IP packets to the MN’s HoA
If the MN is on its home subnet, it receives the traffic normally
If the MN is resident in another network then the HA forwards (tunnels) packets to the MN’s CoA
By default replies also go via the HA-MN tunnel, but this means we have ‘triangular’ routing

17
Q

Route optimisation

A

MN can also send a BU directly to the CN
- only if the CN supports MIPv6 (not just plain IPv6)
- thus CN can learn and exchange IPv6 traffic with the CoA directly, with no routing via the HA
This removes the triangular routing, improving efficiency
Very useful when two mobile nodes are visiting the same local subnet
- eg in the same (remote) conference venue/room
Problem with BU - whether to HA or CN, is how it can be secured (we need to avoid session hijacking)

18
Q

MIPv6 Security

A

Main issue is trusting the BU message
- from MN to HA
- from MN to CN
MN to HA
- use IPsec - can be established because both systems can be trusted (under same admin control)
MN to CN
- usually an ad-hoc relationship - no prior trust
- uses Return Routability Test (RRT) - it ensures the CN is reachable via both the HA and directly, sharing ‘secrets’ on both paths

19
Q

IPsec

A
Protocol suite for securing IP comms by authenticating and encrypting each IP packet of a comm session.
Incl protocols for establishing mutual authentication btwn agents at the beginning of the session and negotiation of crypto keys to be used during the session.
Can be used for protecting data flows;
 - host-to-host
 - network-to-network
 - sec gateway-to host (network-to-host)
Supports:
 - network-level peer auth
 - data origin auth
 - data integrity
 - data confidentiality (encryption)
 - replay protection
End to end sec scheme in Internet Layer
20
Q

Return Routability Test

A

Procedure designed to allow a CN to detect whether the MN is reachable at its CoA as well as at its HA.
Only then allows route optimisation

21
Q

Summary MIPv6

A

Two important functions
- support for session continuity when devices/nodes roam
- addressability by a fixed (home) IP address wherever a node is
MIPv6 model had core comonents, addresses and messages;
- HA, MN, CN; HA, CoA; BU
Biggest threat to BU is BU spoofing
MN -> HA - mitigated by IPsec
MN -> CN - mitigated by RRT
Currently not widely used, more interest in mobile networks (whole subnets)