Implementing IP in IP Tunnel

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

Implementing VXLAN. Prerequisites for implementing VXLANs. Information about Implementing VXLAN

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

Implementing Management Plane Protection

Static Routing Commands

Contents. Configuring GRE 1

Implementing IEEE 802.1ah Provider Backbone Bridge

QoS: Policing Support for GRE Tunnels

VXLAN Commands. Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release 5.2.x 1

Implementing MPLS Layer 3 VPNs

Position of IP and other network-layer protocols in TCP/IP protocol suite

Implementing MPLS VPNs over IP Tunnels

Contents. Configuring GRE 1

Table of Contents Chapter 1 Tunneling Configuration

IPv6 over IPv4 GRE Tunnels

Classifying and Marking MPLS EXP

Manually Configured IPv6 over IPv4 Tunnels

IP Tunneling. GRE Tunnel IP Source and Destination VRF Membership. Tunnel VRF CHAPTER

Configuring IP Tunnels

IPv6 over IPv4 GRE Tunnels

IPv6 over IPv4 GRE Tunnels

Configuring BPDU tunneling

tunnel destination through tunnel source

Implementing Tunnels. Finding Feature Information

Configuring ARP. Prerequisites for Configuring ARP. Restrictions for Configuring ARP

Configuring Traffic Mirroring

Configuring Traffic Mirroring

Multicast Routing and Forwarding Commands

Multiprotocol Label Switching

Implementing the ERSPAN Analytics Feature on Cisco Nexus 6000 Series and 5600 Platform Switches

IPv4 and IPv6 Commands

L2 Bridging Across an L3 Network Configuration Example

IPv6 over IPv4 GRE Tunnel Protection

Configure Virtual LANs in Layer 2 VPNs

Cisco. Maintaining Cisco Service Provider VPNs and MPLS Networks (MSPVM)

Configuring Routed Pseudowire and VPLS

Configuring Multiprotocol Label Switching (MPLS)

Cloud e Datacenter Networking

Configuring Modular QoS on Link Bundles

Introduction to MPLS APNIC

TTL Propagate Disable and Site-ID Qualification

BGP-MVPN SAFI 129 IPv6

This document is not restricted to specific software and hardware versions.

Cloud e Datacenter Networking

Introduction to MPLS. What is MPLS? 1/23/17. APNIC Technical Workshop January 23 to 25, NZNOG2017, Tauranga, New Zealand. [201609] Revision:

Implementing MPLS Static Labeling

The Cisco ASR 9000 Series Routers Carrier Ethernet Model

Configuring Cache Services Using the Web Cache Communication Protocol

Alcatel-Lucent 4A Alcatel-Lucent Services Architecture.

IPv6 Sampled NetFlow feature was introduced. Destination-based Netflow Accounting feature was introduced.

Configuring the Satellite nv Optical Shelf System

BGP mvpn BGP safi IPv4

Configuring multicast VPN

Traffic Mirroring Commands on Cisco ASR 9000 Series Router

Cisco ASR 9000 Series Aggregation Services Router Netflow Command Reference, Release 4.3.x

N:1 PVC Mapping to PWE with Nonunique VPIs

Configuring Web Cache Services By Using WCCP

Configuring IPv6 multicast routing and forwarding 1

IEEE 802.1ah on Provider Backbone Bridges

Marking Traffic CHAPTER

Pre-Fragmentation for IPSec VPNs

MPLS VPN over mgre. Finding Feature Information. Last Updated: November 1, 2012

GRE Tunnel with VRF Configuration Example

Configuring Traffic Mirroring

Static NAT Mapping with HSRP

Implementing Static Routes on Cisco IOS XR Software

Higher scalability to address more Layer 2 segments: up to 16 million VXLAN segments.

Implementing GMPLS UNI

Configuring Virtual Private LAN Services

ASR 5000 Series ICMP Packet Generation from the CLI and Fragmentation Identification

Cisco IOS IPv6. Cisco IOS IPv6 IPv6 IPv6 service provider IPv6. IPv6. data link IPv6 Cisco IOS IPv6. IPv6

Command Manual (For Soliton) VLAN-VPN. Table of Contents

