Sunteți pe pagina 1din 30

White Paper

Internet Protocol version 6 (IPv6)


Conformance and
Performance Testing

sample test plans included


Copyright © 1998-2004 Ixia. All rights reserved.
The information in this document is furnished for Ixia
informational use only, is subject to change
26601 W. Agoura Road
without notice, and should not be construed as a
commitment by Ixia. Ixia assumes no Calabasas, CA 91302
responsibility or liability for any errors or Phone: (818) 871-1800
inaccuracies that may appear in this document.
Ixia and the Ixia logo are trademarks of Ixia. All Fax: (818) 871-1805
other companies, product names, and logos are Email: info@ixiacom.com
trademarks or registered trademarks of their
respective holders. Internet: www.ixiacom.com

2 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Contents
Abstract .....................................................................................................................................5
Introduction ..............................................................................................................................5
Benefits of IPv6 ........................................................................................................................6
Improved efficiency in routing and packet handling .......................................................6
Support for autoconfiguration and plug and play ...........................................................6
Support for embedded IPSec ...........................................................................................6
Enhanced support for Mobile IP and mobile computing devices ..................................6
Elimination of the need for network address translation (NAT) .....................................7
Support for widely deployed routing protocols. ...............................................................7
Increased number of multicast addresses, and improved support for multicast. ........7
What is IPv6? ...........................................................................................................................7
IPv6 header format ...........................................................................................................7
IPv6 extension headers ....................................................................................................7
IPv6 addressing .................................................................................................................8
IPv6 Operation ...................................................................................................................... 11
Neighbor discovery ......................................................................................................... 11
Router discovery ............................................................................................................. 11
Stateless autoconfiguration and renumbering of IPv6 nodes .................................... 11
Path Maximum Transfer Unit (MTU) ............................................................................. 12
DHCPv6 and Domain Name Server (DNS) .................................................................... 12
IPv6 Deployment ................................................................................................................... 12
Dual-stack backbone ..................................................................................................... 12
IPv6 over IPv4 tunneling ................................................................................................ 12
IPv6 Challenges ..................................................................................................................... 14
Why Test IPv6 Technology? .................................................................................................. 15
Testing to ensure interoperability .................................................................................. 15
Testing to characterize performance bottlenecks ....................................................... 15
Test Solution Requirements ................................................................................................. 16
Optimized hardware platform ........................................................................................ 16
Dual stack routing protocol emulation .......................................................................... 16
Ability to generate and analyze tunneled traffic – dual stack data plane .................. 16
Ixia’s Approach to IPv6 Testing ............................................................................................ 17
IPv6 conformance testing.............................................................................................. 17
IPv6 scalability and performance testing ..................................................................... 17
Conclusion ............................................................................................................................. 18
Appendix: Sample IPv6 Test Plans ....................................................................................... 19
1. IPv6 Conformance Test ............................................................................................. 19
2. IPv6/IPv4 Forwarding Performance Test ................................................................. 21
3. Tunneling Functional Test ......................................................................................... 23
4. Tunneling Performance Test ..................................................................................... 24
5. IPv6 Routing Performance and Scalability Test ....................................................... 26
Glossary ................................................................................................................................. 28
Acknowledgements ............................................................................................................... 29

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 3


4 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing
Internet Protocol version 6: Conformance and Performance Testing

Abstract The need for a new Internet Protocol is well Internet Protocol version 6 (IPv6). This
understood and accepted in the paper reviews the basics of IPv6, its
networking industry. Requirements for deployment, and strategies for managing
more address space, simpler address the transition from IPv4 to IPv6. Most
design and handling at the IP layer, better importantly, the paper identifies key areas
QoS support, greater security, and an for IPv6 testing, and prescribes an
increasing number of media types and appropriate testing methodology for each
Internet-capable devices have all of them.
contributed to drive the development of

Introduction IPv4, the current version of the Internet Configuration Protocol (DHCP), and
Protocol deployed worldwide, has proven Classless Inter-Domain Routing (CIDR).
remarkably robust, easy to implement, and
While these techniques provide a
interoperable with a wide range of
workaround for the lack of address space,
protocols and applications. Though
they fail to meet the requirements of the
substantially unchanged since it was first
Internet’s end-to-end architecture and
specified in the early 1980s, IPv4 has
peer-to-peer applications. Additionally,
supported the scaling of the Internet to its
residential broadband Internet requires
current global proportions. However, the
always-on, always-contactable global
ongoing explosive growth of the Internet
addresses, which are unsupportable with
and Internet services has exposed
current IP address conversion strategies,
deficiencies in IPv4 at the Internet’s
pooling, and other temporary allocation
current scale and complexity. IPv6 was
techniques.
developed specifically to address these
deficiencies, enabling further Internet The global need for IP addresses has even
growth and development. added political force to the drive for IPv6
implementation. For latecomers to the
The most important issue addressed by
Internet explosion, IPv6 is the only solution
IPv6 is the need for increased IP
that will accommodate billions of new
addresses: IPv4’s 32-bit address space is
users. Many countries, such as China and
nearly exhausted, while the number of
Japan, have legislated an implementation
Internet users continues to grow
schedule for IPv6 to meet their urgent
exponentially. This need is exacerbated by
deployment needs.
the continual introduction of address-
hungry Internet services and applications Simply stated, IPv6’s ample (128-bit)
(Internet-enabled PDAs, home and small address space provides an adequate
office networks, Internet-connected number of globally unique addresses to
vehicles and appliances, IP telephony and support the anticipated growth and
wireless services, etc.). The exhaustion of development of the Internet for the
IPv4 addresses has been long anticipated, foreseeable future. However, as the
and various techniques have been following section illustrates, IPv6 is much
introduced to extend the life of the existing more than just a software fix to provide
IPv4 infrastructure, including Network more IP addresses.
Address Translation (NAT), Dynamic Host

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 5


network prefix interface ID

XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX

128 bits

XXXX = 0000 through FFFF

Figure 1. IPv6 address format.

Benefits of IPv6 Aside from the increased address space, important to accommodate mobile
IPv6 offers a number of other key design services (data and voice) and Internet-
improvements over IPv4. capable appliances. IPv6’s built-in address
autoconfiguration feature enables a large
Improved efficiency in routing and packet
number of IP hosts to easily discover the
handling
network and obtain new, globally unique
IPv6’s very large addressing space and IPv6 addresses. This allows plug-and-play
network prefixes (Figure 1) allow the deployment of Internet-enabled devices
allocation of large address blocks to ISPs such as cell phones, wireless devices, and
and other organizations. This enables an home appliances.
ISP or enterprise organization to aggregate
The autoconfiguration feature also makes
the prefixes of all its customers (or internal
it simpler and easier to renumber an
users) into a single prefix and announce
existing network. This enables network
this one prefix to the IPv6 Internet.
operators to manage the transition from
Within the IPv6 address space, the one provider to another more easily.
implementation of a multi-leveled address
Support for embedded IPSec
hierarchy provides more efficient and
scalable routing. This hierarchical Optional in IPv4, IPSec is a mandatory part
addressing structure reduces the size of of the IPv6 protocol suite. IPv6 provides
the routing tables Internet routers must security extension headers, making it
store and maintain. easier to implement encryption,
authentication, and virtual private
Though the IPv6 header is larger, its format
networks (VPNs). By providing globally
is simpler than that of the IPv4 header. The
unique addresses and embedded security,
IPv6 header removes the IPv4 fields for
IPv6 can provide end-to-end security
Header Length (IHL), Identification, Flags,
services such as access control,
Fragment Offset, Header Checksum, and
confidentiality, and data integrity with less
Padding, which speeds processing of the
impact on network performance.
basic IPv6 header. Also, all fields in the
IPv6 header are 64-bit aligned, taking Enhanced support for Mobile IP and mobile
advantage of the current generation of 64- computing devices
bit processors.
Mobile IP, defined in an IETF standard,
Support for autoconfiguration and plug and allows mobile devices to move around
play without breaking their existing connections
— an increasingly important network
The need for plug-and-play
feature. Unlike IPv4, IPv6 mobility uses
autoconfiguration and address
built-in autoconfiguration to obtain the
renumbering has become increasingly
Care-Of-Address, eliminating the need for a

6 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Foreign Agent. In addition, the binding translation, and with it, the problems and
process allows the Correspondent Node to costs associated with NAT deployment.
communicate directly with the Mobile
Support for widely deployed routing protocols.
Node, avoiding the overhead of triangular
routing required in IPv4. The result is a IPv6 maintains and extends support for
much more efficient Mobile IP architecture existing Interior Gateway Protocols (IGPs)
in IPv6. and Exterior Gateway Protocols (EGPs). For
example, OSPFv3, IS-ISv6, RIPng and
Elimination of the need for network address
MBGP4+ have been well defined to
translation (NAT)
support IPv6.
NAT was introduced as a mechanism to
Increased number of multicast addresses, and
share and reuse the same address space
improved support for multicast.
among different network segments. While
it has temporarily eased the problem of IPv6 multicast completely replaces IPv4
IPv4 address shortage, it has also placed a broadcast functionality, by handling IPv4
burden on network devices and broadcast functions such as router
applications to deal with address discovery and router solicitation requests.
translation. IPv6’s increased address Multicast saves network bandwidth and
space eliminates the need for address improves network efficiency.

What is IPv6? IPv6 header format discarded if Hop Limit is decremented


to zero.
The IPv6 header has been streamlined for
efficiency (Figure 2). The new format • Source Address: 128-bit address of
introduces the concept of an extension the originator of the packet.
header, allowing greater flexibility to • Destination Address: 128-bit address
support optional features. of the intended recipient of the packet.
Fields in the IPv6 header are: IPv6 extension headers
• Version: 4-bit Internet Protocol version The extension header is optional in IPv6. If
number, value = 6. present, extension headers immediately
• Traffic Class: 8-bit traffic class field, follow the header field. IPv6 extension
similar to type of service in IPv4. headers have the following properties:
• Flow Label: 20-bit flow label, used to • They are 64-bit aligned, with much
identify traffic flow for additional lower overhead than IPv4 options.
control on quality of service. • They have no size limit as with IPv4.
• Payload Length: 16-bit unsigned The only limitation is the size of IPv6
integer, length of the IPv6 payload. packet.
• Next Header: 8-bit selector, used to • They are processed only by destination
identify the type of header immediately node. The only exception is the Hop-by-
following the IPv6 header. Hop header option.
• Hop Limit: 8-bit unsigned integer, • The Next Header field of the base IPv6
decremented by 1 by each node that header identifies the extension
forwards the packet. The packet is header.

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 7


IPv4 header IPv6 header
version IHL type of service total length
version traffic class flow label
fragment
identification flags
offset
payload length next header hop limit
time to live protocol header checksum

source address source address


destination address
options padding

destination address

Figure 2. IPv4 and IPv6 header formats.


