SlideShare a Scribd company logo
1 of 19
IP PACKET DELIVERY
SOURABH KUMAR
(ECE)
1
MOBILE IP TERMINOLOGY
 MOBILE NODE (MN): A mobile node is an end-system or router that can change its point of
attachment to the internet using mobile IP.
 The MN keeps its IP address and can continuously communicate with any other system in the
internet as long as link-layer connectivity is given.
 Correspondent Node (CN): communication partner
 Home Network: The home network is the subnet the MN belongs to with respect to its IP address.
No mobile IP support is needed within the home network.
2
MOBILE IP TERMINOLOGY
 Home Agent (HA): router in the home network of the MN, which registers the location of the MN,
tunnels IP datagrams to the COA when MN is away from home.
 Foreign Network: The foreign network is the current subnet the MN visits and which is not the home
network
 Foreign Agent (FA): router in the current visited network of the MN, which forwards the tunneled
datagrams to the MN, also acts as the default router for the registered MN.
 FA can also provide security services because they belong to the foreign network as opposed to the MN
which is only visiting.
3
MOBILE IP TERMINOLOGY
 Care Of Address (COA): The COA defines the current location of the MN from an IP point of view.
 Foreign Agent COA: The COA could be located at the FA, i.e., the COA is an IP address of the FA.
 The FA is the tunnel end-point and forwards packets to the MN.
 Many MN using the FA can share this COA as common COA.
 Co-LOCated COA: The COA is co-lOCated if the MN temporarily acquires an additional IP address
which acts as COA. CO-LOCATED ADDRESSES CAN BE ACQUIRED USING SERVICES LIKE DHCP
(DYNAMIC HOST CONFIGURATION PROTOCOL)
4
IP PACKET DELIVERY 5
IP PACKET DELIVERY(STEP1)
 One of the requirements of mobile IP was to support hiding the mobility of the MN. CN does not need to
know anything about the MN’s current location and sends the packet as usual to the IP address of MN. This
means that CN sends an IP packet with MN as a destination address and CN as a source address. The
internet, not having information on the current location of MN, routes the packet to the router responsible
for the home network of MN. This is done using the standard routing mechanisms of the internet.
6
IP PACKET DELIVERY(STEP2)
 The HA now intercepts the packet, knowing that MN is currently not in its home network. The packet is not
forwarded into the subnet as usual, but encapsulated and tunneled to the COA. A new header is put in front
of the old IP header showing the COA as new destination and HA as source of the encapsulated packet
7
IP PACKET DELIVERY(STEP3)
 The foreign agent now decapsulates packet, i.e., removes the additional header, and forwards the original
packet with CN as source and MN as destination to the MN. Again, for the MN mobility is not visible. It
receives the packet with the same sender and receiver address as it would have done in the home network.
8
IP PACKET DELIVERY(STEP4)
 The IP datagram from MN to CN travels directly across the network, using CN’s IP address as the
destination address AND MN’S ADDDRESS(FIXED IP ADDRESS) AS SOURCE ADDRESS AS
USUALLY IT DOES.
9
AGENT ADVERTISEMENT
 One initial problem of an MN after moving is how to find a foreign agent. How does the MN discover
that it has moved? For this purpose mobile IP describes two methods: agent advertisement and agent
solicitation.
 THERE ARE THREE MAIN STEPS TO DISCOVER AND REGISTER:
 Discovery - A mobile node uses a discovery procedure to identify prospective home agents and foreign
agents.
 Registration - A mobile node uses a registration procedure to inform its home agent of its care-of
address.
 Tunneling - Tunneling procedure is used to forward IP datagrams from a home address to a care of
address.
10
AGENT ADVERTISEMENT
 foreign agents and home agents advertise their presence periodically using special agent advertisement
messages.
 An agent advertisement message has one or more care-of-addresses and a flag indicating whether it is a
home agent or foreign agent.
 For these advertisements Internet control message protocol (ICMP) messages are used with some mobility
extensions.
 The agent advertisement packet with the extension for mobility is shown IN NEXT SLIDE. The upper part
represents the ICMP packet while the lower part is the extension needed for mobility.
11
AGENT ADVERTISEMENT 12
Mobile-IP extension
 Type = 16
 Length = number of COA provided with the message. It is equal to 6+4*(no. of addresses)
 Registration lifetime = maximum lifetime specified by the agent in seconds which the node can request
