chapter 24
DESCRIPTION
Chapter 24. Mobile IP. Objectives. Upon completion you will be able to:. Understand the addressing scheme for mobile hosts. To define home, care-of, and co-located care-of addresses Understand the interactions between a home and a foreign agent - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/1.jpg)
TCP/IP Protocol Suite 1
Chapter 24Chapter 24
Upon completion you will be able to:
Mobile IPMobile IP
• Understand the addressing scheme for mobile hosts.• To define home, care-of, and co-located care-of addresses• Understand the interactions between a home and a foreign agent• Know the three phases involved in mobile communication• Understand why mobile IP communication can be inefficient
Objectives
![Page 2: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/2.jpg)
TCP/IP Protocol Suite 2
24.1 ADDRESSING
The main problem that must be solved in providing mobile The main problem that must be solved in providing mobile communication using the IP protocol is addressing. communication using the IP protocol is addressing.
The topics discussed in this section include:The topics discussed in this section include:
Stationary Hosts Stationary Hosts Mobile Hosts Mobile Hosts
![Page 3: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/3.jpg)
TCP/IP Protocol Suite 3
The IP addresses are designed to work with stationary hosts because part of
the address defines the network to which the host is attached.
Note:Note:
![Page 4: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/4.jpg)
TCP/IP Protocol Suite 4
Figure 24.1 Home address and care-of address
![Page 5: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/5.jpg)
TCP/IP Protocol Suite 5
Mobile IP has two addresses for a mobile host: one home address and
one care-of address. The home address is permanent; the care-of address
changes as the mobile host moves from one network to another.
Note:Note:
![Page 6: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/6.jpg)
TCP/IP Protocol Suite 6
24.2 AGENTS
To make the change of address transparent to the rest of the Internet To make the change of address transparent to the rest of the Internet requires a home agent and a foreign agent. The specific function of an requires a home agent and a foreign agent. The specific function of an agent is performed in the application layer. agent is performed in the application layer.
The topics discussed in this section include:The topics discussed in this section include:
Home Agent Home Agent Foreign Agent Foreign Agent
![Page 7: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/7.jpg)
TCP/IP Protocol Suite 7
Figure 24.2 Home agent and foreign agent
![Page 8: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/8.jpg)
TCP/IP Protocol Suite 8
When the mobile host and the foreign agent are the same, the care-of address is called a co-located care-of address.
Note:Note:
![Page 9: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/9.jpg)
TCP/IP Protocol Suite 9
24.3 THREE PHASES
To communicate with a remote host, a mobile host goes through three To communicate with a remote host, a mobile host goes through three phases: agent discovery, registration, and data transfer. phases: agent discovery, registration, and data transfer.
The topics discussed in this section include:The topics discussed in this section include:
Agent Discovery Agent Discovery Registration Registration Data Transfer Data Transfer
![Page 10: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/10.jpg)
TCP/IP Protocol Suite 10
Figure 24.3 Remote host and mobile host communication
![Page 11: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/11.jpg)
TCP/IP Protocol Suite 11
Mobile IP does not use a new packet type for agent advertisement; it uses the router advertisement packet of
ICMP, and appends an agent advertisement message.
Note:Note:
![Page 12: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/12.jpg)
TCP/IP Protocol Suite 12
Figure 24.4 Agent advertisement
![Page 13: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/13.jpg)
TCP/IP Protocol Suite 13
Table 24.1 Table 24.1 Code bitsCode bits
![Page 14: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/14.jpg)
TCP/IP Protocol Suite 14
Mobile IP does not use a new packet type for agent solicitation; it uses the router solicitation packet of ICMP.
Note:Note:
![Page 15: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/15.jpg)
TCP/IP Protocol Suite 15
Figure 24.5 Registration request and reply
![Page 16: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/16.jpg)
TCP/IP Protocol Suite 16
Figure 24.6 Registration request format
![Page 17: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/17.jpg)
TCP/IP Protocol Suite 17
Table 24.2 Table 24.2 Registration request flag field bitsRegistration request flag field bits
![Page 18: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/18.jpg)
TCP/IP Protocol Suite 18
Figure 24.7 Registration reply format
![Page 19: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/19.jpg)
TCP/IP Protocol Suite 19
A registration request or reply is sent by UDP using the well-known port 434.
Note:Note:
![Page 20: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/20.jpg)
TCP/IP Protocol Suite 20
Figure 24.8 Data transfer
![Page 21: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/21.jpg)
TCP/IP Protocol Suite 21
The movement of the mobile host is transparent to the rest of the Internet.
Note:Note:
![Page 22: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/22.jpg)
TCP/IP Protocol Suite 22
24.4 INEFFICIENCY IN MOBILE IP
Communication involving mobile IP can be inefficient. A severe case is Communication involving mobile IP can be inefficient. A severe case is called double crossing or 2X. A moderate case is called triangle routing called double crossing or 2X. A moderate case is called triangle routing or dog-leg routing.or dog-leg routing.
The topics discussed in this section include:The topics discussed in this section include:
Double Crossing Double Crossing Triangle Routing Triangle Routing Solution Solution
![Page 23: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/23.jpg)
TCP/IP Protocol Suite 23
Figure 24.9 Double crossing
![Page 24: Chapter 24](https://reader036.vdocuments.us/reader036/viewer/2022081420/56812c73550346895d91105b/html5/thumbnails/24.jpg)
TCP/IP Protocol Suite 24
Figure 24.10 Triangle routing