When multiple extension headers are IPv6 addressing
present in a same IPv6 packet, they occur
The 128-bit IPv6 address is separated into
in this order:
eight 16-bit hexadecimal numbers divided
• The Hop-by-Hop header carries by colons (“:”). The preferred format is
information that needs to be examined xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx,
by all the nodes along the delivery for example:
path. When present, the Hop-by-Hop 2031:0000:1F1F:0000:0000:0100:11A0:ADDF..
option always follows immediately The following conventions are also used to
after the basic IPv6 header. represent IPv6 addresses, including ways
• The Destination header carries to shorten them and make them easier to
additional information that can be represent:
examined only by the destination node. • Leading zeros can be removed.
• The Routing header is used by the • 0000 = 0 (compressed form).
source node to list all the nodes the
• “::” represents one or more groups of
packet needs to traverse on the path
16 bits zeros, and can only appear
to its destination.
once in an address. For example,
• The Fragmentation header is used by 2001:0:13FF:09FF:0:0:0:0001 =
the source to indicate that the packet 2001:0:13FF:09FF::1
has been fragmented to fit within the
• The lower four 8 bits can use decimal
maximum transmission unit (MTU
representation of IPv4 addresses. For
size). In IPv6, unlike IP4, packet
example, an IPv4-compatible IPv6
fragmentation and assembly are done
address is 0:0:0:0:0:0.192.168.0.1.
by the end nodes instead of routers,
which further improves the efficiency Unlike an IPv4 node, an IPv6 node allows
of the IPv6 network. more than one type of IP address: unicast,
anycast, and multicast.
• The Authentication and Encapsulating
Security Payload headers (AH and Unicast. An address used to identify a
ESP) are used in IPSec to provide single interface. A packet destined for a
security services to ensure the unicast address is delivered to the
authentication, integrity, and interface identified by that address. Based
confidentiality of a packet. on the reachability of the packets, unicast
supports the following address types.

8 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Global unicast address. An address that customer site, similar to IPv4 private
can be reached and identified globally. A address 10.0.0.0/8 and 192.168.0.0/16.
global unicast address consists of a global the site-local unicast address contains a
routing prefix, a subnet ID, and an FEC0::/10 prefix, subnet ID, and interface
interface ID (Figure 3). The current global ID (Figure 4).
unicast address allocation uses the range
Link-local unicast address. An address that
of addresses that start with binary value
can only be reached and identified by
001 (2000::/3), one-eighth of the total
nodes attached to the same local link. A
IPv6 address space.
link-local unicast address uses a FE80::/
Site-local unicast address. An address that 10 prefix and an interface ID (Figure 5).
can only be reached and identified within a

128 bits

provider site host

3 45 bits 16 bits 64 bits


bits

global routing prefix subnet ID interface ID

001

Figure 3. Global unicast address format.

128 bits

64 bits

0 interface ID

1111111011 subnet ID

FECO::/10 16 bits

10 bits

Figure 4. Site-local unicast address format.

128 bits

64 bits

0 interface ID

1111111010

FE8O::/10

10 bits

Figure 5. Link-local unicast address format.

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 9


Anycast. The anycast address is a global Multicast. As in IPv4, a multicast address is
address that is assigned to a set of assigned to a set of interfaces belonging to
interfaces belonging to different nodes different nodes. A packet destined to a
(Figure 6). A packet destined to an anycast multicast address is routed to all
address is routed to the nearest interface. interfaces identified by that address. The
The anycast address has the following IPv6 multicast address uses the FF00::/8
restrictions: prefix, 1/256 of the total IPv6 address
• An anycast address must not be used space (Figure 7).
as source address of IPv6 packet.
• An anycast address must not be
assigned to an IPv6 host. It may be
assigned to an IPv6 router.

128 bits

n bits 128 – n bits

subnet ID 00000000000000000000

Figure 6. Anycast address format.

128 bits

112 bits

group ID

0 if permanent
1111 1111 flag
1 if temporary

F
FECO::/10F flag scope 1 = interface — local
2 = link — local
8 bits 8 bits 3 = subnet — local
scope 4 = admin — local
5 = site — local
8 = organization — local
E = global

Figure 7. Multicast address format.

10 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


IPv6 Operation Neighbor discovery A router advertisement contains or
determines:
The neighbor discovery protocol enables
IPv6 nodes and routers to determine the • The type of autoconfiguration a node
link-layer address of a neighbor on the should use – stateless or stateful.
same network, and to find and track • The Hop limit value a node should
neighbors. The IPv6 neighbor discovery place in the IPv6 header.
process uses IPv6 ICMP (ICMPv6) • The network prefix a node should use
messages and solicited-node multicast to form the unicast address.
addresses to determine the link-layer
• The lifetime information of the
address of a neighbor on the same
included network prefix.
network, verify the reachability of a
neighbor, and keep track of neighbor • The maximum transmission unit (MTU)
routers. size a node should use in sending
packets.
When a node wants to determine the link-
• Whether the originating router should
layer address of another node on the same
be used as default router.
local link, a neighbor solicitation message
is sent on the local link, carrying the Stateless autoconfiguration and renumbering
sender’s own link-layer address. After of IPv6 nodes
receiving the neighbor solicitation Stateless autoconfiguration enables
message, the destination node replies by serverless basic configuration of IPv6
sending a neighbor advertisement nodes and easy renumbering. Stateless
message with its own link-layer address on autoconfiguration uses the network prefix
the local link. After the neighbor information in the router advertisement
advertisement is received, the source and messages as the /64 of prefix of the node
destination nodes can communicate. address. The remaining 64 bits address is
Neighbor advertisement messages are obtained by the MAC address assigned to
also sent when there is a change in the the Ethernet interface combined with
link-layer address of a node on a local link. additional bits in EUI-64 format. For
Router discovery instance, a node with Ethernet interface
address 0003B61A2061, combined with
To discover the routers on the local link,
network prefix 2001:0001:1EEF:0000/64
the IPv6 router discovery process uses
provided by router advertisement, will have
router advertisement and solicitation
an IPv6 address as
messages. Router advertisements
2001:0001:1EEF:0000:0003:B6FF:FE1A:
messages are sent out periodically on
2061.
each configured interface of an IPv6
router, and also in response to router Renumbering of IPv6 nodes is possible
solicitation messages from IPv6 nodes on through router advertisement messages,
the link. When a host does not have a which contain both the old and new prefix.
configured unicast address, it sends a A decrease in the lifetime value of the old
router solicitation message, enabling the prefix alerts the nodes to use the new
host to autoconfigure itself quickly without prefix, while still keeping their current
having to wait for the next scheduled connections intact with the old prefix.
router advertisement message. During this period, nodes have two unicast
addresses in use. When the old prefix is no
longer usable, the router advertisements
will include only the new prefix.

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 11


