Professional Documents
Culture Documents
IP
Machines are uniquely identified by IP address. IP machines are fixed in a network or can be portable or nomadic Classless addressing & Classful addressing
IP
IP Address Functions: Network Interface Identification: Like a street address, the IP address provides unique identification of the interface between a device and the network. This is required to ensure that the datagram is delivered to the correct recipients.
Routing: When the source and destination of an IP datagram are not on the same network, the datagram must be delivered indirectly using intermediate systems, a process called routing.
Class A, B and C addresses are divided into 2 parts: Netid and Hostid.
Socket
TCP establishes a connection between two a applications . Socket is a combination of IP address and the port number. If we have a Web site running on IP address 41.199.222.3, the socket corresponding to the HTTP server for that site would be 41.199.222.3:80.
8
TCP/IP
10
Mobile IP
Mobile IP provides users the freedom to roam beyond their home subnet while consistently maintaining their home IP address. This enables transparent routing of IP data grams to mobile users during their movement, so that data sessions can be initiated to them while they roam
11
Mobile IP
Mobile IP was developed as a means for transparently dealing with problems of mobile users Enables hosts to stay connected to the Internet regardless of their location Enables hosts to be tracked without needing to change their IP address Requires no changes to software of non-mobile hosts/routers Requires addition of some infrastructure Has no geographical limitations Requires no modifications to IP addresses or IP address format Supports security
Could be even more important than physically connected routing
12
Mobile IP Entities
Mobile Node (MN)
The entity that may change its point of attachment from network to network in the Internet
Detects it has moved and registers with best FA
Assigned a permanent IP called its home address to which other hosts send packets regardless of MNs location
Since this IP doesnt change it can be used by long-lived applications as MNs location changes
13
Care-of-address (COA)
Address which identifies MNs current location Sent by FA to HA when MN attaches Usually the IP address of the FA
15
16
17
18
Registration
When MN is away, it registers its COA with its HA
Typically through the FA with strongest signal
Registration control messages are sent via UDP to well known port
Encapsulation just like standard IP only with COA Decapsulation again, just like standard IP
CS 640 19
Discovery
Mobile node is responsible for ongoing discovery process
Must determine if it is attached to its home network or a foreign network
Transition from home network to foreign network can occur at any time without notification to the network layer Mobile node listens for agent advertisement messages
Compares network portion of the router's IP address with the network portion of home address
Agent Solicitation
Foreign agents are expected to issue agent advertisement messages periodically If a mobile node needs agent information immediately, it can issue ICMP router solicitation message
Any agent receiving this message will then issue an agent advertisement
Registration Process
Mobile node sends registration request to foreign agent requesting forwarding service Foreign agent relays request to home agent Home agent accepts or denies request and sends registration reply to foreign agent Foreign agent relays reply to mobile node
23
CS 640
24
Mobile IP Operation
A MN listens for agent advertisement and then initiates registration
If responding agent is the HA, then mobile IP is not necessary
After receiving the registration request from a MN, the HA acknowledges and registration is complete
Registration happens as often as MN changes networks
CS 640
25
Registration Process
CS 640
26
Visitor List
Maintained on FA serving an MN Maps MNs home address to its MAC address and HA address
CS 640
27
FA decapsulates all packets addressed to MN and forwards them via hardware address (learned as part of registration process)
CS 640
28
Tunneling
Home agent intercepts IP datagrams sent to mobile node's home address
Home agent informs other nodes on home network that datagrams to mobile node should be delivered to home agent
Minimal encapsulation new header is inserted between original IP header and original IP payload
Original IP header modified to form new outer IP header
Mobile IP Tunneling
Across Internet
CS 640
31
32
33
Questions
Q1. Distinguish between mobile and nomadic user. Q2. List and briefly define the capabilities provided by mobile IP.
34
Answers
Q1 A mobile user is connected to one or more applications across the Internet such that the user's point of attachment changes dynamically, and that all connections are automatically maintained despite the change. For a nomadic user, the user's Internet connection is terminated each time the user moves and a new connection is initiated when the user dials back in.
Q2. Discovery: A mobile node uses a discovery procedure to identify prospective home agents and foreign agents. Registration: A mobile node uses an authenticated registration procedure to inform its home agent of its care-of address. Tunneling: Tunneling is used to forward IP datagrams from a home address to a care-of address
35