Ipv6 Tunnel Feature Overview Guide
Ipv6 Tunnel Feature Overview Guide
IPv6 Tunneling
Feature Overview and Configuration Guide
Introduction
This guide describes IPv6 Tunneling and its configuration, as specified in RFC2473.
IPv6 Tunneling is a mechanism for encapsulating IPv4 and IPv6 packets inside IPv6 packets.
Contents
Introduction .........................................................................................................................................1
Products and software version that apply to this guide ...............................................................1
To see whether your product supports IPv6 Tunneling, see the following documents:
These documents are available from the above links on our website at
alliedtelesis.com.
C613-22116-00
x REV A alliedtelesis.com
IPv6 Tunneling
IPv6 Tunnels are stateless and have no knowledge of the configuration or even existence of the
remote tunnel endpoint. Once an IPv6 Tunnel is configured, packets are encapsulated and
forwarded regardless of whether the decapsulating device is present or not.
IPv6 Tunneling allows hosts in one private IP network to communicate with hosts in another private
IP network by providing a tunnel between two routers across the Internet.
The IPv6 tunnel connection endpoints are terminated via a Virtual Tunnel Interface (VTI) configured in
each device.
Virtual A Virtual Tunnel Interface has similar characteristics to any other interface on the device. It is virtual
Tunnel because it does not directly map to any of the physical interfaces on the device, but instead is
Interface
actually the endpoint of a tunnel from another device. VTIs are commonly layer 3 interfaces, can
(VTI)
have IP configuration applied directly to them and are compatible with layer 3 routing protocols. The
actual tunneling mechanism depends on the protocol used (GRE, RFC2473, L2TP and so on), but
commonly uses IP as its transport.
Tunnel This is the outer or encapsulating IPv6 header. IPv6 Tunneling uses a standard IPv6 outer header
header and can be followed by extension headers as specified in IPv6 standards.
Payload This is the inner or encapsulated header. IPv6 Tunnels can be used to transport IPv4 and IPv6
header packets.
IP packets from the private IP network destined for a host in the private IP network are encapsulated
by Router A and forwarded to Router B. Intermediate routers route the packets using addresses in
the delivery protocol header. Router B extracts the original payload packet and routes it to the
appropriate destination within network.
IPv6 as the delivery protocol, used to transport the private data across the public network
Configurable hop limit TTL value for insertion into the outer header
Insert Encapsulation Limit Extension Header if inner packet contains that header
Configuration Example
This example shows how to configure a IPv6 tunnel between Device A and Device B. It assumes that
IP has been configured correctly and is operational on both devices.
The following table lists the parameter values in the example. Note public IP addresses are used in
this example.
Server Server
Configuring device A
Step 1: Assign an IP address for interface eth1.
awplus# configure terminal
awplus(config)# interface eth1
awplus(config-if)# ipv6 address 2001:db8::1:1/64
Configuring device B
Step 1: Assign an IP address for interface eth1.
awplus# configure terminal
awplus(config)# interface eth1
awplus(config-if)# ipv6 address 2001:db8::2:1/64
Verifying connectivity
You can use the ping command to verify that the tunnel is established:
You can use the show interface tunnel command to check that all settings are correctly configured:
C613-22116-00 REV A
NETWORK SMARTER
North America Headquarters | 19800 North Creek Parkway | Suite 100 | Bothell | WA 98011 | USA | T: +1 800 424 4284 | F: +1 425 481 3895
Asia-Pacific Headquarters | 11 Tai Seng Link | Singapore | 534182 | T: +65 6383 3832 | F: +65 6383 3830
EMEA & CSA Operations | Incheonweg 7 | 1437 EK Rozenburg | The Netherlands | T: +31 20 7950020 | F: +31 20 7950021
alliedtelesis.com
© 2018 Allied Telesis, Inc. All rights reserved. Information in this document is subject to change without notice. All company names, logos, and product designs that are trademarks or registered trademarks are the property of their respective owners.