Path Maximum Transfer Unit (MTU) DHCPv6 and Domain Name Server (DNS)
IPv6 routers do not handle fragmentation In addition to stateless autoconfiguration,
of packets, which is done, when necessary, IPv6 also supports stateful configuration
by the originating or source node of the with DHCPv6. The IPv6 node has an option
packet. IPv6 uses ICMP error reports to to solicit an address via DHCP server when
determine whether the packet size a router is not found. The operation of
matches the MTU size along the delivery DHCPv6 is mostly similar to that of
path. When a node reports “packet too DHCPv4; however, DHCPv6 uses multicast
big” via an ICMP error report, the source for many of its messages.
node will reduce the size of the transmit
IPv6 also introduces a new record type to
packet. The process is repeated until there
accommodate IPv6 addresses in Domain
is no “packet too big” error along the
Name Servers. The AAAA record, also
delivery path. This allows a node to
known as “quad A”, has been
dynamically discover and adjust to
recommended by the IETF for mapping a
differences in the MTU size of every link
host name to an IPv6 address.
along a given data path.

IPv6 Deployment IPv6 provides many benefits over legacy routing protocols and sufficient memory
IPv4 technology; however, all agree that for both the IPv4 and IPv6 routing tables.
any successful strategy for IPv6
IPv6 over IPv4 tunneling
deployment requires it to coexist with IPv4
for some extended period of time. A IPv6 over IPv4 tunneling encapsulates
number of strategies have been developed IPv6 traffic within IPv4 packets, to be sent
for managing this complex and prolonged over an IPv4 backbone (Figure 8). This
transition from IPv4 to IPv6. The following enables “island” IPv6 end systems and
subsections describe several of these routers to communicate through an
strategies. existing IPv4 infrastructure.

Dual-stack backbone A variety of tunneling mechanisms are


available for deploying IPv6 (Figure 9), as
In dual-stack backbone deployment, all
described in the following sections.
routers in the network maintain both IPv4
and IPv6 protocol stacks. Applications Manually configured tunnels. As defined by
choose between using IPv4 or IPv6, with RFC 2893, both end points of the tunnel
the application selecting the correct need to be configured with appropriate
address based on the type of IP traffic and IPv6 and IPv4 addresses. The edge routers
particular requirements of the sitting at the end points, usually a dual
communication. stack router, will forward the tunneled
traffic based on the configuration.
Today, dual-stack routing is the preferred
deployment strategy for network GRE (Generic Routing Encapsulation) tunnels.
infrastructures with a mixture of IPv4 and Defined to transport data over the IPv4
IPv6 applications that require both network, GRE allows one network protocol
protocols. This strategy has several to be transmitted over another network
limitations, however: all routers in the protocol, by encapsulating the packets to
network must be upgraded to IPv6; routers be transmitted within GRE packets. GRE is
also require a dual addressing scheme, an ideal mechanism to tunnel IPv6 traffic.
dual management of the IPv4 and IPv6

12 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Figure 8. IPv6 over IPv4 tunneling.

Figure 9. IPv6 tunnel mechanisms.


IPv4-compatible tunnels or 6over4 tunnels. As in the IPv6 address to identify the end
defined in RFC 2893, these tunnel point of the tunnel and setup tunnel
mechanisms automatically set up tunnels automatically (Figure 10).
based on the IPv4-compatible IPv6
ISATAP (Intra-Site Automatic Tunnel Addressing
addresses. An IPv4-compatible IPv6
Protocol) tunnels. As defined in draft-ietf-
address defines the left-most 96 bits as
ngtrans-isatap-16, ISATAP tunneling is very
zero, followed by an IPv4 address
similar to 6to4 tunneling, but is designed
embedded in the last 32 bits. For example,
for use in a local site or campus network.
0:0:0:0:0:0.64.23.45.21 is an IPv4-
The ISATAP address contains the 64-bit
compatible address.
network prefix, 0000:5EFE, and an IPv4
6to4 tunnels. As defined by RFC 3056, 6to4 address identifying the address of the
tunneling uses an IPv4 address embedded tunnel end point (Figure 11).

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 13


16 16
32 bits 64 bits
bits bits
2002 IPv4 address subnet interface ID

Figure 10. 6to4 tunneling address format.

64 bits 32 bits 32 bits

subnet prefix 00005EFE IPv4 address

Figure 11. ISATAP tunneling address format.


MPLS (Multi-Protocol Label Switching) tunnels. less reconfiguration of core routers,
Using MPLS technology, isolated IPv6 providing a very cost-effective way to
domains can communicate with each deploy IPv6. Additionally, MPLS’s inherent
other over a MPLS IPv4 core network. VPN and traffic engineering services allow
Because MPLS forwarding is based on IPv6 networks to be combined into VPNs or
labels rather than the IP header itself, this extranets over an infrastructure supporting
implementation requires far fewer IPv4 VPNs and MPLS-TE.
backbone infrastructure upgrades and

IPv6 Challenges Expectations for IPv6 are high: it is • Deliverable Quality of Service.
perceived as the protocol of the next • Improved network security.
generation Internet, replacing today’s
legacy IPv4-based networks. As described Network equipment manufacturers (NEMs)
above, IPv6 deploys a new data plane to fix face the challenge of building routers to
various addressing and efficiency support both IPv6 and IPv4 networks, with
problems with IPv4, and a new routing two sets of control and data planes. This
control plane to effectively make use of the can add significant resource requirements
new addresses. The impact of the new to routers supporting dual stacks,
data and control planes on today’s impacting router performance and
networks is significant. Failures or scalability. Additional transition
interruption are unacceptable in mission- mechanisms like tunneling and
critical networking environments. application/address translation add
complexity to router design.
Network operators and service providers
are facing tough questions – when and For end users, IPv6 improves productivity
how to migrate to IPv6? To answer these by enabling network connectivity via a
questions with certainty, they need wider range of media and delivery
assurance that in their particular mechanisms. But for general acceptance,
networks, IPv6 will provide: the new IPv6 networks must demonstrate
responsiveness at least equal to that of
• Rapid expansion needed for more
IPv4. In addition, while several end user
users and devices.
environments and applications like
• Smooth transition and coexistence Windows XP, Linux, and sendmail support
with IPv4. IPv6 today, more applications are needed
• Robust network failure recovery. to enhance IPv6’s overall acceptance.

