Internet Area WG INTERNET-DRAFT C.V Sreeraj Intended Status: Proposed Standard Expires: October 4, 2012 April 2, 2012 New IP address structure draft-sreeraj-new-ip-address-structure-01.txt Abstract This document specifies new address structure and routing technique for the IP (Internet Protocol).This is a hierarchical, scalable design and the size of routing table is limited to 133053 routes. Status of this Memo This Internet-Draft is submitted to IETF in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/1id-abstracts.html The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html Copyright and License Notice Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must Sreeraj Expires October 4, 2012 [Page 1] INTERNET DRAFT New IP address structure April 2, 2012 include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 2. Address Structure . . . . . . . . . . . . . . . . . . . . . . 3 3. Assign IP address . . . . . . . . . . . . . . . . . . . . . . 5 3.1. Router . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.1.1 Assign IP addresses to interfaces . . . . . . . . . . . 5 3.2 Assign IP addresses to Host . . . . . . . . . . . . . . . . 6 4. Identify the Globally unique address . . . . . . . . . . . . . 6 5. Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 5.1. Functions of a Host . . . . . . . . . . . . . . . . . . . 6 5.2. Functions of a router . . . . . . . . . . . . . . . . . . 7 6. Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . 8 7. Security Considerations . . . . . . . . . . . . . . . . . . . 9 8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 9 9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 9 9.1. Normative References . . . . . . . . . . . . . . . . . . . 9 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 10 Sreeraj Expires October 4, 2012 [Page 2] INTERNET DRAFT New IP address structure April 2, 2012 1. Introduction This updated version includes improved ip address format and routing logic. 1.1. Terminology The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. 2. Address Structure The addresses are 128 bits long and it is divided in to 8 levels. Hosts address bits are represented by Level 0. Network address bits are represented by Levels 1 through 7. 2 bits are reserved for multicast. 3 bits are reserved to mark the level. Level and bit representation are shown in the folloing: Level --> 7 6 5 4 3 2 1 0 +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | 7 | 3 | 2047|65535|65535|65535|65535|65535|65535|65535| +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ 3 2 11 16 16 16 16 16 16 16 Bits Bits Bits Bits Bits Bits Bits Bits Bits Bits 128 bits --> Sreeraj Expires October 4, 2012 [Page 3] INTERNET DRAFT New IP address structure April 2, 2012 Network structure / | | L7 | N---------------N | .-, -, | .` `. `', | -` ' `' L6 | N N N | . . | .` - .` | .` `. .` | -` ' -` L5 | N N N .H | .- -, .` | ,-` `. ', .` | ,' ', `. .` | -` ' `' .` _,,.-H L4 | N N N-,'``` | .- _. '. | .` `. _-` `', | .` ', _-` '. | -` ' -` `'H L3 | N N N | _.-, -, | _-` `'., `', | -` `- `' L2 | N N N | . -, | .` -, ', | .` `. `. | -` ' `' L1 | N N N | . ,.._ | / \`. _,-``.` \ | / \ ', ,.-` .` \ | / ' ' -'` -` ' L0 | H H H H H H | | | \ where N represents Network Cloud and H represents Host Sreeraj Expires October 4, 2012 [Page 4] INTERNET DRAFT New IP address structure April 2, 2012 3. Assign IP address 3.1. Router Routers MUST set its level and network address. For example: L3 200 +----+----+----+----+-----+-----+-----+-----+-----+-----+ | 3 | | | | | | 200 | | | | +----+----+----+----+-----+-----+-----+-----+-----+-----+ where L3 is the level of the router and 200 is the network. 3.1.1 Assign IP addresses to interfaces Interfaces are categorized in to 3 according to the connected neighbor. UPSTREAM interfaces: connected to a higher level network. IP address configuration: 68 L4 +----+----+----+----+-----+-----+-----+-----+-----+-----+ | 4 | | | | | | | | | 68 | +----+----+----+----+-----+-----+-----+-----+-----+-----+ i.e., the interface address is 68 and it is connected to a level 4 Network SAME LEVEL interfaces: connected to a same level network. IP address configuration: 1001 L3 SAME LEVEL interfaces : connected to host(s) There are 65471 host addresses; they may not be under the same interface/router, and therefore, it is required to summarize the IP address at the interface level (to avoid subnetting). IP address configuration: 2002 range 2003 - 2300 The "range" keyword indicates that the host addresses 2003 to 2300 are accessible through this interface. No need to configure the level. Sreeraj Expires October 4, 2012 [Page 5] INTERNET DRAFT New IP address structure April 2, 2012 DOWNSTREAM interfaces: connected to a lower level network. IP address configuration L3 Router: 235 L2 548 +----+----+----+----+-----+-----+-----+-----+-----+-----+ | 2 | | | | | | | 548 | | 235 | +----+----+----+----+-----+-----+-----+-----+-----+-----+ where 235 is the interface address,L2 is the level of neighbor and 548 is the downstream network. 3.2 Assign IP addresses to Host Need to configure only the host portion of the IP address. For example: 3001 4. Identify the Globally unique address All devices must query the top most router ( bits are set to 1 in the level field) to find its unique global IP address. when a query arrives at the incoming interface, router should append its network address to the query packet. The top most router (the one has no upstream interface) will replay to that query. The replay packet should include the unique IP address. If a router has a unique address (queried earlier), it can replay for that query. 5. Routing 5.1. Functions of a Host Request Globally unique destination address from the DNS Host should compare its unique address with the unique destination address. Reset ( to discard unwanted top level information) the destination level and send the packet to the destination. Sreeraj Expires October 4, 2012 [Page 6] INTERNET DRAFT New IP address structure April 2, 2012 Example: source 2.1.400.3.12345.22.8:100 L7 --> 2.1.400.3.12345.22.8:100 L7 destination 2.1.400.3.12345.22.9:34569 L7 --> 2.1.400.3.12345.22.9:34569 L2 5.2. Functions of a router Same level routers exchange routing information. Routing Logic : check the level of ip address if greater than router level - simply forward the packet to the upstream router. if same as router level , then check network address if different - forward it towards the destination else check downstream network if downstream network is present (if the downstream network is under another router, then forward the packet to neighbor router) decrement destination level and then forward packet. else forward the packet to the same level neighbor router or to the host Note: in routing logic a 0 in the downstream network field is equal to no downstream network. IP address 4.200.8.6.435.0.0:200 is a level 3 host address Sreeraj Expires October 4, 2012 [Page 7] INTERNET DRAFT New IP address structure April 2, 2012 6. Multicast The idea is to request multicast feed directly from the source. Reserve some level 0 host address range for multicast. For example: 1111111111000000 Range 65472 - 65534 Multicast routing +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | | 3 | | | | | | | | | +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ 3 2 11 16 16 16 16 16 16 16 Bits 2 bits are reserved for multicast. Request Multicast feed Set the multicast flag bits to 10 ( binary ) and send request towards the multicast source ; if this is the first request, router will forward the request to the next router towards the multicast source. For all subsequent requests for this unique multicast source, router will keep track of those requests in a table. no need to forward request. Repeat the process in each level. In the multicast request packet, the source address has no importance. Hence, we can attach the expected multicast destination address as the source address, as a level 0 address. Example: +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | 7 | 1 | 200 | 857 | 348 |2000 | 4 | 629 | 10 | 325 | +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | | | | | | | | | |65475| +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ The host is requesting multicast feed from 200.857.348.2000.4.629.20:325 with the destination multicast address 65475. Sreeraj Expires October 4, 2012 [Page 8] INTERNET DRAFT New IP address structure April 2, 2012 Build a request table using this information. +------------------------------+----------+----------+ | Multicast source | Multicast| Requested| | Address | address | interface| +------------------------------+----------+----------+ |200.857.348.2000.4.629.20:325 | 65475 | xx | +------------------------------+----------+----------+ | | | | +------------------------------+----------+----------+ | | | | +------------------------------+----------+----------+ Multicast feed set the multicast flag bits 11 (in binary - multicast feed): check the flag bits, source, and destination then replicate the feed to all requested interfaces. Cancel multicast request - flag 10 ( in binary): host will send a cancellation request towards the destination. if this is the last request, then the router will forward the request to the next level. else cancel the request from the request table. 7. Security Considerations There are no security considerations relevant to this document. 8. IANA Considerations This memo includes no request to IANA. 9. References 9.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. Sreeraj Expires October 4, 2012 [Page 9] INTERNET DRAFT New IP address structure April 2, 2012 Authors' Address C.V Sreeraj Chirmmal H Vadakkekara Ernakulam Kerala INDIA 683522 EMail: mailbox.sreeraj@gmail.com Sreeraj Expires October 4, 2012 [Page 10]