SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Traffic-adaptive Medium Access Protocol
Traffic-adaptive Medium Access ProtocolTraffic-adaptive Medium Access Protocol
Traffic-adaptive Medium Access ProtocolGaurav Chauhan
 
Multiple access techniques for wireless communication
Multiple access techniques for wireless communicationMultiple access techniques for wireless communication
Multiple access techniques for wireless communicationDr.Umadevi V
 
Agent discovery& registration
Agent discovery& registrationAgent discovery& registration
Agent discovery& registrationrajisri2
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCPVishal Tandel
 
Signaling system 7 (ss7)
Signaling system 7 (ss7)Signaling system 7 (ss7)
Signaling system 7 (ss7)usman zulfqar
 
Key mechanism of mobile ip
Key mechanism of mobile ip Key mechanism of mobile ip
Key mechanism of mobile ip priya Nithya
 
Energy consumption of wsn
Energy consumption of wsnEnergy consumption of wsn
Energy consumption of wsnDeepaDasarathan
 
MANET in Mobile Computing
MANET in Mobile ComputingMANET in Mobile Computing
MANET in Mobile ComputingKABILESH RAMAR
 
4 g LTE, LTE Advance
4 g LTE, LTE Advance 4 g LTE, LTE Advance
4 g LTE, LTE Advance Sajid Marwat
 
Adhoc and Sensor Networks - Chapter 03
Adhoc and Sensor Networks - Chapter 03Adhoc and Sensor Networks - Chapter 03
Adhoc and Sensor Networks - Chapter 03Ali Habeeb
 

Tendances (20)

HANDOFF
HANDOFFHANDOFF
HANDOFF
 
Traffic-adaptive Medium Access Protocol
Traffic-adaptive Medium Access ProtocolTraffic-adaptive Medium Access Protocol
Traffic-adaptive Medium Access Protocol
 
Multiple access techniques for wireless communication
Multiple access techniques for wireless communicationMultiple access techniques for wireless communication
Multiple access techniques for wireless communication
 
Agent discovery& registration
Agent discovery& registrationAgent discovery& registration
Agent discovery& registration
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCP
 
Signaling system 7 (ss7)
Signaling system 7 (ss7)Signaling system 7 (ss7)
Signaling system 7 (ss7)
 
Hiperlan
HiperlanHiperlan
Hiperlan
 
Cell Planning
Cell PlanningCell Planning
Cell Planning
 
Key mechanism of mobile ip
Key mechanism of mobile ip Key mechanism of mobile ip
Key mechanism of mobile ip
 
Energy consumption of wsn
Energy consumption of wsnEnergy consumption of wsn
Energy consumption of wsn
 
Mobile Transport layer
Mobile Transport layerMobile Transport layer
Mobile Transport layer
 
MANET in Mobile Computing
MANET in Mobile ComputingMANET in Mobile Computing
MANET in Mobile Computing
 
Transport layer
Transport layerTransport layer
Transport layer
 
4 g LTE, LTE Advance
4 g LTE, LTE Advance 4 g LTE, LTE Advance
4 g LTE, LTE Advance
 
Mobile network layer (mobile comm.)
Mobile network layer (mobile comm.)Mobile network layer (mobile comm.)
Mobile network layer (mobile comm.)
 
Adhoc and Sensor Networks - Chapter 03
Adhoc and Sensor Networks - Chapter 03Adhoc and Sensor Networks - Chapter 03
Adhoc and Sensor Networks - Chapter 03
 
Architecture of 5G
Architecture of 5GArchitecture of 5G
Architecture of 5G
 
Mobile Communication
Mobile CommunicationMobile Communication
Mobile Communication
 
WLAN
WLANWLAN
WLAN
 
Rf optimization
Rf optimizationRf optimization
Rf optimization
 

Similaire à Ip packet delivery

Similaire à 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
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
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 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
 
Performance of Various Mobile IP Protocols and Security Considerations
Performance of Various Mobile IP Protocols and Security ConsiderationsPerformance of Various Mobile IP Protocols and Security Considerations
Performance of Various Mobile IP Protocols and Security Considerations
 

Plus de 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
 

Plus de 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
 

Dernier

chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
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
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 

Dernier (20)

chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
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
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 

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