14 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Why Test IPv6 Testing to ensure interoperability test methodology that can characterize
Technology? Network operators and service providers
data plane performance, including such
metrics as:
need to understand how well new IPv6
equipment will behave in multi-vendor • Throughput.
environments. Most of the roadblocks to • Packet loss.
initial IPv6 deployment involve • Latency.
interoperability among different vendor
• Jitter.
equipment as well as between IPv6 and
IPv4 systems. The need for test tools to and control plane performance metrics
identify and isolate problems prior to such as:
deployment is too critical for operators to • Size of forwarding information base.
ignore. For NEMs, providing interoperable • Routing scalability.
products is a key element to success with
• Route convergence.
the introduction of any new technology.
The fear of incompatibility problems • Routing stability.
between legacy IPv4 infrastructure and Initial IPv6 development will focus
multiple vendors’ IPv6 systems can only be primarily on the software level, to prove
dealt with via a thorough test methodology functionality. As the technology matures
to ensure interoperability. enough to mainstream deployment,
IPv6 is defined by over 60 IETF RFCs. The implementation will move down to the
implementation of very large and complex hardware level for the ultimate level of
RFCs is prone to misunderstanding and performance. The new IPv6 routing
misinterpretation. Conformance testing, protocols — like OSPFv3, RIPng, ISISv6 and
with a comprehensive and rigorous test MBGP+ — will need to process larger
methodology, increases product quality addresses and routes to achieve scalability
and customer confidence. Conformance similar to that of existing IPv4 networks.
testing also saves time and money, by NEMs, service providers, and network
allowing vendors to verify a product’s operators must properly characterize
design throughout the entire product life scalability in order to understand the
cycle. Problems can be identified earlier in impact of the new IPv6 design and to
development, reducing costly last-minute prevent bottlenecks. Tunneling will be a
rework and post-deployment problems. key technology to interconnect IPv6 islands
during the early stage of IPv6 deployment.
Testing to characterize performance The scalability and performance of a
bottlenecks tunneling mechanism depends on the
Once the IPv6 network is up and running, number of tunnels a device can handle;
the next major concern is how well it will this metric must be monitored and
perform. IPv6 introduces new control and measured.
data planes, along with transitional To characterize the performance
technologies like tunneling and dual-stack bottlenecks of a new IPv6 design properly
support. A precise understanding of requires a test bed that can overrun the
performance inefficiencies and limitations performance and scalability limitations of
is essential for networks planners and a device or system under test. Creating
operators in designing their networks. such a test bed from hundreds of routers
NEMs are always under pressure to deliver or switches is prohibitively expensive and
more performance and scalability per difficult to manage. NEMs and service
dollar from their equipment. Both NEMs providers need test tools that can simulate
and network operators can benefit from a real-world network conditions affordably

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 15


and manageably. To stress test both the of routers and also generate wire-speed
control and data planes adequately, the traffic.
test tool is required to emulate hundreds

Test Solution IPv6 test tools must be able to perform a used in today’s IPv4 and transitional IPv6
Requirements wide variety of functions to adequately test networks, including OSPFv2, OSPFv3, IS-
and validate IPv6 devices and systems. For IS, IS-ISv6, RIP, RIPng, BGP and MBGP+.
conformance testing, the test solution These routing protocols are used to
must be able to fully exercise the control advertise the underlying network
plane of the device or system under test. topologies over which the IPv6 network is
For performance and scalability testing, established.
the test solution must be able emulate
Ability to generate and analyze tunneled traffic
IPv6-capable routers at the control plane
– dual stack data plane
level and scale up for large capacity
testing. The solution must also be able to IPv6 test tools must be able to fully stress
drive wire-speed traffic through the system the dual-stack data planes of dual stack
at the data plane level to fully stress the routers in addition to IPv6-only scenarios.
device being tested. The test tool must:

Optimized hardware platform • Generate and analyze IPv4 and IPv6


packets at wire-speed.
While simple router emulation can be run
• Allow composing and editing of IPv6
on PCs or workstations, an optimized test
and IPv6 over IPv4 tunnel packets.
system is needed to provide complete
testing capabilities and high levels of • Measure data throughput, data
scalability. For example, to emulate a large integrity, packet latency, and jitter on
network, a network interface on a test tool all packet types.
must support hundreds or even thousands • Be sufficiently flexible in packet
of IP interfaces and MAC addresses — encapsulation and decapsulation to
requirements that standard off-the-shelf support various tunneling schemes,
hardware cannot support. Purpose-built such as GRE, MPLS, 6to4, 6over4, and
test hardware is required to provide the ISATAP.
flexibility and scalability needed to test • Integrate with the control plane
IPv6 systems adequately. emulation of the test tool and be able
Dual stack routing protocol emulation to target traffic to the IPv4 and IPv6
routes advertised by the routing
The IPv6 test tools must be able to emulation.
emulate the full range of routing protocols

