Difference between revisions of "GSOC2017MobileIp"

From Nsnam
Jump to: navigation, search
(Project overview)
(July 26 - August 1)
Line 167: Line 167:
 
=== July 26 - August 1 ===
 
=== July 26 - August 1 ===
  
1. Send the MIPv6 code for review.
+
Finalize the MIPv6 code for review. I have added two nice tests replacing the previous tests, further update the mipv6 doc, trace sources, attributes, examples.
 +
The codes are documented highly. Now the /doc/models/build/html dir contains the model documentation and the /doc/html creates doxygen for the mipv6 module.
  
2. Try to fix the data sending issue in LTE IPv6 part.
+
=== August 2 - August 8 ===
  
3. Also fix any issue in the mipv6 model, sent by the reviewers.
+
1. Send the MIPv6 code for review
 +
 
 +
2. Complete LTE IPv6 part
 +
 
 +
3. Send the LTE IPv6 implementation part for review

Revision as of 07:54, 2 August 2017

Main Page - Current Development - Developer FAQ - Tools - Related Projects - Project Ideas - Summer Projects

Installation - Troubleshooting - User FAQ - HOWTOs - Samples - Models - Education - Contributed Code - Papers

Return to GSoC 2017 Accepted Projects page.

Project overview

  • Project name: Mobile IPv6 Implementation with LTE support
  • Abstract: The goal of the project is to implement a novel MIPv6 simulation model which can be integrated into ns-3. The project idea aims at testing the code in different network scenarios, containing different link layer technologies such as Wi-Fi, WiMAX and LTE. The current implementation of LTE does not have support of IPv6 in ns-3. So, the idea of testing MIPv6 code into LTE would follow IPv6 support implementation in LTE first and then the MIPv6 support. Thus, implementation of MIPv6 in ns-3 as the base mobility management solution and providing LTE support within it could help the current network researchers working on ns-3.
  • Documentation:
  1. Detail Description about the Implementation: http://www.sciencedirect.com/science/article/pii/S1569190X16302714
  2. Phase1 Documentation: https://drive.google.com/file/d/0BziHE2fNAdZRaTBzRDViblVZd3c/view?usp=sharing
  3. Phase2 Documentation: https://drive.google.com/open?id=0BziHE2fNAdZRbUZKN01Bd1Rjdk0

Technical Approach

  1. Code refactoring: reorganizing internetstack, helper and header components of the MIPv6 module through modifying the internal functions, attributes and the callback variables.
  2. Code analysis: both static and dynamic analysis could be performed. The waf tool for code run, PyViz for visualization and tcpdump for pcap tracing could be used.
  3. Functional tests: The functional test would be performed in three phase: handoff performance testing, data packet transmission testing and both. Use cases like multiple mobile nodes, multiple correspondent node, different mobility model for the mobile node as well as heterogeneous link layer technologies (Wi-Fi and WiMAX) could be used.
  4. The code will be sent for the code review to the ns-3 team.
  • Second, IPV6 support for LTE would be ensured as LTE currently, only supports IPv4. The changes would possibly be done within the LTE module files (both .cc and .h) like point-topoint-helper, emu-epc-helper, lte-ue-net-device, epc-sgw-pgw-application, epc-enb-application, lte-enb-net-device etc. Then, the code analysis will be performed as done previously for MIPv6 code. The functional tests would follow bidirectional IPv6 packet transmission between remote host and the UE. The modification/rewriting code will create a patch that could enable IPv6 forwarding in the LTE data plane, enabling the UE to receive and use a /64 prefix, as stated in the standard. It is worth noticing that IP packets are tunnelled in the `core' network (i.e., all the EPC part), and their actual IP address is not used for UE identification in the core. As a consequence, IPv6 use in the `core' network, using ULAs or link-local addresses, could be planned if the previous development is faster than foreseen. This modification could also be simpler than expected, as it is not important to keep a dual stack communication in the core network, and using only IPv6 brings some direct benefits (like simplifying the use of multiple EPCs in a single script).
  • Third, To ensure the code quality, the following testing approach could be used: Test MIPv6 handoff performance with the mixed link layer technologies (combination of Wi-Fi, WiMAX and LTE) case, multiple mobile node case, and multiple correspondent node case.

Deliverables and Plan

Deliverables:

-a basic MIPv6 module, aligned with RFC 6275 following ns-3 coding styles;

-a reviewed patch, fixing the IPv6 support issue in LTE;

-proper documentation and tests for the above-mentioned components.

Plan:

May 4 – May 29 (Before the official coding time):

-Familiarize myself completely with MIPv6, LTE (the IPv4 part), and the respective interactions.

