IP over IPv6 Tunnels. Information About IP over IPv6 Tunnels. GRE IPv4 Tunnel Support for IPv6 Traffic

Similar documents
IPv6 over IPv4 GRE Tunnels

IPv6 over IPv4 GRE Tunnels

IPv6 over IPv4 GRE Tunnels

MPLS over GRE. Finding Feature Information. Prerequisites for MPLS VPN L3VPN over GRE

Manually Configured IPv6 over IPv4 Tunnels

BGP-MVPN SAFI 129 IPv6

BGP mvpn BGP safi IPv4

Match-in-VRF Support for NAT

NAT Routemaps Outside-to-Inside Support

Fine-Grain NBAR for Selective Applications

BGP Graceful Shutdown

Using Flexible NetFlow Flow Sampling

Using Flexible NetFlow Flow Sampling

Flexible NetFlow - MPLS Support

Configuring System MTU

IPv6 Switching: Provider Edge Router over MPLS

Quality of Service for VPNs

Fine-Grain NBAR for Selective Applications

IPv6 Switching: Provider Edge Router over MPLS

DHCP Relay Server ID Override and Link Selection Option 82 Suboptions

IPv6 Multicast: Bootstrap Router

IS-IS IPv6 Administrative Tag

BGP Route-Map Continue

Flexible NetFlow IPFIX Export Format

BGP Named Community Lists

ACL Syslog Correlation

Sun RPC ALG Support for Firewalls and NAT

Sun RPC ALG Support for Firewalls and NAT

QoS Group Match and Set for Classification and Marking

IPv6 Multicast Listener Discovery Protocol

DHCP Client. Finding Feature Information. Restrictions for the DHCP Client

EIGRP Route Tag Enhancements

Autoroute Announce and Forwarding Adjacencies For OSPFv3

Autoroute Announce and Forwarding Adjacencies For OSPFv3

IPv6 Snooping. Finding Feature Information. Restrictions for IPv6 Snooping

Add Path Support in EIGRP

IS-IS Inbound Filtering

MPLS VPN Multipath Support for Inter-AS VPNs

Bulk Logging and Port Block Allocation

Configuring IP SLAs UDP Echo Operations

Restrictions for Disabling Flow Cache Entries in NAT and NAT64

VLANs over IP Unnumbered SubInterfaces

EIGRP Support for Route Map Filtering

Static NAT Mapping with HSRP

Regulating Packet Flow on a Per-Interface Basis Using Generic Traffic Shaping

Carrier Grade Network Address Translation

PIM Allow RP. Finding Feature Information. Restrictions for PIM Allow RP

EIGRP Stub Routing. Finding Feature Information. Information About EIGRP Stub Routing. EIGRP Stub Routing

Configuring NSF-OSPF

IPv6 First-Hop Security Binding Table

Server Groups in Outbound Dial Peers

You can specify IPv4 and IPv6 addresses while performing various tasks in this feature. The resource

Configuring IP SLAs TCP Connect Operations

FPG Endpoint Agnostic Port Allocation

Configuring IP SLAs FTP Operations

BGP-VPN Distinguisher Attribute

Flexible NetFlow Full Flow support

Multi-VRF Support. Finding Feature Information. Prerequisites for Multi-VRF Support

Object Tracking: IPv6 Route Tracking

Multicast only Fast Re-Route

IPv6 Neighbor Discovery

Nested Class Map Support for Zone-Based Policy Firewall

Configuring IP SLAs ICMP Echo Operations

Implementing IP in IP Tunnel

IPv6 Stateless Autoconfiguration

OSPFv3 Address Families

VRRPv3 Protocol Support

RFC 430x IPsec Support

QoS Tunnel Marking for GRE Tunnels

DHCPv6 Individual Address Assignment

Port-Shaper and LLQ in the Presence of EFPs

DHCPv6Relay LightweightDHCPv6RelayAgent

Configuring the Cisco IOS DHCP Relay Agent

ibgp Multipath Load Sharing

