Step translation method of IPv4 address and port multiplexing

Step translation method of IPv4 address and port multiplexing

  • CN 101,616,192 B
  • Filed: 07/16/2009
  • Issued: 01/01/2014
  • Est. Priority Date: 07/16/2009
  • Status: Active Grant
First Claim
Patent Images

1. IPv4 the step translation method of address and multiplexed port, is characterized in that, contains successively following steps:

  • Step (1) initializationStep (1.1) is set up an IVI transfer gateway between IPv4 and IPv6 network, and definition first kind coded format;

    the coded format that the IPv4 address is directly embedded to the IPv6 address, form an IPv6 address, 32+n position in described IPv6 address format in operator based on 32 cluster prefixes embeds 32 IPv4 addresses, 0<

    n<

    32, between 64+n to 128, spare bits is filled full 0 simultaneously, wherein;

    when described IPv4 address be described operator prepare to use to the IPv6 main frame the IPv4 address time, form the IVI6 address, when described IPv4 address is to comprise described operator oneself in interior global ip v4 address, while not belonging to again the IPv4 address of described IPv6 main frame, form the IVIG6 address, described IVI6 and IVIG6 are referred to as the IVI address and form thus two-way mapping relations one to one between the subsets of described IPv4 address and IPv6 address,Step (1.2) is set up IPv6/IPv6 multiplexed port address conversion gateway between IPv6 backbone network and IPv6 Campus Networks, and definition Equations of The Second Kind coded format;

    the IPv4 address is added to the coded format that the transport layer port coding embeds the IPv6 address, 32+n position in the described IPv6 geocoding form based on 32 cluster prefixes of operator embeds 32 IPv4 addresses, 0<

    n<

    32, form the IVI prefix, when filling full 0 between 96 of 64+n to the during if any spare bits, embed address multiplex at the 96th to 111 and compare M, embed port shift value k at the 112nd to 128, 0≤

    k≤

    M-1, described M mean a described IPv4 address by IPv6/IPv6 multiplexed port address conversion gateway simultaneously for the computer number of a plurality of IPv6 computers,Step (1.3) defines different IPv4 address multiplex ratios for different Campus Networks, and according to the service condition of user'"'"'s IPv6 address, according to IVI6 address and specific port range, and set up mapping relations one to one between the IPv6 address that the user uses, be the user with the IPv4 internet communication time, can only use specific port range;

    Step (2) IPv4 computer is to IPv6 computer initiating communication, the address that wherein source address is the IPv4 computer, and the IPv4 mirror image of the IPv6 address that destination address is the IPv6 computer, its port is that described IPv6 computer allows the port used;

    Step (3);

    described IVI transfer gateway receives grouping, successively execution step (3.1)-step (3.4);

    Step (3.1);

    destination address is the IPv4 address transition IVI6 address by step (1.1) by the first kind coded format of setting,Step (3.2);

    the first kind coded format that described source address is set by step (1.1) is the IPv4 address transition IVIG6 address,Step (3.3);

    press RFC2765 and carry out other handling procedure except address transition, and recalculate the transport layer verification and, thereby form described IPv6, divide into groups;

    Step (3.4);

    the IPv6 grouping of the first kind coded format formed to IPv6/IPv6 transfer gateway forwarding step (3.3);

    Step (4);

    after IPv6/IPv6 multiplexed port address conversion gateway is received the described IPv6 grouping of step (3.4) transmission, below executionStep (4.1)-step (4.3), the IPv6 that forms the Equations of The Second Kind coded format divides into groups and sends,Step (4.1);

    the IPv6 address that is the IPv6 address transition of the first kind coded format Equations of The Second Kind coded format according to destination address and target port;

    Step (4.2);

    recalculate the transport layer verification and, and form the IPv6 grouping;

    Step (4.3);

    divide into groups to IPv6 described in described IPv6 computer forwarding step (4.2);

    Step (5);

    described IPv6 computer receives grouping;

    Step (6);

    described IPv6 computer sends the IPv6 grouping to the IPv4 computer, the address that wherein the source address address is the IPv6 computer, source port is that described IPv6 computer allows the source port used, the mirror image of the IPv4 address that destination address is the IPv4 computer, i.e. IVIG6 address;

    Step (7);

    described IPv6/IPv6 transfer gateway receives the IPv6 grouping, forms according to the following steps new IPv6 grouping,Step (7.1);

    the checking source port, as meet corresponding port range, execution step (7.1), otherwise abandon grouping, return to step (7);

    Step (7.2);

    the IPv6 address that is the IPv6 address transition of Equations of The Second Kind coded format first kind coded format;

    Step (7.3);

    recalculate the transport layer verification and and form IPv6 grouping,Step (7.4);

    divide into groups to the IPv6 described in described IVI transfer gateway forwarding step (7.3);

    Step (8);

    the IVI transfer gateway receives the described IPv6 grouping that IPv6 grouping step (7.3) sends, and form IPv4 by following steps (8.1)-step (8.3) and divide into groups and send,Step (8.1);

    the IPv6 geocoding format conversion that described destination address is set by step (1.1) is the IPv4 address,Step (8.2);

    the IPv6 geocoding format conversion that described source address is set by step (1.1) is the IPv4 address,Step (8.3);

    press RFC2765 and carry out other handling procedure except address transition, and recalculate the transport layer verification and, thereby form described IPv4, divide into groups;

    Step (8.4);

    the IPv4 grouping formed to IPv4 computer forwarding step (8.3);

    Step (9);

    the IPv4 grouping that described IPv4 computer receiving step (8.4) sends.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×