16 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Ixia’s Approach to IPv6 conformance testing injection, IPv6 routing protocols, and traffic
IPv6 Testing Ixia has addressed the challenges of
transmission. In this way, large and
complex topologies can be simulated to
protocol conformance testing by
test the DUT/SUT in realistic system
developing IxANVL (Ixia Automated
environments, with a minimum of
Network Validation Library), the industry
hardware requirements. For example, in
standard conformance test suite. For
Figure 12, four Ixia test interfaces are
protocol conformance testing, IxANVL
connected to the DUT with numerous
supports over 30 protocols overall, and the
routers being emulated per interface.
IPv6 conformance test suite contains over
500 test cases to validate routers and Ixia has developed two primary
hosts. IxANVL provides positive as well as applications for IPv6 performance testing,
negative test cases against the RFCs that IxExplorer and IxScriptMate, each with a
specify these standards. Negative tests distinct testing focus.
help validate device response to “killer
IxExplorer. IxExplorer provides a high level
packets.”
of flexibility and functionality in protocol
IxANVL performs its tests as a dialog: it emulation, traffic generation, and analysis.
sends packets to the router being tested, IxExplorer is the primary controlling
receives the packets sent in response, and application for Ixia’s purpose-built
then analyzes the response to determine hardware test platform, allowing detailed
the next action to take. This allows IxANVL configuration of protocols and analysis of
to test complicated situations or reactions test results.
in a much more intelligent and flexible way
Within IxExplorer, a comprehensive set of
than can be done by simple packet
IPv6 routing protocols is supported,
generation and capture devices.
including OSPFv3, IS-ISv6, RIPng, and
IxANVL can run on standalone MBGP+ as well as multicast protocol MLD.
workstations or via Ixia’s optimized test IxExplorer controls the protocols’ operation
platforms. IxANVL can be completely on Ixia’s test hardware architecture, which
automated using a scripting interface, and supports a CPU running Linux on each test
IxANVL source code is also available to port. This dedicated emulation
users for customization, allowing a great environment allows hundreds of dual-stack
degree of testing flexibility. routers to be emulated on each network
interface. Hundreds of thousands of routes
IPv6 scalability and performance testing
can be advertised from each interface,
The general methodology employed by Ixia and line rate traffic can be generated over
for testing the scalability and performance the established connections. Alternatively,
of IPv6 routers involves first surrounding Ixia’s IxChariot product can be used to
the device or system under test (DUT/SUT) transmit emulated enterprise application
with Ixia hardware test interfaces. The Ixia traffic over the IPv6 routers or network
system then emulates everything else being tested to measure end-to-end
needed to test the device, including other application response times.
IPv6/IPv4 dual stack routers, IP route

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 17


Ixia port Ixia port

IX IA IX IA IX I A
IX IA

IX IA IX I A IX IA IX IA IX I A

IX IA
IX IA IX IA IX I A

DUT

IX IA

IX IA IX I A IX IA

IX IA Ixia port Ixia port IXIA


= emulated router

Figure 12. Ixia router simulation.


IxScriptMate. IxScriptMate provides a scalability. IxScriptMate simplifies the
framework for running automated test configuration process by defining a
scenarios. Numerous test suites have configuration for the test and displaying
been developed within the IxScriptMate the relevant parameters for user input.
environment for testing IPv6 and IPv4 Tests then run automatically, and the
traffic throughput performance, latency, results are presented to the user.
tunneling and routing performance, and

Conclusion Though the benefits of IPv6 are well and strategies will be used to ease the
understood, the cost of overhauling the pains and minimize investment into IPv6
existing IPv4 infrastructure is prohibitive deployment.
for many network operators and service
The need for better test tools and
providers. The current attitude toward IPv6
methodology is essential for the success of
in the US market could be characterized as
IPv6. Both NEMs and network operators
“IPv4 is working. Why change?” The real
rely on test tools to identify design flaws
driving force for IPv6 will come from
and interoperability issues. Ixia’s expertise
countries and regions whose only choice
in testing has been a large contributor to
for global competitiveness in the next
the success of the IPv4 Internet, and Ixia’s
decade is to change to larger address
comprehensive test tools provide the
space. The path to complete global IPv6
power and flexibility to manage the
connectivity will be lengthy and full of
transition to IPv6.
challenges. Many transitional schemes

18 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Appendix: Sample Several sample test plans are presented in hardware, with one or two test interfaces
IPv6 Test Plans this appendix, showing how Ixia’s solutions (see Figure 13). The Ixia test platform will
address the challenges of IPv6 testing. emulate either hosts or routers in IPv6 and
IPv4 mode, depending on the
1. IPv6 Conformance Test
configuration of each test case.
Objective: Verify the DUT’s compliance with
Methodology:
the following features defined in various
IxANVL runs a number of test cases
RFCs:
against the DUT based on the direct
• IPv6 (RFC 2460). interpretation of various IPv6 RFCs.
• Transmission of IPv6 Packets over 1. Configure each IxANVL network
Ethernet Networks (RFC 2464). interface with the appropriate
• IPv6 over PPP (RFC 2474). network parameters, including those
• ICMPv6 (RFC 2463). of the DUT such as IP address, MAC
• Stateless Address Autoconfiguration address, gateway, etc.
(RFC 2462). 2. Specify configuration of the DUT,
• Path MTU Discovery (RFC 1981). typically via command scripts such
as Expect scripts. IxANVL is able to
• Neighbor Discovery Protocol (RFC
automatically execute the scripts to
2461).
configure the DUT before, during or
• Multicast Listener Discovery (RFC after the test.
2710).
3. Select a set of test cases to run in
• Tunneling (RFC 2529, RFC 2893, and IxANVL (Figure 14).
RFC 3056).
4. Run IxANVL in a batch mode with the
Additional test suites are available for command scripts, reconfiguring the
legacy IPv4 and IPv6 routing. Both IPv6 DUT as required between test cases
and IPv4 should be tested in a dual stack to match the IxANVL test setup.
implementation.
Result: Number of tests passed/failed,
Test setup: An IxANVL Linux workstation including reasons for failed cases (see
connects directly to the DUT, or via Ixia test Figure 15).

Linux
workstation

DUT

Figure 13. IPv6 conformance test setup.

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 19


Figure 14. IxANVL conformance test cases.

