6rd Configuration Example

From DocWiki

(Difference between revisions)
Jump to: navigation, search
(CE)
(BR)
Line 21: Line 21:
ipv6 general-prefix DELEGATED_PREFIX 6rd Tunnel0
ipv6 general-prefix DELEGATED_PREFIX 6rd Tunnel0
interface Loopback0
interface Loopback0
-
ip address 10.0.0.1 255.255.255.0
+
ip address 10.0.0.1 255.255.255.0
!
!
interface Tunnel0
interface Tunnel0
-
tunnel source Loopback0
+
tunnel source Loopback0
-
tunnel mode ipv6ip 6rd
+
tunnel mode ipv6ip 6rd
-
tunnel 6rd ipv4 prefix-len 8
+
tunnel 6rd ipv4 prefix-len 8
-
tunnel 6rd prefix 2001:db80::/32
+
tunnel 6rd prefix 2001:db80::/32
-
ipv6 address DELEGATED_PREFIX::/128 anycast
+
ipv6 address DELEGATED_PREFIX::/128 anycast
!
!
ipv6 route 2001:db80::/28 Tunnel0
ipv6 route 2001:db80::/28 Tunnel0

Revision as of 17:14, 4 November 2010

Contents

Introduction

6rd is a IPv6 transitioning mechanism to allow for stateless tunneling of IPv6 over IPv4. It is intended as a mechanism to tunnel across an ISP's IPv4 only access network.

This example shows the configuration of a 6rd Border Relay (BR) and the configuration of the corresponding 6rd Customer Edge (CE) router. 6rd is specified in RFC5969.

Design

6rd topology.png

Configuration

BR

ipv6 general-prefix DELEGATED_PREFIX 6rd Tunnel0
interface Loopback0
 ip address 10.0.0.1 255.255.255.0
!
interface Tunnel0
 tunnel source Loopback0
 tunnel mode ipv6ip 6rd
 tunnel 6rd ipv4 prefix-len 8
 tunnel 6rd prefix 2001:db80::/32
 ipv6 address DELEGATED_PREFIX::/128 anycast
!
ipv6 route 2001:db80::/28 Tunnel0
ipv6 route 2001:db80:0:100::/56 Null0

CE

ipv6 general-prefix DELEGATED_PREFIX 6rd Tunnel0
interface Dialer0
 ip address dhcp  ! (10.0.0.10)
!
interface Tunnel0
 tunnel source Dialer0
 tunnel mode ipv6ip 6rd
 tunnel 6rd ipv4 prefix-len 8
 tunnel 6rd prefix 2001:db80::/28
 tunnel 6rd br 10.0.0.1
 ipv6 address DELEGATED_PREFIX ::/128 anycast
!
interface Ethernet0
 ipv6 address DELEGATED_PREFIX ::/64 eui-64
!
ipv6 route 2001:db80::/28 Tunnel0
ipv6 route ::/0 Tunnel0, 2001:db80:a000:0010::
ipv6 route 2001:db80:0:A00::/56 Null0

Related show Commands

This section provides information you can use to confirm your configuration is working properly.

Certain show commands are supported by the Output Interpreter Tool (registered customers only), which allows you to view an analysis of show command output.


Show running-config

Related Information

Technical Support & Documentation - Cisco Systems

Rating: 3.0/5 (3 votes cast)

Personal tools