Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique...
-
Upload
roger-ramsey -
Category
Documents
-
view
214 -
download
1
Transcript of Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique...
![Page 1: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/1.jpg)
Mobile IP
Add it into TCP/IP implementation
![Page 2: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/2.jpg)
Wireless communication techniques
Wireless technique
Distance Transfer
rate
Frequency
Bluetooth
802.15 (WPAN)
10 m 3M bps 2.4 GHz
Wi-Fi (WLAN)
802.11
150 m 54 Mbps
WiMAX
802.16 (WMAN)
50 km for fixed station
5-15 km for mobile one
30 Mbps-
75 Mbps?
2-66 GHz
2-11 GHz?
3G (W-CDMA, TD-SCDMA,...)
384 Kbps-14 Mbps
OFDM-MIMO
![Page 3: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/3.jpg)
1. Introduction
Discuss IP address and routing for mobile host(MH).
• MH moves from one network to another ---> its IP address and routing change
• MH moves within wireless LAN ---> its IP address and routing don’t change
Changing an address is time-consuming, requires
rebooting computer, and breaks all existing TCP
connections
![Page 4: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/4.jpg)
Wireless net Wireless net
CELL CELL R—router H—stationary hosts AP—Access Point MH—mobile host RSR—Roam Supervisor Router
Internet
RHH
RSRAP
MH MH
R Network
R H
AP
MH MH
RSR
![Page 5: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/5.jpg)
2. Mobile IP and some concepts
IETF devised mobile IP, a solution to the mobility
problem. • Transparency.
Applications always use MH’s home address. All open TCP connections survive a change in network
• Interoperability with IPv4
MH can interoperate with stationary hosts that run conventional IPv4 software
![Page 6: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/6.jpg)
• home net. : the network on which MH registers• foreign net. :• home address : IP address obtained on home net.
It is permanent and fixed. Applications use it • care-of address : IP address obtained at foreign
net. It is temporary (variable). IP layer uses it.• home agent : a router on home net. It agree to int
ercept and tunnel datagrams to MH. • foreign agent :
Concepts:
![Page 7: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/7.jpg)
I nternet ①
移动 HA—Home Agent A-- 移动主机 R— Router H—固定主机
移动 I Pv4的工作原理示例
B
HA H
R A
FA H
AP
A
![Page 8: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/8.jpg)
Internet ①
move
HA—home agent A—mobi l e host R— router H—fixed host
Principle of mobi le IPv6
B
HAH
RA
R H
AP
A
![Page 9: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/9.jpg)
3. Overview of mobile IP operation
1) MH finds that itself moves to a foreign network
2) MH obtains a care-of address from FA
3) MH(FA) informs HA of its care-of address
4) HA intercepts datagrams sent to the MH’ home address, and tunnel each datagram to the care-of address
5) when MH returns home, it contact HA to deregister
The issues to be solved are 1), 2), 4)
![Page 10: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/10.jpg)
4. Foreign agent discovery --- for 1)
MH uses ICMP router discovery mechanism to find that itself moves to a foreign network. Recall:
• routers periodically send ICMP router advertisement messages to all nodes on the net.
• a host can send an ICMP router solicitation to prompt for an advertisement:
![Page 11: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/11.jpg)
1) Foreign agent discovery
MH has a default router.
If MH receives an ICMP router advertisement
message from other router, it know that itself moves
to a foreign network.
To confirm it, MH can send an ICMP router
solicitation message to ?HA and waits for a reply
FA
![Page 12: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/12.jpg)
2) Agent registration
MH send registrations request to FA, which then contacts HA on its behalf.
Registration message includes:
{ home address, care-of address, HA, …}
FA
![Page 13: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/13.jpg)
5. Obtains a care-of address --- for 2)
Router advertisement message piggybacks
additional information known as a mobility agent
extension which includes care-of addresses :
In practice, there are two types of care-of addresses• foreign agent care of address IPv4• co-located care-of address IPv6
Care-of address
![Page 14: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/14.jpg)
• Foreign agent care of address is one of FA’ IP addresses so that MH doesn’t consume IP address.
• Co-located care-of address is a new IP address allocated to MH by DHCP.
It requires MH to handle all forwarding itself.
![Page 15: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/15.jpg)
Internet ① 移动
B
HA H
R A
FA H
AP
A
6. Datagram transmission and reception--- for 4)
IPA IPB
Send
?
![Page 16: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/16.jpg)
The mobile creates a datagram that has destination computer’s address in the destination field and the mobile’s home address in the source field.
IPB
shortest path
1) MH sends datagram
![Page 17: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/17.jpg)
⑥ Internet ①
移动
B
HAH
RA
FA H
AP
A
IPB IPA
IPB IPA IPHA IPFA
IPB IPA
Receive
![Page 18: Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth 802.15 (WPAN)](https://reader035.fdocuments.net/reader035/viewer/2022080915/56649e0e5503460f94af848c/html5/thumbnails/18.jpg)
• Datagram will travel to the mobile’s home network. • HA intercepts the datagram and uses IP-in-IP encap
sulation to tunnel the datagram to the care-of address
• FA decapsulates the datagram and transmit the datagram to the mobile.
FAHA
2) MH receives datagram