Ethernet over GRE Tunnels

Proxy Mobile IPv6 Support for MAG Functionality

An IPv6 unicast address is an identifier for a single interface, on a single node. A packet that is sent to a unicast

HSRP MD5 Authentication

OSPFv3 Address Families

OSPFv3 Address Families

Firewall Stateful Inspection of ICMP

IPv6 Multicast Listener Discovery Protocol

Configuring IP SLAs ICMP Path Echo Operations

Configuring Cache Services Using the Web Cache Communication Protocol

AAA Server Groups. Finding Feature Information. Information About AAA Server Groups. AAA Server Groups

BGP Dynamic Neighbors

Configuring IP SLAs ICMP Path Echo Operations

BGP Event-Based VPN Import

Configuring IP SLAs ICMP Echo Operations

IPv6 Snooping. Finding Feature Information. Restrictions for IPv6 Snooping

SSL Custom Application

Mapping of Address and Port Using Translation

Configuring Firewall TCP SYN Cookie

BGP Cost Community. Prerequisites for the BGP Cost Community Feature

DHCPv6Relay LightweightDHCPv6RelayAgent

DMVPN Event Tracing. Finding Feature Information

Stateful Network Address Translation 64

Flexible NetFlow IPv6 Unicast Flows

BGP Diverse Path Using a Diverse-Path Route Reflector

Configurable Number of Simultaneous Packets per Flow

Transcription:

IPv6 supports IP over IPv6 tunnels, which includes the following: Generic routing encapsulation (GRE) IPv4 tunnel support for IPv6 traffic IPv6 traffic can be carried over IPv4 GRE tunnels using the standard GRE tunneling technique that is designed to provide the services to implement any standard point-to-point encapsulation scheme. The primary use of GRE tunnels is for stable connections that require regular secure communication between two edge devices or between an edge device and an end system. The edge devices and the end systems must be dual-stack implementations. GRE support over IPv6 transport GRE has a protocol field that identifies the passenger protocol. GRE tunnels allow Intermediate System-to-Intermediate System (IS-IS) or IPv6 to be specified as a passenger protocol, which allows both IS-IS and IPv6 traffic to run over the same tunnel. VRF-aware IPv4/IPv6 over IPv6 tunnels - Virtual Routing and Forwarding (VRF)-aware tunnels are used to connect customer networks separated by untrusted core networks or core networks with different infrastructures (IPv4 or IPv6). Information About, page 1 How to Configure, page 2 Configuration Examples for, page 4 Additional References, page 8 Feature Information for, page 9 Information About GRE IPv4 Tunnel Support for IPv6 Traffic IPv6 traffic can be carried over IPv4 GRE tunnels using the standard GRE tunneling technique that is designed to provide the services to implement any standard point-to-point encapsulation scheme. As in IPv6 manually configured tunnels, GRE tunnels are links between two points, with a separate tunnel for each link. The tunnels are not tied to a specific passenger or transport protocol but, in this case, carry IPv6 as the passenger protocol with the GRE as the carrier protocol and IPv4 or IPv6 as the transport protocol. 1

GRE Support over IPv6 Transport The primary use of GRE tunnels is for stable connections that require regular secure communication between two edge devices or between an edge device and an end system. The edge devices and the end systems must be dual-stack implementations. GRE Support over IPv6 Transport GRE has a protocol field that identifies the passenger protocol. GRE tunnels allow Intermediate System-to-Intermediate System (IS-IS) or IPv6 to be specified as a passenger protocol, which allows both IS-IS and IPv6 traffic to run over the same tunnel. If GRE did not have a protocol field, it would be impossible to distinguish whether the tunnel was carrying IS-IS or IPv6 packets. The GRE protocol field makes it desirable to tunnel IS-IS and IPv6 inside GRE. How to Configure The following tasks describe how to configure an IPv6 tunnel. IPv6 or IPv4 packets can be forwarded on this tunnel. Configuring GRE IPv6 Tunnels Perform this task to configure a GRE tunnel on an IPv6 network. GRE tunnels can be configured to run over an IPv6 network layer and transport IPv6 and IPv4 packets through IPv6 tunnels. Note You must enable IPv6 or configure IPv6 MTU size more than 1500 on a tunnel's interface to avoid receiving warning messages. Before You Begin When GRE IPv6 tunnels are configured, IPv6 addresses are assigned to the tunnel source and the tunnel destination. The tunnel interface can have either IPv4 or IPv6 addresses (this is not shown in the task below). The host or device at each end of the configured tunnel must support both IPv4 and IPv6 protocol stacks. SUMMARY STEPS 1. enable 2. configure terminal 3. interface tunnel tunnel-number 4. tunnel source {ipv6-address interface-type interface-number} 5. tunnel destination ipv6-address 6. tunnel mode gre ipv6 7. end 2