Figure 15. IxANVL test results.

20 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


2. IPv6/IPv4 Forwarding Performance Test 1. Connect appropriate Ixia load
modules with the DUT. Try to match
Objective: Characterize the performance of
the DUT’s port density.
the data plane in forwarding IPv6 and IPv4
traffic. IETF RFC2544 defines how to 2. Run IxScriptMate on the client
characterize data plane performance. Ixia console. Select RFC2544 test.
has implemented the RFC2544 test in 3. Configure appropriate port and
IxScriptMate. Four tests have been traffic parameters for each one of
developed to support RFC2544: RFC2544 tests. Set the protocol type
• The back-to-back test determines how as IPv6 under Traffic Setup menu
the DUT responds to different (Figure 17).
quantities of frames with the minimum 4. Execute all four tests to characterize
gap allowed by the protocol IPv6 performance.
specification.
Mixed traffic with IPv4. Testers can run
• The frame loss test determines how another instance of IxScriptMate on the
the DUT responds to streams with same console. The second IxScriptMate
different loading. will run the same RFC2544 test with
• The throughput test finds the highest additional ports assigned to generate and
rate at which the DUT can forward measure IPv4 performance. Users can
frames. adjust the number of ports running IPv6
• The latency test reveals how much traffic (with the first instance of
processing overhead the DUT requires IxScriptMate), and the number of ports
to forward frames. running IPv4 traffic (with the second
instance of IxScriptMate). The goal is to
Test setup: A minimum of two Ixia ports will generate a mixed IPv6 and IPv4 traffic to
be used for this test, in conjunction with stress a dual-stack DUT.
the IxScriptMate RFC2544 test (see Figure
16). Test inputs:
• Packet length.
Methodology: This test will involve several
test ports to match the DUT’s port density. • Offered load.
Ideally, the test should flood traffic to every • IPv6 and IPv4 mixed ratio.
input port of the DUT. A number of Ixia load
Results:
modules will be connected to the DUT.
Ixia’s IxScriptMate is used to perform the • Throughput.
RFC 2544 benchmark test. • Latency.
• Packet loss.

IPv4 packets IPv4 packets

DUT
IPv6 packets dual stack router IPv6 packets

Figure 16. Packet forwarding performance test setup.

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 21


Figure 17. Configuring port and traffic parameters.

22 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


3. Tunneling Functional Test 3. Set up the IPv6 traffic stream, with
the proper data integrity signature.
Objective: Verify correct encapsulation and
decapsulation between IPv6 and IPv4. 4. Set up the receiving port to measure
the tunnel traffic. Set up a capture
Test setup: Two Ixia ports will be connected buffer to analyze tunneled packets.
to the DUT for this test – one to generate
IPv6 traffic and a second one to monitor Test inputs:
IPv6 over IPv4 tunnels (see Figure 18). The • Offered load.
IxExplorer application will be used to • Packet length.
generate and analyze IP packets. Various
• Packet headers and payload.
tunneling schemes will be exercised.
• Address range.
Methodology:
Results (see Figure 19):
1. Configure the DUT to support the
tunneling scheme under test. • Header and payload integrity check.

2. Set up one Ixia port to generate IPv6 • Packet loss.


traffic with IPv6 addresses properly • Address translation – verify the IPv4
configured to match the tunneling addresses.
schemes supported by the DUT.

IPv6 dual stack router IPv6 / IPv4


packets packets

DUT

IPv6 transport IPv4 IPv6 transport


data data
header header header header header

Figure 18. Tunneling functional test setup.

frame loss observed

data integrity check

Figure 19. Tunneling functional test results.

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 23


4. Tunneling Performance Test manually configured tunnels, IPv4-
compatible tunnels, 6to4 tunnels,
Objectives: Characterize the DUT’s
and ISATAP tunnels.
performance in encapsulating and
decapsulating IPv6 tunneled traffic. 2. Set up the appropriate test
IxScriptMate supports three tests for parameters under IxScriptMate.
tunneling performance: 3. Repeat steps 1 and 2 for different
• The Tunnel Capacity Test finds how tunneling schemes supported by the
many frames the DUT loses with DUT.
various numbers of tunnels. 4. Execute all three tests to
• The Tunnel Frame Loss Test finds how characterize performance.
many frames the DUT loses at various Test Inputs (see Figure 21):
frame rates.
• Tunnel end points — IPv6 and IPv4
• The Tunnel Throughput Test searches addresses.
for the maximum rate at which the
• Tunneling methods — Manually
DUT receives and forwards frames
configured, IPv4-compatible, 6to4, and
with no frame loss.
ISATAP.
Test setup: A minimum of two Ixia ports will • The number of tunnels (required for
be used in this test, in conjunction with the tunnel capacity test).
IxScriptMate IPv6 Tunneling Test. It uses
• Maximum transmit rate.
IPv6 tunnels with pairs of ports with one-
to-one traffic mapping; one port transmits • Loss tolerance.
to one receive port. Users can specify • Frame sizes.
multiple pairs of test ports to increase the Results (see Figure 22):
loading. The transmit ports generate IPv6
• Frame loss.
packets and the receive ports expect IPv6
over IPv4 tunnel traffic. See Figure 20. • Tunnel throughput.
• Latency.
Methodology:
• Packet integrity error.
1. Configure the DUT to support the
tunneling scheme under test. • Packet sequence error.
IxScriptMate currently supports

Figure 20. Tunneling performance test setup.

24 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Figure 21. Tunneling performance test parameters.

Figure 22. Tunneling performance test results.

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 25