GRE Tunnel APPLICATION NOTE

E : Internet Routing

Implementing MPLS Forwarding

DMVPN for R&S CCIE Candidates Johnny Bass CCIE #6458

Enterprise. Nexus 1000V. L2/L3 Fabric WAN/PE. Customer VRF. MPLS Backbone. Service Provider Data Center-1 Customer VRF WAN/PE OTV OTV.

Multicast VPN using BIER

Flexible NetFlow - MPLS Support

Multiprotocol Label Switching (MPLS)

Packetization Layer Path Maximum Transmission Unit Discovery (PLPMTU) For IPsec Tunnels

MPLS LSP Ping/Traceroute for LDP/TE, and LSP Ping for VCCV

Configuring Multicast VPN Extranet Support

LISP Router IPv6 Configuration Commands

Implementing Integrated Routing and Bridging

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

Chapter 5 OSI Network Layer

BGP Cost Community. Prerequisites for the BGP Cost Community Feature

Configuring MLPPP. Finding Feature Information

Implementing Static Routes

Internet Protocol version 6

Cisco IP Fragmentation and PMTUD

HP Routing Switch Series

Configuring Flow Aware QoS

OSPF Commands on Cisco ASR 9000 Series Router

MLDP In-Band Signaling/Transit Mode

Chapter 20 Network Layer: Internet Protocol 20.1

Configuring MPLS L2VPN

A-B I N D E X. backbone networks, fault tolerance, 174

Configuring MPLS L2VPN

Transcription:

This chapter module provides conceptual and configuration information for IP in IP tunnels on Cisco ASR 9000 Series Router. Note For a complete description of the IP in IP tunnel commands listed in this chapter, see the Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference. To locate documentation of other commands that appear in this chapter, use the command reference master index, or search online. Table 1: Feature History for IP in IP tunnel Release Modification Release 5.3.1 This feature was introduced on Cisco ASR 9000 Series Router. IP in IP Tunneling, page 1 Configuring IP in IP Tunnel, page 2 IP in IP Tunneling: Examples, page 4 IP in IP Tunneling IP in IP tunneling refers to the encapsulation of an IP packet as a payload in another IP packet. ASR9K routers support IP in IP tunnels with all possible combinations of IPv4 and IPv6; that is, IPv4 over IPv4, IPv6 over IPv4, IPv4 over IPv6, and IPv6 over IPv6. For example, an IPv4 over IPv6 refers to an IPv4 packet as a payload encapsulated within an IPv6 packet and routed across an IPv6 network to reach the destination IPv4 network, where it is decapsulated. IP in IP tunneling does not require any additional header such as a GRE header used in the GRE tunnels. So, IP in IP tunneling is preferred over GRE tunnels if both the networks are IP networks. 1

Restrictions Restrictions The following are not supported in IP in IP tunnels: MPLS Multicast packets Keep-Alive packets Path MTU (Maximum Transmission Unit) discovery DF (Do not Fragment) bit configuration in IPv6 tunnel mode. Note If DF bit is configured for the tunnel interface, you cannot enable IPv6 tunnel mode. Configuring IP in IP Tunnel Perform the following steps to configure an IP in IP tunnel. SUMMARY STEPS 1. configure 2. interface tunnel-ip tunnel-id 3. {ipv4 ipv6} address ip-address 4. tunnel mode {ipv4 ipv6} 5. tunnel source {interface-id ipv4/v6-address} 6. tunnel destination ipv4/v6-address 7. (Optional) tunnel df-bit {copy disable} 8. (Optional) tunnel tos tos-value 9. commit DETAILED STEPS Step 1 Command or Action configure Purpose Enters the Global Configuration mode. RP/0/RSP0/CPU0:router# configure 2