Configuring GRE IPv6 Tunnels DETAILED STEPS Step 1 Step 2 Command or Action enable Device> enable configure terminal Purpose Enables privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Device# configure terminal interface tunnel tunnel-number Device(config)# interface tunnel 0 Specifies a tunnel interface and number and enters interface configuration mode. Step 4 Step 5 Step 6 Step 7 tunnel source {ipv6-address interface-type interface-number} Device(config-if)# tunnel source ethernet 0 tunnel destination ipv6-address Device(config-if)# tunnel destination 2001:0DB8:0C18:2::300 tunnel mode gre ipv6 Device(config-if)# tunnel mode gre ipv6 end Device(config-if)# end Specifies the source IPv6 address or the source interface type and number for the tunnel interface. Note If an interface type and number are specified, the interface must be configured with an IPv6 address. Only the syntax used in this context is displayed. For more details, see the IPv6 Command Reference. Specifies the destination IPv6 address for the tunnel interface. Note Only the syntax used in this context is displayed. For more details, see the IPv6 Command Reference. Specifies a GRE IPv6 tunnel. Note The tunnel mode gre ipv6 command specifies GRE as the encapsulation protocol for the tunnel interface. Only the syntax used in this context is displayed. For more details, see the IPv6 Command Reference. Exits interface configuration mode and returns to privileged EXEC mode. 3

Configuration Examples for Configuration Examples for IPv6 over IPv6 Tunnel Configuring CE1 ipv6 address 2001:DB8:2:1::1/64 ipv6 route 2001:DB8:2:5::/64 2001:DB8:2:1::2 ipv6 route 2001:DB8:2:9::/64 2001:DB8:2:1::2 Configuring PE1 interface Tunnel0 ipv6 address 2001:DB8:2:9::1/64 tunnel source 2001:DB8:2:2::1 tunnel mode ipv6 tunnel destination 2001:DB8:2:4::2 ipv6 address 2001:DB8:2:1::2/64 interface Ethernet1/1 ipv6 address 2001:DB8:2:2::1/64 ipv6 route 2001:DB8:2:3::/64 2001:DB8:2:2::2 ipv6 route 2001:DB8:2:4::/64 2001:DB8:2:2::2 ipv6 route 2001:DB8:2:5::/64 Tunnel0 2001:DB8:2:9::2 Configuring PE2 4

IPv6 over IPv6 Tunnel interface Tunnel0 ipv6 address 2001:DB8:2:9::2/64 tunnel source 2001:DB8:2:4::2 tunnel mode ipv6 tunnel destination 2001:DB8:2:2::1 ipv6 address 2001:DB8:2:5::1/64 interface Ethernet0/1 ipv6 address 2001:DB8:2:4::2/64 ipv6 route 2001:DB8:2:2::/64 2001:DB8:2:4::1 ipv6 route 2001:DB8:2:3::/64 2001:DB8:2:4::1 ipv6 route 2001:DB8:2:1::/64 Tunnel0 2001:DB8:2:9::1 Configuring CE2 ipv6 address 2001:DB8:2:5::2/64 ipv6 route 2001:DB8:2:1::/64 2001:DB8:2:5::1 ipv6 route 2001:DB8:2:9::/64 2001:DB8:2:5::1 Configuring Core Device 1 interface Ethernet1/0 ipv6 address 2001:DB8:2:3::1/64 interface Ethernet1/1 ipv6 address 2001:DB8:2:2::2/64 ipv6 route 2001:DB8:2:4::/64 2001:DB8:2:3::2 5

