Lecture 1: 24th September 2019 Flashcards

IP Mobility

1
Q

What is interworking?

A

Moving between different networks which provide Internet connections.

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

Why does IP need to enable interworking today?

A

There are multiple different types of networks which people use, particularly on mobile devices as they physically move, which people should be able to use and seamlessly switch between.

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

Why was IP not designed to allow for mobility?

A

There was originally only one network to which computers connected, and all computers were static so would only ever connect to one network.

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

What is IP mobility?

A

Mechanisms that allow a device connected to the Internet to move freely between different IP networks (possibly with different underlying technologies) while maintaining IP connectivity in a transparent way to upper layers.

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

How are data flows uniquely identified?

A

With IP addresses that resolve a point of attachment to the Internet network, and port numbers that provide resolution within a node.

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

What is the entanglement of network layers with IP? Why is it a problem?

A

Protocols at each layer of the 5 layer model all use IP addresses in naming which removes modularity and the abstraction we aim to achieve.

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

What happens to a TCP connection when the IP or port of a host changes? When might this happen?

A

It is destroyed as they are identified by the IP addresses and port numbers of both hosts. This can happen when moving between different IP networks.

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

What is Mobile IP?

A

An IETF-standardised solution to the IP mobility problem. It is designed to allow mobile device users to move from one network to another while maintaining a permanent IP address.

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

How does Mobile IP work?

A

Mobile hosts (MHes) have a starting home network (HN) and a home agent (HA) and want to move to a foreign network (FN) with a foreign agent (FA). An agent acts like a proxy and forwards packets to the MH. When an MH moves to an FN, its HA finds the FA with advertising/solicitation. The MH completes registration with the FN using DAD. The MH then updates its HA with its new care-of-address (CoA), which points to the FA. Any packets for MH that go to the HN are forwarded by the HA to the FA, which de-encapsulates them and forwards them to the MH. The MH only keeps the last HA and HN as well as its FN and FA: a max of 1 proxy.

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

What are some problems with Mobile IP?

A

It has a number of security issues, such as enabling reflectin attacks since you can spoof source IDs. End-to-end semantics are lost with proxy tunnelling. Proxies also offer a performance bottleneck, single point of failure and attack. They may also allow traffic monitoring and MH tracking.

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

How does Mobile IPv6 improve on Mobile IP?

A

Hosts can effectively be their own agents, authentication and privacy are improved, Binding Updates (BUs) to send CoA to remote end systems improve address and route optimisation, and SLAAC allows nodes to have their own addresses.

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

What is the fundamental issue with Mobile IP?

A

It uses the same method of addressing as in normal IP, which means the entanglement problem is still present.

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

What is ILNP?

A

Identifier-Locator Network Protocol is a network protocol designed to separate the two functions of network addresses, the identification of network endpoints, and assisting routing by separating topological information from node identity.

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

Give an overview of how ILNP works.

A

128 bit IPv6 address is split into 64 bit locator address and 64 bit node identifier. The locator address is topologically significant, identifies the subnetwork a host is in, and is used for routing and forwarding. The node identifier is not topologically significant, names a node not an interface, and is used only by upper layers in the layered model.

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

How do TCP and IP packets change from IP to ILNP?

A

In IP, TCP packets have IP addresses and port numbers of each host, and IP packets have the IP addresses of each host. In ILNP, TCP packets have node identifiers and IP packets have locators.

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

How does ILNP overcome the entanglement issue with IP?

A

dynamic bindings and splitting locator into IP packets and node IDs into TCP packets.

17
Q

What changes would have to be made to existing infrastructure and applications to accommodate to ILNP?

A

Not routers, not switches, not apps and binaries - as long as they support IPv6 they support ILNP. But you do need to update DNS - the protocol is now updated but needs to be deployed.

18
Q

Why can ILNP not use a device’s MAC address as a unique identifier?

A

MAC addresses are not always unique (though they should be, there are illegal manufacturers etc) and you also need to fill 64 bits.

19
Q

How does ILNP implement end-to-end state invariance preservation with IP mobility?

A

Make DNS keep records of locators and node identifiers in routers and switches, and change the records when nodes migrate between networks.

20
Q

How does IP mobility work in ILNP?

A

A router or switch will solicit/advertise to find a locator prefix. The locator will update to a new node and acknowledge the router/switch. You can optionally update name-> address and address-> name mappings.

21
Q

What are some problems with ILNP?

A

Can be connected to multiple networks at once, which gives mutli-path effects such as incorrect ordering. It also relies on DNS (also true of IPv4 and IPv6). Address-based applications would be hard to adapt but name-based ones wouldn’t (e.g. nginx OK but not Apache). Changing networks results in a big increase in capacity which then falls to ~0, though this can be smoothed by keeping the initial connection open until the connection to the second network normalises.

22
Q

What do IP addresses identify?

A

Points of attachment to the Internet network - not the devices themselves. You could have 1 device with different IPs from simultaneous wired ethernet, Wifi, and 4G connections. They are tied to interfaces (NICs).