Configuring IP in IP Tunnel Step 2 Step 3 Command or Action interface tunnel-ip tunnel-id RP/0/RSP0/CPU0:router(config)# interface tunnel-ip 1 {ipv4 ipv6} address ip-address Purpose Creates a tunnel interface and enters the tunnel configuration sub-mode. The tunnel-id is the numeric identifier for the tunnel interface. Sets the IPv4 or IPv6 address, as required, for the tunnel interface. RP/0/RSP0/CPU0:router(config-if)# ipv6 address 10::1/64 Step 4 Step 5 Step 6 Step 7 Step 8 Step 9 tunnel mode {ipv4 ipv6} mode ipv6 tunnel source {interface-id ipv4/v6-address} source GigabitEthernet0/0/0/0 tunnel destination ipv4/v6-address destination 100::2 (Optional) tunnel df-bit {copy disable} df-bit disable (Optional) tunnel tos tos-value tos 1 commit Sets the tunnel mode as IPv4 or IPv6. This states the tunnel is in an IPv4 or IPv6 transport network. Specifies an IP address or an interface that serves as the tunnel source. The encapsulated packet uses this IP address as the source address. If the tunnel mode is set to IPv4 or IPv6, an IPv4 or IPv6 address is selected as a tunnel source address from the specified source interface respectively. Specifies the destination IP address for the tunnel. The encapsulated packet uses this IP address as the destination address. Note This is valid only for a tunnel that uses an IPv4 transport network. Configures the DF bit value for the outer IP packet. For details on this tunnel df-bit command, see the Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference. Sets the TOS value for the outer IP packet in the tunnel. For details on this tunnel tos command, see the Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference. 3

IP in IP Tunneling: Examples IP in IP Tunneling: Examples The following examples provide configurations for an IPv4 or IPv6 tunnel, with the transport VRF as the default VRF for the following simplified network topology. Figure 1: IP in IP tunnel network topology Configuration example for an IPv4 tunnel 4

IP in IP Tunneling: Examples PE1 Router Configuration Link between PE1-PE2 ipv4 address 100.1.1.1/64 Link between CE1-PE1 ipv4 address 20.1.1.1/24 ipv6 address 20::1/64 ipv4 address 10.1.1.1/24 ipv6 address 10::1/64 tunnel mode ipv4 tunnel destination 100.1.1.2 30.1.1.0/24 tunnel-ip1 30::0/64 tunnel-ip1 PE2 Router Configuration Link between PE1-PE2 ipv4 address 100.1.1.2/64 Link between PE2-CE2 ipv4 address 30.1.1.1/24 ipv6 address 30::1/64 ipv4 address 10.1.1.2/24 ipv6 address 10::2/64 tunnel mode ipv4 tunnel destination 100.1.1.1 20.1.1.0/24 tunnel-ip1 20::0/64 tunnel-ip1 CE1 Router Configuration Link between CE1-PE1 ipv4 address 20.1.1.2 255.255.255.0 ipv6 address 20::2/64 30.1.1.0/24 20.1.1.1 30::0/64 20::1 CE2 Router Configuration Link between CE2-PE2 ipv4 address 30.1.1.2 255.255.255.0 ipv6 address 30::2/64 20.1.1.0/24 30.1.1.1 20::0/64 30::1 Configuration example for an IPv6 tunnel 5

IP in IP Tunneling: Examples PE1 Router Configuration Link between PE1-PE2 ipv6 address 100::1/64 Link between CE1-PE1 ipv4 address 20.1.1.1/24 ipv6 address 20::1/64 ipv4 address 10.1.1.1/24 ipv6 address 10::1/64 tunnel mode ipv6 tunnel destination 100::2 30.1.1.0/24 tunnel-ip1 30::0/64 tunnel-ip1 CE1 Router Configuration Link between CE1-PE1 ipv4 address 20.1.1.2 255.255.255.0 ipv6 address 20::2/64 30.1.1.0/24 20.1.1.1 30::0/64 20::1 PE2 Router Configuration Link between PE1-PE2 ipv6 address 100::2/64 Link between PE2-CE2 ipv4 address 30.1.1.1/24 ipv6 address 30::1/64 ipv4 address 10.1.1.2/24 ipv6 address 10::2/64 tunnel mode ipv6 tunnel destination 100::1 20.1.1.0/24 tunnel-ip1 20::0/64 tunnel-ip1 CE2 Router Configuration Link between CE2-PE2 ipv4 address 30.1.1.2 255.255.255.0 ipv6 address 30::2/64 20.1.1.0/24 30.1.1.1 20::0/64 30::1 6