during registration.
 Sequence No. = total no. of advertisements sent during initialization.
 The flags after registration lifetime explain the features of advertisement. They are described as:
 R-bit: registration with this agent is required even when the mobile node uses a collocated COA.
13
Mobile-IP extension
 B-bit: The Foreign agent is busy to take any registrations
 H-bit: Agentis home agent
 F-bit: Agent is foreign agent
 M-bit: Minimal encapsulation is used for encapsulation
 G-bit: Generic routing encapsulation is used
 r-bit: was initially set to V in first version of mobile IP (RFC 2002) suggested use of header compression
and should be ignored.
 T-bit: reverse tunneling.
 The foreign agent should advertise at least one CoA.
14
Agent advertisement
 Allows for the detection of mobility agents
 Lists one or more available care-of addresses
 Informs the mobile node about special features
 Mobile node selects its care-of address
 Mobile node checks whether the agent is a home agent or foreign agent
 Once the care-of-address is achieved the mobile node registers it with its Home agent and informs
about the current location where the packets intended for it can be forwarded.
15
Registering the care-of-address
 If the mobile node travels to a foreign network, it registers with the foreign agent by sending a registration
request message which includes the permanent IP address of the mobile host and the IP address of its home
agent.
 The foreign agent in turn performs the registration process on behalf of the mobile host by sending a
registration request containing the permanent IP address of the mobile node and the IP address of the
foreign agent to the home agent.
 When the home agent receives the Registration Request, it updates the mobility binding by associating the
care-of-address of the mobile node with its home address.
16
Registering the care-of-address
 The home agent then sends an acknowledgement to the foreign agent.
 The foreign agent in turn updates its visitors list by inserting the entry for the mobile node and relays the
reply to the mobile node
17
Registering the care-of-address 18
THANK YOU
19

More Related Content

What's hot (20)

Gprs architecture
Gprs architectureGprs architecture
Gprs architecture
 
Leach protocol
Leach protocolLeach protocol
Leach protocol
 
Ip packet delivery
Ip packet deliveryIp packet delivery
Ip packet delivery
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Routing in Mobile Ad hoc Networks
Routing in Mobile Ad hoc NetworksRouting in Mobile Ad hoc Networks
Routing in Mobile Ad hoc Networks
 
Routing Protocols in WSN
Routing Protocols in WSNRouting Protocols in WSN
Routing Protocols in WSN
 
Signalling Techniques & Basics of CCS
Signalling Techniques & Basics of CCSSignalling Techniques & Basics of CCS
Signalling Techniques & Basics of CCS
 
UMTS, Introduction.
UMTS, Introduction.UMTS, Introduction.
UMTS, Introduction.
 
Spread spectrum
Spread spectrumSpread spectrum
Spread spectrum
 
Cdma
CdmaCdma
Cdma
 
ipgoals,assumption requirements
ipgoals,assumption requirementsipgoals,assumption requirements
ipgoals,assumption requirements
 
Demand Assigned Multiple Access
Demand Assigned Multiple AccessDemand Assigned Multiple Access
Demand Assigned Multiple Access
 
GSM Traffic Cases
GSM Traffic CasesGSM Traffic Cases
GSM Traffic Cases
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
Rake Receiver
Rake ReceiverRake Receiver
Rake Receiver
 
GSM channels
GSM channelsGSM channels
GSM channels
 
Mobile ipv6
Mobile ipv6Mobile ipv6
Mobile ipv6
 
Tracking Radar
Tracking RadarTracking Radar
Tracking Radar
 
Signals and Antennas in mobile computing
Signals and Antennas in mobile computingSignals and Antennas in mobile computing
Signals and Antennas in mobile computing
 
Paging and Location Update
Paging and Location UpdatePaging and Location Update
Paging and Location Update
 

Similar to Ip packet delivery (20)

Mobile ip group_3
Mobile ip group_3Mobile ip group_3
Mobile ip group_3
 
Mobile internet protocol
Mobile internet protocolMobile internet protocol
Mobile internet protocol
 
IT8602 - Mobile Communication Unit IV
IT8602 - Mobile Communication   Unit IV IT8602 - Mobile Communication   Unit IV
IT8602 - Mobile Communication Unit IV
 
Mobileip 161105154557
Mobileip 161105154557Mobileip 161105154557
Mobileip 161105154557
 
Mobileip 161105154557
Mobileip 161105154557Mobileip 161105154557
Mobileip 161105154557
 
