EI IPv4-6
EI IPv4-6
EI IPv4-6
INFORMATION TECHNOLOGY
rM AlSz
Engineering Instructions for
GENERAL DESCRIPTION OF IPv4 TO IPv6
msZ xZr Document No.
mxZr No of Pages.
e AU M xSp GR reference
:
:
23
-
xv|kl qM (rS
(rS MD) Amendment
No. (If any)
m xv|ki Page Nos. Amended
eUMi Issued By
NIL
:
:
NIL
Telecom Quality Assurance circle, Bangalore
AlqSi Approved by
11-11-2011
Written by
Expert Comments
All efforts have been made to incorporate all relevant up to date information available, any discrepancies
or need for addition or deletion is felt necessarily may please be intimated to this office for further
improvement,on E-Mail Id cgmtqa_ei@ bsnl.co.in (or) cgmtqa.ei@gmail.com
IPv4 TO IPv6
INFORMATION TECHNOLOGY
CONTENTS
Sl. No.
1.
Description
Scope
Page No.
3
2.
Introduction
3.
4.
5.
Requirements of IPv6
6.
Advantages of IPv6
7.
8.
9.
10.
11.
15
12.
Migration Plan
18
13.
List Of Abbreviations
21
14.
References
23
IPv4 TO IPv6
INFORMATION TECHNOLOGY
1.0 SCOPE:
This book gives a general guideline and need for transition from IPv4 to IPv6.
2.0 INTRODUCTION:
IPv4 stands for Internet Protocol version 4. It is the underlying technology that makes it
possible for us to connect our devices to the network and also the web. Whenever a device
accesses the Internet (whether its a PC, Mac, Smartphone or other device), it is assigned a
unique numerical IP address such as 99.48.227.227. to send or receive data from one
computer to another in the network.
IP address is essential to the infrastructure of the web as computers will not be able to
communicate with each other without IP addresses. With growing number of computers and
handheld devices, it has become essential to enhance the limited addresses to an advance
system to meet the future requirements.
IPv4 TO IPv6
INFORMATION TECHNOLOGY
5.0
REQUIREMENTS OF IPv6:
THE NEED FOR IPv6
IPv4 ADDRESS EXHAUSTION
The exhaustion of IPv4 addresses was already foreseen before Internet became a
worldwide phenomenon. As early as 1990, the Internet Engineering Task Force started
looking for a successor for IPv4. However, at the same time, other mechanisms, such as the
use of Private Addresses, were introduced to stave off an immediate crisis. This caused some
people to hope that perhaps the transition to IPv6 could be postponed indefinitely. A careful
analysis of available data, however, shows that IPv4 address exhaustion is progressing
unrelentingly and the most recent predictions are that in less than 5 years, it will become
impossible to receive new address blocks from official registries.
1. The IPv4 Address Report presents a thorough analysis of the expected depletion of
IPv4 addresses. It analyzes three stages of IP address usage:
2. Address blocks allocated by Internet Assigned Number Authority (IANA) to the
Regional Internet Registries (RIRs) Address blocks allocated by the RIRs to Internet
Service Providers and other local entities.
3. Addresses that appear in Internet routing tables.
Extrapolating from existing data, the report anticipates that IANA will run out of
addresses by the end of 2012. The RIRs will run out of addresses in mid of 2013. Based on
its analysis of actual usage of IPv4 addresses, the IPv4 Address Report has found that not
only do IANA and the RIRs allocate address blocks at an increasing pace, but the percentage
of allocated addresses that are actually being used in the Internet is increasing as well. When
IANA and the RIRs run out of IPv4 addresses, many service providers will still have
unallocated address blocks. However, to stave off total exhaustion as long as possible,
service providers would have to fragment address pools in increasingly smaller sets and at
times may have to reallocate addresses. Alternatively, service providers and enterprises could
start trading unallocated address blocks. In either case, address management becomes an
increasingly cumbersome and expensive procedure.
6.0
ADVANTAGES OF IPv6:
IPv6, developed by the IETF in the mid Nineties, is the Next Generation (version 6) of
the Internet Protocol (IP). IPv6 improves on the addressing capacities of IPv4 by using 128
bits for addressing instead of 32, thereby making available an almost infinite pool of IP
addresses. Also IPv6 is supposed to be providing various enhancements with respect to
security, routing, address auto configuration, mobility & QOS etc.
IPv4 TO IPv6
INFORMATION TECHNOLOGY
The following are the important features of IPv6 protocol, which may play an important
role in the growth of Internet in the country due to its advance capabilities.
(i) New Header Format:
The IPv6 header has a new format that is designed to keep header overhead to a minimum.
The streamlined IPv6 header is more efficiently processed at intermediate routers with lower
processing costs.
(ii) Large Address Space:
IPv6 has 128 bits (16 bytes) source and destination IP addresses. This will enable to
128
accommodate 2
= 3.4028236692093846346337460743177X10+38hosts. Even though only
a small number of IPv6 addresses are currently allocated for use by hosts, there are plenty of
addresses available for future use. With a much larger number of available addresses, address
conservation techniques, such as deployments of NAT will no longer be necessary.
(iii) Efficient and Hierarchical Addressing and Routing Infrastructure:
IPv6 global addresses used on the IPv6 portion of the Internet are designed to create an
efficient, hierarchical, and summarisable routing infrastructure that is based on the common
occurrence of levels of Internet service providers.
(iv) Stateless and stateful address configuration
IPv6 supports both stateful address configuration, such as address configuration in the
presence of a DHCP server, and stateless address configuration (address configuration in the
absence of a DHCP server). With stateless address configuration, hosts on a link
automatically configure themselves with IPv6 addresses for the link (called link-local
addresses) and with addresses derived from prefixes advertised by local routers. Even in the
absence of a router, hosts on the same link can automatically configure themselves with linklocal addresses and communicate without manual configuration.
(v) Built-in Security
Support for IPSec is an IPv6 protocol suite requirement. This requirement provides a
standards-based solution for network security needs and promotes interoperability between
different IPv6 implementations.
(vi) Support for QoS
New fields in the IPv6 header define how traffic is handled and identified. Traffic
identification using a Flow Label field in the IPv6 header allows IPv6 routers to identify and
provide special handling for packets belonging to particular packet flow between source and
5
IPv4 TO IPv6
INFORMATION TECHNOLOGY
destination. Support for QOS can be achieved even when the packet payload is encrypted
through IPSec.
(vii) Extensibility:
IPv6 can easily be extended for new features by adding extension headers after the IPv6
header.
In addition, IPv6 can make available almost unlimited address space thereby enabling static/
global address allocation which can have following advantages: a. As per Clause 1.10.3 of the ISP license agreement ISP are required to log all user
activity and archive it. Such an archive is required by law enforcement agencies
when the need arises. The lack of end user addressability with static IP address
may not serve the purpose of logging information fully. In cases where a static
private address is used, it is possible to trace the end user, but in cases where
DHCP is used for private addresses, there may be absolutely no clue about the
end user. So, for true accountability, there is a need to have a static IP address
allocated.
b. By having IP addresses delegated directly to the ISPs, the ISPs can provide a
better user experience with fault tolerant topologies, fault tolerant service access
and so on. The ISP can allocate static IP addresses to each of its customers and
therefore enable the users to use the newer services that may work or may not
work efficiency with NAT. Allocating static IP addresses to the subscriber end
point provides a specific identity to that user. Therefore, that user can easily be
monitored for acceptable use (as well as accounting) in an unambiguous manner.
7.0
IPv4 TO IPv6
INFORMATION TECHNOLOGY
This can be mitigated through address and port translation, but also that has its
limitations.
At some point, a service provider who has not made the transition to IPv6 may
become unattractive as a roaming partner to service providers who have made the
transition. The same may be true in retail/wholesale relationships.
On the other hand, transitioning to IPv6 at an early stage also has certain risks. The
transitioning process is complex. It requires a significant investment in planning and training.
During the transition period, the service provider must run both IPv4 and IPv6 systems
concurrently, which leads to an increase in operational expenses. Furthermore, there is a risk
of service interruption, customer dissatisfaction and penalties. All service providers will need
to go through this, but an early adopter may run into problems which later adopters could
avoid.
In the end, we believe that service providers dont have the option to delay IPv6
introduction. The exhaustion of IPv4 addresses will force a transition to IPv6, and as pointed
out in section 1.1, address exhaustion may become a reality within the next few years. From
that point on, service providers will face an increase in operations cost, if not because of
introduction of IPv6, then due to the complexity of running an IPv4-only network with a
diminishing pool of addresses.
With careful planning, the risk of early adoption can be mitigated significantly. Later
sections in this paper provide suggestions for making the process as smooth as possible.
IPv4
IPv6
(i)
(ii)
(iii)
(iv)
(v)
(vi)
(vii)
IPv4 TO IPv6
INFORMATION TECHNOLOGY
(viii)
(ix)
(x)
(xi)
(xii)
(xiii)
9.0
OVERVIEW
The transition to IPv6 is expected to be gradual and occur over several years. With this
in mind, the Internet Engineering Task Force (IETF) has defined a wide range of transition
mechanisms to allow smooth co-existence between IPv6 networks and legacy IPv4 networks.
Such mechanisms fall into three broad categories:
1.Dual-stack (enables IPv4 and IPv6 to coexist in the same devices / networks).
2.Tunneling (includes configured and automatic tunnels; encapsulating IPv6 packets in
IPv4 packets and vice versa).
3.Protocol Translation (enables an IPv6-only device to communicate with an IPv4-only
device).
IPv4 TO IPv6
INFORMATION TECHNOLOGY
9.2
One option an operator may consider is the use of an IPv6 Proxy Gateway for general
web browsing. This dual stack Proxy Gateway would act as an intermediary between an IPv6
host or UE and a native IPv4 server accessed through the IPv4 Internet. This type of proxy
may be limited to HTTP port 80 and long term may offer other functionality including
caching, user authentication and content acceleration. This concept allows the operator to
provide IPv4 Internet content while transitioning to IPv6 on the mobile user plane. There are
considerations the operator must factor when deploying this type of service. The proxy must
comply with the operator's security policies and provide proper levels of secure access when
opening HTTP communication paths to Internet content. Performance and scalability will
also need to be examined since IPv6 to IPv4 Gateways will likely be processor intensive
since capabilities may initially be limited to software based solutions.
10.0
10.2 CNGI-CERNET2
CNGI-CERNET2 is an IPv6 single stack network. The original promotion concept to
migrate from IPv4 to IPv6 was:
It is free and it is light loaded.
The users need to export their applications into IPv6.
But this concept did not work well.
The connectivity is the most important issue.
So IVI Concept was developed.
10.3 IVI CONCEPT:
IV means 4
VI means 6
IVI means 4|6 coexistence and transition.
IVI is symmetric and both IPv6 and IPv4 initiated communication are supported.
10.4 THE KEY CONCEPTS OF IVI
Prefix Specific Addressing and Routing:
o Maintain a clean Internet addressing and routing architecture and globally
deliverable.
Bi-directional and Explicit Mapping:
o Restore the end-to-end address transparency.
o Maintain the minimum state.
9
IPv4 TO IPv6
INFORMATION TECHNOLOGY
10
IPv4 TO IPv6
INFORMATION TECHNOLOGY
10.6 IVI ADDRESS MAPPING
11
IPv4 TO IPv6
INFORMATION TECHNOLOGY
10.7 ROUTING AND FORWARDING
A (B&A)
B
12
IPv4 TO IPv6
INFORMATION TECHNOLOGY
IVI COMMUNICATION: SCENARIOS (3)
IPv4
IV
I
IPv6
IVI
DNS
IVI6 ADDRESS
o
o
o
13
Implementation scope
Host
DNS server provided via DHCPv6
ISP
IPv4 TO IPv6
INFORMATION TECHNOLOGY
10.10 MULTIPLEXING OF THE IPv4 ADDRESSES
TEMPORAL MULTIPLEXING
Dynamic assignment of IVI6(i)
PORT MULTIPLEXING
Combine address with the port number
SPATIAL MULTIPLEXING
SERVER 1:1 MAPPING
Home server 1: M mapping (via IPv4 initiated communication)
Client 1: N mapping (via IPv6 initiated communication)
MULTIPLEXING USING IPv4 NAT-PT
Cascade IPv4 NAT-PT and IVI (1:1 mapping)
14
IPv4 TO IPv6
INFORMATION TECHNOLOGY
10.13 IVI DEPLOYMENT SCENARIO
IVI DEPLOYMENT SCENARIOS (1)
15
IPv4 TO IPv6
INFORMATION TECHNOLOGY
The "IPv6 Transition Guidance report, issued by Federal CIO Council Architecture
and Infrastructure Committee ([9]) provides a useful blueprint. Among the recommended
actions are:
Identifying an IPv6 Transitioning lead within the organization
Developing a transitioning plan
Taking a complete inventory of IPv6-capable network elements, applications and
enduser devices
Transition plans may vary widely from network to network; however, the transition
plans should include the following sequence of activities - Assessment, Planning, and
Deployment. Depending on the scale and complexity of the existing network infrastructure,
a number of different detailed plans may be required. Some examples include: equipment
inventory and upgrade capabilities and schedules, trials and testing vs. operational
deployment, infrastructure vs. application rollout, and staff training and support.
Large wireless service providers will likely need to begin transition sooner than smaller
service providers due to the sheer number of subscribers they must support. This places an
additional burden of being early adopters to technologies and standards that are still
maturing. One advantage that large service providers have as IPv6 pioneers is the ability to
shape the industry to their benefit by being able to provide IPv6 development requirements to
key suppliers and vendors.
16
IPv4 TO IPv6
INFORMATION TECHNOLOGY
11.3 INTERWORKING MECHANISMS
The biggest problem that a service provider will need to solve is the interworking
between IPv6 devices and IPv4-only devices. As discussed in sections 2 and 3, a dual-stack
approach is preferred because it maintains transparency between the two end-points. In the
dual-stack approach, an IPv6 device will use IPv4 when interfacing with a device or
application server that supports IPv4 only. However, as pointed out in the Video Share use
case, the dual stack approach may not work well for mobile devices. In the case of IMSbased applications, the dual stack approach may require four simultaneous PDP Contexts. On
the other hand, for non-IMS based applications such as gaming, the dual-stack approach may
be feasible.
A service provider will need to develop a clear plan with respect to support of multiple
PDP Contexts. This plan should take the following into account:
Services the service provider is planning to support.
QoS levels planned to be offered to subscribers.
The ability of the existing RAN infrastructure to support multiple PDP Contexts and
RABs.
Based on these, the service provider will be able to assess to what extent a dual-stack
approach is feasible. The service provider should give careful consideration to an APN
strategy in order to avoid overly complex RAB requirements. In the case a dual-stack
approach is not feasible, translation is the recommended alternative.
11.4 SECURITY CONSIDERATIONS
The transition to IPv6 requires special attention to security considerations. The security
policies of individual companies typically address exposures and security mitigation
techniques in the IPv4 environment. To this end, firewalls and intrusion detection systems
have been implemented to protect an enterprises network, host computer and data assets.
However, with the introduction of dual-stack and IPv6, enterprises will need to assess
security during and after the transition. As mentioned in section 2.3, automatic tunneling can
bypass IPv4 safeguards. Therefore, transitional dual-stack security policies should be
developed to address the many networking aspects that IPv6 introduces:
Any cast addresses.
Scoped addresses.
New extension headers.
Tunneling protocols.
Transport headers and deep packet inspection.
Privacy addresses.
ICMP options.
17
IPv4 TO IPv6
INFORMATION TECHNOLOGY
12.0
Enterprise customer with multiple location (connected through leased lines or over
MPLS)
Multiplay Customers
18
IPv4 TO IPv6
INFORMATION TECHNOLOGY
WiMAX Customers
ISPs who are taking bandwidth from BSNL
o In all A1 & A2 PoPs, use /38 for various services like Broadband, Mobile, Multiplay,
WiMAX, leased line customers (including ISPs) and BSNL service networks.
o In all A3 & A4 PoPs, use /40 for various services like Broadband, Mobile, Multiplay,
WiMAX, leased line customers (including ISPs) and BSNL service networks.
o In all B1 & B2 PoPs, use /42 for various services like Broadband, Mobile, Multiplay,
WiMAX, leased line customers (including ISPs) and BSNL service networks.
Allocate address range to customers as follows:
o Allocate /64 IP address to broadband, mobile wireless, WiMAX and multiplay
customers.
o Allocate /56 to large Leased Line customers & /60 for small leased line customers and
BSNL service networks.
o Allocate multiple /56 or /60 to multi-location leased line customer.
o Allocate multiple /56 to ISPs.
Allocate 1 /40 address range for all the routers and other network devices. All the IPv6
related routing and IPv6 SNMP management should be done using these IPs.
RFCs 3531, RFC 4007, RFC 4291, RFC 5375 related to IPv6 address assignment may be
referred to for details.
ACTIONS REQUIRED:
o BSNL should use the address allocation policy to allocate addresses to various PoPs.
The website http://www.ipv6book.ca/allocation.html may be used for IPv6 prefix
calculation.
o Various network equipments should be configured with allotted IPv6 addresses.
IPv4 TO IPv6
INFORMATION TECHNOLOGY
This feature has already been tested on the PE routers at Noida and Banglore NOC.
Annexure II details how PE routers at Noida and Banglore NOC have been configured as
6PE routers to route IPv6 traffic over the NIB MPLS backbone. Similar configuration can be
replicated in all the PE routers.
The routing of IPv6 traffic from customer premises to the PE Routers will be native IPv6
routing. So the Customer Edge equipment, Central Office Access equipment and PE Routers
should be configured to support dual stack IPv4 and IPv6 routing.
ACTIONS REQUIRED:
1.Plan IPv6 routing in the Backbone and Customer Edge.
2.Configure PE Routers as 6PE Routers.
3.Configure all Central Office Access equipment for Dual Stack IPv4/IPv6.
IPv4 TO IPv6
INFORMATION TECHNOLOGY
ACTIONS REQUIRED:
The existing SNMP management tool(s) should be upgraded and configured to monitor and
manage the network over IPv6 in addition to the existing IPv4 based management.
IPv4 TO IPv6
INFORMATION TECHNOLOGY
13. GTP: GPRS Tunneling Protocol
14. HSS: Home Subscriber Server
15. HTTP: HyperText Transfer Protocol
16.
17.
18.
19.
20.
21.
22.
23.
32.
33.
34.
35.
IPv4 TO IPv6
INFORMATION TECHNOLOGY
14.0
REFERENCES:
http://trai.gov.in
http://www.ietf.org/internet-drafts/draft-xli-behave-ivi-00.txt
http://www.ietf.org/rfc/rfc2765.txt
http://www.subnetonline.com/pages/subnet-calculators/ipv4-to-ipv6-converter.php
(An online convertor from IPv4 to IPv6 and vice-versa)
5. http://www.ipv6book.ca/allocation.html
6. http://bsnl.co.in/ipv6/national_plan%20final%20book.pdf
7. http://bsnl.co.in/ipv6/ipv6.htm
1.
2.
3.
4.
******End of Document******
23