Code Monkey home page Code Monkey logo

map's Introduction

MAP

MAP is an open source CPE implementation of draft-ietf-softwire-map and draft-ietf-softwire-map-t. It runs on Linux and Openwrt.

MAP is a mechanism for transporting IPv4 packets across an IPv6 network using IP translation (MAP-T) or encapsulation (MAP-E), and a generic mechanism for mapping between IPv6 addresses and IPv4 addresses and transport layer ports. It is defined in https://datatracker.ietf.org/doc/draft-ietf-softwire-map/ and https://datatracker.ietf.org/doc/draft-ietf-softwire-map-t/

A typical MAP use case is shown in the Figure below.

                   User N
                Private IPv4
               |  Network
               |
            o--+---------------O
            |  |  MAP CE       |
            | +-----+--------+ |
            | NAPT44|  MAP   | |
            | +-----+      | | |\    ,--------,                        ,~-----------,
            |       +--------+ | \ ,'          '.                    ,'              `,
            O------------------O  /              \   O---------O    /                  \   
                                 |   IPv6 only    |  |   MAP   |   /       Public       \
                                 |    Network     |--+  Border +- (         IPv4         )
                                 |  (MAP Domain)  |  |  Relay  |   \       Network      /
            O------------------O  \              /   O---------O    \                  /
            |    MAP   CE      |  /".          ,'                    `.              ,'
            | +-----+--------+ | /   `----+--'`                         '-----------'
            | NAPT44|  MAP   | |/
            | +-----+        | |
            |   |   +--------+ |
            O---.--------------O
                |
                 User M
              Private IPv4
                Network

Interoperation and Backwards Compatibility

This implementation is used on MAP CE and can be configured with/without NAPT44 function. The interoperation between this implementation and Cisco ASR 1K/9K has been tested successfully with either encapsulation mode or translation mode. See http://blogs.cisco.com/sp/real-world-demonstration-of-map-for-ipv6/ for more details.

Moreover, we have tested the CE implementation in CERNET/CERNET2 environment and the result shows that a unified MAP CE can be configured to support MAP-T, MAP-E, and backward compatible with stateless NAT64, stateful NAT64 and dual-stack lite. Please refer to http://datatracker.ietf.org/doc/draft-xli-softwire-map-testing for further reading.

A Short Instruction on the Usage of MAP

In the repository, the directory 'modules' contains the code for generating the MAP kernel module, while the directory 'utils' contains an utility to configure MAP parameters. You can read 'readme' for the detailed usage of the utility.

As four examples, script files 'zyhgw-T44' and 'zyhgw-T' show how to configure the translation mode with/without NAT44; while 'zyhgw-E44' and 'zyhgw-E' show how to configure the encapsulation mode with/without NAT44. To stop the module, just execute the script file 'stopall'.

map's People

Contributors

cernet avatar

Watchers

Diego Pino avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.