-Study of the customized files of ns-3 lte and internet modules

-Familiarize myself with the ns-3 coding styles

During this period I will remain in constant touch with my mentor and the ns-3 community. I will remain active on IRC and Mailing lists to discuss and finalize on the modifications (if any) that needs to be on existing models and design of new module (if needed to fit cleanly with ns-3)

Thus with the help of my mentor I will become absolutely clear about my future goals, the final MIPv6 implementation that need to be done as well as the approach that I will follow to support IPv6 in lte model.

May 30 – June 26 (Official coding period starts):

-Refactor previous MIPv6 headers to RFC compliance header files

-Refactor all the classes to implement the corresponding header file functions

-Compiling and running the module and fixes the errors/bugs

-Testing the overall working of the newly implemented MIPv6 module in various testing scenarios. The testing will be done with the systems having Wi-Fi and WiMAX link layer technology

-Sending the code for code review to the ns-3 team

After this stage, the standard ns-3 code revision can be started for the MIPv6 code part. Any change requested by the reviewers will be carried out in parallel with the following activities.

June 27 – July 24:

-Define new or, modify existing header files and cc files in LTE module in such a way that LTE module remains backward compatible with IPv4

-Compiling and running the module and fixes the errors/bugs

-Testing the overall working of the LTE module

-Sending the code for code review to the ns-3 team

This will help in testing of the LTE module with IPv6 support for possible merge into the project main tree.

July 25 – August 21:

-Making further changes in the LTE module to support MIPv6 into it. Changes may be required in the other modules of ns-3 also.

-Testing the overall working in the testing scenarios having the combination of Wi-Fi and LTE

-Most of the time will be consumed for rigorous testing and bug fixes.

-Sending the code for code review to the ns-3 team

-Documentation updates.

Weekly Reports

May 30 - June 6

1. Restructuring the MIPv6 code.

2. Testing the code in the multiple Mobile Node case

3. Changing the Home Agent functionality a little bit

4. Arise Tunnel Implementation Issue [how mobile node would use its home address for all of its data communication]

June 7 - June 13

1. Resolved the issue of home address assignment to mobile node for all of its data communication. So, I have made some tricky callbacks in the L4 protocol a little bit. Now, traffic can be directed in both direction i.e. Mobile node to a web server and a web server to a mobile node

2. Also delete a lot of unnecessary files as well as lines in the code.

3. Tests have been done changing the location of different mobility entities. Almost all are successful. Those are included in "mipv6-test1-4.cc" in scratch of https://github.com/manoj24rana/MobileIPv6.

June 14 - June 20

1. Done more tests

2. Add some more features such as defending home address and performing NS handling at HA as described in RFC 6275

3. Find an issue on RFC 6275 i.e. how to defend the mobile node's home address by home agent when it returns to its home network. Try to do something on the basis of ns-3 ipv6 implementation to resolve the issue.

June 21 - June 27

1. Documentation on how my implementation differs from RFC 6275 as well as

2. Resolve the above issue

3. Sending the code for review.

June 28 - July 04

1. Starting LTE IPv6 implementation part: understanding the end-to-end IPv4 part between UE and remote host, decoding it and discuss with my mentor for changing

2. Start writing code, at least one class modification

3. Test the change whether it is right.

July 05 - July 11

1. Complete the modification in the lte module classes and also develop a small IPv6 dealing program to test

2. An issue arise i.e. Address Collision occurs at file: file=../src/internet/model/ ipv6-address-generator.cc, line=484". I am trying to resolve it.

3. Runs the previous IPv4 sample programs, which runs fine.

July 12 - July 18

1. Resolve the IPv6 address collision issue in the LTE IPv6 support part.

2. I face another issue on handling multicast packets between UE sets and pgw i.e. those multicast packets are not passed between them as in the middle there is an enb.

3. Add the Sphinx documentation in the mipv6 module.

4. The Attributes and TraceSources are uploaded in mipv6 git.

July 19 - July 25

1. Making some examples for the main mipv6 repo.

2. Add two tests in the main mipv6 repo.

3. mipv6 doc file further update.

4. Add and change tracesources and some functionalities in mipv6 model.

July 26 - August 1

Finalize the MIPv6 code for review. I have added two nice tests replacing the previous tests, further update the mipv6 doc, trace sources, attributes, examples. The codes are documented highly. Now the /doc/models/build/html dir contains the model documentation and the /doc/html creates doxygen for the mipv6 module.

August 2 - August 8

1. Send the MIPv6 code for review

2. Complete LTE IPv6 part

3. Send the LTE IPv6 implementation part for review