5. IPv6 Routing Performance and Scalability over how the routes will be set up,
Test including the mandatory and
optional BGP attributes for each
Objectives: Characterize the performance
route.
and the scalability of the IPv6 control
plane. The IPv6 routing protocols, such as 4. Start up the BGP emulation; observe
MBGP4+, will be tested and characterized. all the routes that are registered and
The Ixia test tool emulates many peers/ propagated by the DUT.
adjacencies and routes behind each test 5. Set up automatic traffic streams to
port; therefore, many complicated test target all the advertised routes. Verify
scenarios can be done with only a few test that the DUT can deliver traffic to the
ports. The typical tests in this category are: proper destination based on the
• Forwarding Information Base. emulated topologies.
• Routing Scalability. 6. Flap the emulated routes to simulate
Internet instability (see Figure 24).
• Route Convergence.
7. Repeat the test procedure for
• Routing Stability.
OSPFv3, IS-ISv6 and RIPng.
Test setup: IxExplorer will be used to
Test inputs: The size of the emulated
emulate multiple BGP peers and routes
topology can be adjusted to meet different
behind each physical port. A minimum of
test scenarios by varying:
two Ixia test ports will be connected to the
DUT for this test. Users can add more Ixia • The number of emulated routers.
ports to match the DUT’s capacity. See • The number of peers/adjacencies.
Figure 23. • The number of routes or LSA/LSP.
Methodology: • The routes or links attributes.
1. Configure a number of IPv6 • The duration and frequency of route
addresses that will be emulated by flapping.
an Ixia port under the Protocol
Results: The key measurement goal is to
Interfaces folder.
determine the DUT’s capability to forward
2. Configure a number of BGP peers traffic correctly under heavy loading and
under the BGP protocol folder. The with dynamic fluctuation in the control
user can easily increase the number plane. Typical measurements are:
of peers in a spreadsheet setting.
• Packet loss.
3. Configure a number of routes for
• Packet sequence error.
each BGP peer (see Figure 24).
Again, the user has complete control • Misdirected packets.

IX IA IX IA IX IA IX IA

IXIA I X IA
IX IA IX IA IX IA IX IA

DUT
dual stack
router
IX I A I X IA

Figure 23. Routing performance and scalability test.

26 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


emulated routers

emulated peers

Figure 24. Ixia emulates multiple BGP peers with advertised routes

Figure 25. Emulated routes can be flapped to simulate Internet instability.

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 27


Glossary
Care-Of-Address (COA) A temporary IP address for a mobile device, the COA
enables message delivery when the device is
connecting from outside its home network. The care-of
address identifies the device’s current point of
attachment to the Internet and makes it possible to
connect from a different location without changing the
device's permanent IP address: messages sent to the
known permanent address are rerouted to the care-of
address while the recipient can be reached there.

Classless Inter-Domain Routing CIDR allocates and specifies the Internet addresses
(CIDR) used in inter-domain routing more flexibly than was
possible with the original system of IPv4 address
classes. As a result, the number of available Internet
addresses has been greatly increased.

Correspondent Node A peer node with which a mobile node is


communicating. The correspondent node may be
either mobile or stationary.

Dynamic Host Configuration A communications protocol. DHCP automates the


Protocol (DHCP) assignment of IP addresses in an organization's
network. DHCP lets a network administrator supervise
and distribute IP addresses from a central point and
automatically sends a new IP address when a
computer is plugged into a different place in the
network.

Exterior Gateway Protocol (EGP) A protocol that distributes routing information to the
routers that connect networks.

Foreign Agent (FA) (In Mobile IP,) a router serving as a mobility agent for a
mobile node. A foreign agent works in conjunction with
another type of mobility agent known as a home agent
to support Internet traffic forwarding for a device
connecting to the Internet from outside its home
network.

Generic Routing Encapsulation A protocol that allows one network protocol to be


(GRE) transmitted over another network protocol, by
encapsulating the packets to be transmitted within
GRE packets.

Intermediate System to An OSI/IP routing protocol, IS-ISv6 is the new version


Intermediate System (IS-ISv6) that supports IPv6 addressing. MPLS traffic
engineering parameters can be distributed with IS-IS
using extensions to the protocol (IS-IS-TE).

28 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing


Internet Control Message An extension to IP that allows for the generation of
Protocol v6 (ICMPv6) error messages, test packets, and informational
messages related to IP.

Internet Gateway Protocol (IGP) Protocol that distributes routing information to the
routers within a network. The term “gateway” is
historical; “router” is currently the preferred term.
Example IGPs are OSPF, IS-IS and RIP.

Intra-Site Automatic Tunnel An IPv6 transition mechanism, ISATAP allows IPv6-in-


Addressing Protocol (ISATAP) IPv4 tunnels to be created automatically within a site.
To obtain address and routing information, each host
queries an ISATAP router within the site.

Maximum Transfer Unit (MTU) The largest size packet or frame that can be sent in a
packet- or frame-based network such as the Internet.
If the MTU size is too large, the packet may encounter
a router that can't handle the packet, resulting in
retransmission. Too small an MTU size means
relatively more header overhead and more
acknowledgements that have to be sent and handled.

Mobile Node A node that can change its point of attachment from
one link to another, while still being reachable via its
home address.

Multi-Protocol Border Gateway MBGP+ enhances BGP to support more types of


Protocol Plus (MBGP+) advertised routes, including IPv6 routes.

Network Address Translation The translation of an Internet Protocol address used


(NAT) within one network to a different IP address known
within another network. This allows duplicate IP
addresses to be used within an organization and
unique addresses outside.

Open Shortest Path First A link-state routing protocol used by IP routers located
(OSPF)v3 within a single Autonomous System (AS) to determine
routing paths. OSPFv3 is the version supports IPv6
addresses.

Routing Information Protocol An Internet routing protocol that uses hop count as a
next generation (RIPng) routing metric. RIP is the most common IGP used in
the Internet. RIPng is the new version that supports
IPv6 addresses.

Acknowledgements Authors: Dean Lee, Elliott Stewart

IPv6: Conformance and Performance Testing Copyright © 2004, Ixia 29


30 Copyright © 2004, Ixia IPv6: Conformance and Performance Testing

S-ar putea să vă placă și