Mobile IP, IPv6, and QoS Mechanisms (Autosaved)
Mobile IP, IPv6, and QoS Mechanisms (Autosaved)
INT311
20.2
Figure 20.1 Links between two hosts
20.3
Figure 20.2 Network layer in an internetwork
20.4
Figure 20.3 Network layer at the source, router, and destination
20.5
Figure 20.3 Network layer at the source, router, and destination (continued)
20.6
Packet Switching
Loss of a node looses all circuits through that node
Datagram
No call setup phase
Better if few packets
More flexible
Routing can be used to avoid congested parts of
the network
Note
20.15
Mobile IP
Mobile and personal computers, such as
notebooks and smartphones have become
increasingly popular, we need to think about
mobile IP.
It is an extension of IP protocol that allows mobile
computers to be connected to the Internet at any
location where the connection is possible.
14.16
Addressing
The main problem that must be solved in
providing mobile communication using the IP
protocol is addressing.
Stationary Hosts
The IP addresses are designed to work with
Two Addresses
14.17
Why Mobile IP
It will be very nice if mobility does not affect
internet sessions.
For example, we should be able to take a
laptop computer from our workplace to home
without noticing any change in the internet
connectivity
Mobility of the computer should be
completely transparent to the applications
running on the computer
20.18
For example, the user should continue to
receive emails and keep connected to the
internet.
Mobile IP makes mobility completely
transparent to applications running on a
mobile computer
The applications feel that the mobile computer
is connected to its usual IP address even if it is
far away from its home network.
20.19
The problem with Internet
Protocol (IP)
IP routes packets to their destinations according
to IP addresses.
20.21
If a packet has to be delivered to a mobile
node’s current point of attachment, we need
to change the destination IP address and port
number
It is impossible to do so once a connection
has been established.
Mobile IP allows a mobile node to use two
different IP addresses.
20.22
Changing the Address
changed.
The DNS tables need to be revised so that every
14.23
Two Addresses
The approach that is more feasible is the use of
two addresses. The host has its original address,
called the home address, and a temporary
address, called the care-of address.
The home address is permanent; it associates the
host with its home network, the network that is
the permanent home of the host. The care-of
address is temporary.
When a host moves from one network to another,
the care-of address changes; it is associated with
the foreign network, the network to which the
host moves.
14.24
Diagram of Mobile IP
20.25
Home address and Care-of
Address
14.26
Home Agent and Foreign Agent
Home Agent
The home agent is usually a router attached to the
home network of the mobile host. The home agent
acts on behalf of the mobile host when a remote host
sends a packet to the mobile host. The home agent
receives the packet and sends it to the foreign agent.
Foreign Agent
The foreign agent is usually a router attached to the
foreign network. The foreign agent receives and
delivers packets sent by the home agent to the mobile
host.
When the mobile host acts as a foreign agent, the care-of
address is called a collocated care-of address.
14.27
Home Agent and Foreign Agent
14.28
Remote Host and Mobile Host
Communication
14.29
Data transfer
20.30
Problems: Triangular
delivery
• When the remote host sends a packet to the mobile host:
• The packet goes from the remote host to the home
agent and then to the mobile host.
• The packet travels the two sides of a triangle.
20.31
Double Crossing
20.32
20-2 IPv4
20.33
Figure 20.4 Position of IPv4 in TCP/IP protocol suite
20.34
Note
20.36
Figure 20.6 Service type or differentiated services
20.37
Table 20.1 Types of service
20.38
Table 20.2 Default types of service
20.39
Figure 20.8 Protocol field and encapsulated data
20.40
Table 20.4 Protocol values
20.41
20-3 IPv6
20.42
IPv4 and IPv6
20.48
Figure 20.16 Format of an IPv6 datagram
20.49
Table 20.6 Next header codes for IPv6
20.50
Table 20.7 Priorities for congestion-controlled traffic
20.51
Table 20.8 Priorities for noncongestion-controlled traffic
20.52
Table 20.9 Comparison between IPv4 and IPv6 packet headers
20.53
Table 20.9 Comparison between IPv4 and IPv6 packet headers
20.54
20-4 TRANSITION FROM IPv4 TO IPv6
20.55
Figure 20.18 Three transition strategies
20.56
Dual stack
57
Figure 20.19 Dual stack
20.58
Cisco IOS Dual Stack
IPv4
IPv6
IPv4: 192.168.99.1
IPv6: 3ffe:b00:c18:1::3
20.62
IPv6 tunnel over IPv4
IPv4
Network
IPv6 IPv6
tunnel
IPv4
IPv6
IPv6
Data
Data
Data
De-Cap En-Cap
IPv6
IPv4
IPv4
Data
Data
Data
De-Cap En-Cap
64
Figure 20.21 Header translation strategy
20.65
Address Translation
IPv6 packets goes through IPv4 network
IPv6 IPv4
Host IPv6 R IPv4 Host
Network Address
Translation (NAT)
IPv6
IPv4
Data
Data
Port
66
Table 20.11 Header translation
20.67