IPv4 over IPv6 Tunnel Configuring Core Device 2 interface Ethernet0/1 ipv6 address 2001:DB8:2:4::1/64 interface Ethernet1/0 ipv6 address 2001:DB8:2:3::2/64 ipv6 route 2001:DB8:2:2::/64 2001:DB8:2:3::1 IPv4 over IPv6 Tunnel Configuring CE1 ip address 192.168.1.1 255.255.255.0 ip route 192.168.5.0 255.255.255.0 192.168.1.2 ip route 192.168.9.0 255.255.255.0 192.168.1.2 Configuring PE1 interface Tunnel0 ip address 192.168.9.1 255.255.255.0 tunnel source 2001:DB8:2:2::1 tunnel destination 2001:DB8:2:4::2 tunnel mode ipv6 ip address 192.168.1.2 255.255.255.0 interface Ethernet1/1 ipv6 address 2001:DB8:2:2::1/64 6

IPv4 over IPv6 Tunnel ipv6 route 2001:DB8:2:3::/64 2001:DB8:2:2::2 ipv6 route 2001:DB8:2:4::/64 2001:DB8:2:2::2 ip route 192.168.5.0 255.255.255.0 Tunnel 0 192.168.9.2 Configuring PE2 interface Tunnel0 ip address 192.168.9.2 255.255.255.0 tunnel source 2001:DB8:2:4::2 tunnel destination 2001:DB8:2:2::1 tunnel mode ipv6 ip address 192.168.5.1 255.255.255.0 interface Ethernet0/1 ipv6 address 2001:DB8:2:4::2/64 ipv6 route 2001:DB8:2:2::/64 2001:DB8:2:4::1 ipv6 route 2001:DB8:2:3::/64 2001:DB8:2:4::1 ip route 192.168.1.0 255.255.255.0 Tunnel 0 192.168.9.1 Configuring CE2 ip address 192.168.5.2 255.255.255.0 ip route 192.168.1.0 255.255.255.0 192.168.1.2 ip route 192.168.9.0 255.255.255.0 192.168.1.2 Configuring Core Device 1 interface Ethernet1/0 7

Additional References ipv6 address 2001:DB8:2:3::1/64 interface Ethernet1/1 ipv6 address 2001:DB8:2:2::2/64 ipv6 route 2001:DB8:2:4::/64 2001:DB8:2:3::2 Configuring Core Device 2 interface Ethernet0/1 ipv6 address 2001:DB8:2:4::1/64 interface Ethernet1/0 ipv6 address 2001:DB8:2:3::2/64 ipv6 route 2001:DB8:2:2::/64 2001:DB8:2:3::1 Additional References Related Documents Related Topic Cisco IOS commands IPv6 commands IPv6 addressing and connectivity Cisco IOS IPv6 features Document Title Cisco IOS Master Command List, All Releases Cisco IOS IPv6 Command Reference IPv6 Configuration Guide Cisco IOS IPv6 Feature Mapping Standards and RFCs Standard/RFC RFCs for IPv6 Title IPv6 RFC 8

Feature Information for Technical Assistance Description The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. Link http://www.cisco.com/cisco/web/support/index.html Feature Information for The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Table 1: Feature Information for Feature Name Releases 12.2(30)S 12.2(33)SRA 12.3(7)T 12.4 12.4(2)T 15.0(1)S Cisco IOS XE Release 2.1 15.1(1)SY Feature Information feature is supported. The following commands were introduced or modified: tunnel destination, tunnel mode ipv6, tunnel mode gre ipv6, tunnel source. 9

Feature Information for 10