IT6601 Mobile Computing Unit II
IT6601 Mobile Computing Unit IIIT6601 Mobile Computing Unit II
IT6601 Mobile Computing Unit II
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Mobile IP
Mobile IP Mobile IP
Mobile IP
 
Unit 2
Unit 2Unit 2
Unit 2
 
Report
ReportReport
Report
 
Mobility And Mobile I Pv4
Mobility And Mobile I Pv4Mobility And Mobile I Pv4
Mobility And Mobile I Pv4
 
Unit 3
Unit 3Unit 3
Unit 3
 
Mobile network layer (mobile comm.)
Mobile network layer (mobile comm.)Mobile network layer (mobile comm.)
Mobile network layer (mobile comm.)
 
Mobile computing Unit III MANET Notes
Mobile computing Unit III MANET NotesMobile computing Unit III MANET Notes
Mobile computing Unit III MANET Notes
 
It2402 mobile communication unit 4
It2402 mobile communication unit 4It2402 mobile communication unit 4
It2402 mobile communication unit 4
 
mobile ip, Mobile COmmunication Internet Protocol
mobile ip, Mobile COmmunication Internet Protocolmobile ip, Mobile COmmunication Internet Protocol
mobile ip, Mobile COmmunication Internet Protocol
 
Mobile computing - SARASWATHI RAMALINGAM
Mobile computing - SARASWATHI RAMALINGAMMobile computing - SARASWATHI RAMALINGAM
Mobile computing - SARASWATHI RAMALINGAM
 
Unit 4 MC QA.pdf
Unit 4 MC  QA.pdfUnit 4 MC  QA.pdf
Unit 4 MC QA.pdf
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 

More from SOURABH KUMAR

Instruction scheduling
Instruction schedulingInstruction scheduling
Instruction schedulingSOURABH KUMAR
 
How to give feedback
How to give feedbackHow to give feedback
How to give feedbackSOURABH KUMAR
 
What to do in interview
What to do in interviewWhat to do in interview
What to do in interviewSOURABH KUMAR
 
Common questions for Interview
Common questions for InterviewCommon questions for Interview
Common questions for InterviewSOURABH KUMAR
 
Human resources management and planning
Human resources management and planningHuman resources management and planning
Human resources management and planningSOURABH KUMAR
 

More from SOURABH KUMAR (8)

Instruction scheduling
Instruction schedulingInstruction scheduling
Instruction scheduling
 
How to give feedback
How to give feedbackHow to give feedback
How to give feedback
 
What to do in interview
What to do in interviewWhat to do in interview
What to do in interview
 
Common questions for Interview
Common questions for InterviewCommon questions for Interview
Common questions for Interview
 
Job design
Job designJob design
Job design
 
Job Analysis
Job AnalysisJob Analysis
Job Analysis
 
Human resources management and planning
Human resources management and planningHuman resources management and planning
Human resources management and planning
 
Rf module
Rf moduleRf module
Rf module
 

Recently uploaded

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxNANDHAKUMARA10
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 

Recently uploaded (20)

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 

Ip packet delivery

  • 2. MOBILE IP TERMINOLOGY  MOBILE NODE (MN): A mobile node is an end-system or router that can change its point of attachment to the internet using mobile IP.  The MN keeps its IP address and can continuously communicate with any other system in the internet as long as link-layer connectivity is given.  Correspondent Node (CN): communication partner  Home Network: The home network is the subnet the MN belongs to with respect to its IP address. No mobile IP support is needed within the home network. 2
  • 3. MOBILE IP TERMINOLOGY  Home Agent (HA): router in the home network of the MN, which registers the location of the MN, tunnels IP datagrams to the COA when MN is away from home.  Foreign Network: The foreign network is the current subnet the MN visits and which is not the home network  Foreign Agent (FA): router in the current visited network of the MN, which forwards the tunneled datagrams to the MN, also acts as the default router for the registered MN.  FA can also provide security services because they belong to the foreign network as opposed to the MN which is only visiting. 3
  • 4. MOBILE IP TERMINOLOGY  Care Of Address (COA): The COA defines the current location of the MN from an IP point of view.  Foreign Agent COA: The COA could be located at the FA, i.e., the COA is an IP address of the FA.  The FA is the tunnel end-point and forwards packets to the MN.  Many MN using the FA can share this COA as common COA.  Co-LOCated COA: The COA is co-lOCated if the MN temporarily acquires an additional IP address which acts as COA. CO-LOCATED ADDRESSES CAN BE ACQUIRED USING SERVICES LIKE DHCP (DYNAMIC HOST CONFIGURATION PROTOCOL) 4
  • 6. IP PACKET DELIVERY(STEP1)  One of the requirements of mobile IP was to support hiding the mobility of the MN. CN does not need to know anything about the MN’s current location and sends the packet as usual to the IP address of MN. This means that CN sends an IP packet with MN as a destination address and CN as a source address. The internet, not having information on the current location of MN, routes the packet to the router responsible for the home network of MN. This is done using the standard routing mechanisms of the internet. 6
  • 7. IP PACKET DELIVERY(STEP2)  The HA now intercepts the packet, knowing that MN is currently not in its home network. The packet is not forwarded into the subnet as usual, but encapsulated and tunneled to the COA. A new header is put in front of the old IP header showing the COA as new destination and HA as source of the encapsulated packet 7
  • 8. IP PACKET DELIVERY(STEP3)  The foreign agent now decapsulates packet, i.e., removes the additional header, and forwards the original packet with CN as source and MN as destination to the MN. Again, for the MN mobility is not visible. It receives the packet with the same sender and receiver address as it would have done in the home network. 8
  • 9. IP PACKET DELIVERY(STEP4)  The IP datagram from MN to CN travels directly across the network, using CN’s IP address as the destination address AND MN’S ADDDRESS(FIXED IP ADDRESS) AS SOURCE ADDRESS AS USUALLY IT DOES. 9
  • 10. AGENT ADVERTISEMENT  One initial problem of an MN after moving is how to find a foreign agent. How does the MN discover that it has moved? For this purpose mobile IP describes two methods: agent advertisement and agent solicitation.  THERE ARE THREE MAIN STEPS TO DISCOVER AND REGISTER:  Discovery - A mobile node uses a discovery procedure to identify prospective home agents and foreign agents.  Registration - A mobile node uses a registration procedure to inform its home agent of its care-of address.  Tunneling - Tunneling procedure is used to forward IP datagrams from a home address to a care of address. 10
  • 11. AGENT ADVERTISEMENT  foreign agents and home agents advertise their presence periodically using special agent advertisement messages.  An agent advertisement message has one or more care-of-addresses and a flag indicating whether it is a home agent or foreign agent.  For these advertisements Internet control message protocol (ICMP) messages are used with some mobility extensions.  The agent advertisement packet with the extension for mobility is shown IN NEXT SLIDE. The upper part represents the ICMP packet while the lower part is the extension needed for mobility. 11
  • 13. Mobile-IP extension  Type = 16  Length = number of COA provided with the message. It is equal to 6+4*(no. of addresses)  Registration lifetime = maximum lifetime specified by the agent in seconds which the node can request during registration.  Sequence No. = total no. of advertisements sent during initialization.  The flags after registration lifetime explain the features of advertisement. They are described as:  R-bit: registration with this agent is required even when the mobile node uses a collocated COA. 13
  • 14. Mobile-IP extension  B-bit: The Foreign agent is busy to take any registrations  H-bit: Agentis home agent  F-bit: Agent is foreign agent  M-bit: Minimal encapsulation is used for encapsulation  G-bit: Generic routing encapsulation is used  r-bit: was initially set to V in first version of mobile IP (RFC 2002) suggested use of header compression and should be ignored.  T-bit: reverse tunneling.  The foreign agent should advertise at least one CoA. 14
  • 15. Agent advertisement  Allows for the detection of mobility agents  Lists one or more available care-of addresses  Informs the mobile node about special features  Mobile node selects its care-of address  Mobile node checks whether the agent is a home agent or foreign agent  Once the care-of-address is achieved the mobile node registers it with its Home agent and informs about the current location where the packets intended for it can be forwarded. 15
  • 16. Registering the care-of-address  If the mobile node travels to a foreign network, it registers with the foreign agent by sending a registration request message which includes the permanent IP address of the mobile host and the IP address of its home agent.  The foreign agent in turn performs the registration process on behalf of the mobile host by sending a registration request containing the permanent IP address of the mobile node and the IP address of the foreign agent to the home agent.  When the home agent receives the Registration Request, it updates the mobility binding by associating the care-of-address of the mobile node with its home address. 16
  • 17. Registering the care-of-address  The home agent then sends an acknowledgement to the foreign agent.  The foreign agent in turn updates its visitors list by inserting the entry for the mobile node and relays the reply to the mobile node 17