Table Of Contents
CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
Prerequisites for CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
Information About Tunneling IPv4 and IPv6 Packets over CLNS Networks
How to Configure CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
Configuring CTunnels in GRE Mode to Carry IPv4 and IPv6 Packets in CLNS Networks
Configuration Examples for CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets
Configuring CTunnels in GRE mode to Carry IPv6 Packets in CLNS: Example
CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
Support of the GRE tunnel mode allows Cisco CTunnels to transport IPv4 and IPv6 packets over CLNS-only networks in a manner that allows Cisco networking equipment to interoperate with networking equipment from other vendors. This feature provides compliance with RFC 3147.
History for CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
•
Information About Tunneling IPv4 and IPv6 Packets over CLNS Networks
•
How to Configure CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
•
Configuration Examples for CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets
Prerequisites for CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
Both ends of a CTunnel must be configured with the same mode for packets to be successfully delivered.
Information About Tunneling IPv4 and IPv6 Packets over CLNS Networks
Configuring the ctunnel gre mode command on a CTunnel interface enables IPv4 and IPv6 packets to be tunneled over CLNS in accordance with RFC 3147. Compliance with this RFC should allow interoperation between Cisco equipment and that of other vendors in which the same standard is implemented.
RFC 3147 specifies the use of GRE for tunneling packets. The implementation of this feature does not include support for GRE services defined in header fields, such as those used to specify checksums, keys, or sequencing. Any packets received which specify the use of these features will be dropped.
The default CTunnel mode continues to use the standard Cisco encapsulation which will tunnel only IPv4 packets. If you want to tunnel IPv6 packets you must use the new GRE encapsulation mode. Both ends of the tunnel must be configured with the same mode for either method to work.
How to Configure CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks
This section includes the following configuration task:
•
Configuring CTunnels in GRE Mode to Carry IPv4 and IPv6 Packets in CLNS Networks
Configuring CTunnels in GRE Mode to Carry IPv4 and IPv6 Packets in CLNS Networks
This task explains how to configure a CTunnel in GRE mode to transport IPv4 and IPv6 packets in a CLNS network.
Prerequisites
•
An IPv4 or IPv6 address is configured on a CTunnel interface, and manually configured CLNS addresses are assigned to the CTunnel destination.
•
The host or router at each end of a configured CTunnel must support both the IPv4 and IPv6 protocol stacks.
•
The CTunnel source and destination must both be configured to run in the same mode.
Restrictions
GRE services such as those used to specify checksums, keys, or sequencing are not supported. Packets requesting use of those features will be dropped.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface ctunnel interface-number
4.
ip address ip-address
or
ipv6 address ipv6-prefix/prefix-length [eui-64]
5.
ctunnel destination remote-nsap-address
6.
ctunnel mode gre
7.
exit
DETAILED STEPS
What to Do Next
To verify correct configuration of IPv4 or IPv6 over a CLNS CTunnel feature, perform the following steps:
Step 1
On Router A, ping the IP address of the CTunnel interface of Router B.
Step 2
Step 2 On Router B, ping the IP address of the CTunnel interface of Router A.
Configuration Examples for CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets
The following example shows how to configure a CTunnel which will carry IPv6 packets over a CLNS network.
•
Configuring CTunnels in GRE mode to Carry IPv6 Packets in CLNS: Example
Configuring CTunnels in GRE mode to Carry IPv6 Packets in CLNS: Example
The following example configures a GRE CTunnel running both IS-IS and IPv6 traffic between router A and router B in a CLNS network. The ctunnel mode gre command allows tunnelling between Cisco and third-party networking devices and carries both IPv4 and IPv6 traffic.
The ctunnel mode gre command provides a method of tunneling compliant with RFC 3147 and should allow tunneling between Cisco equipment and third-party networking devices.
Router A
ipv6 unicast-routingclns routinginterface ctunnel 102ipv6 address 2001:0DB8:1111:2222::1/64ctunnel destination 49.0001.2222.2222.2222.00ctunnel mode greinterface Ethernet0/1clns router isisrouter isisnet 49.0001.1111.1111.1111.00Router B
ipv6 unicast-routingclns routinginterface ctunnel 201ipv6 address 2001:0DB8:1111:2222::2/64ctunnel destination 49.0001.1111.1111.1111.00ctunnel mode greinterface Ethernet0/1clns router isisrouter isisnet 49.0001.2222.2222.2222.00To turn off the GRE mode and restore the CTunnel to the default Cisco encapsulation routing only between endpoints on Cisco equipment, use either the no ctunnel mode command or the ctunnel mode cisco command. The following example shows the same configuration modified to transport only Iv4 traffic:
Router A
ipv6 unicast-routingclns routinginterface ctunnel 102ip address 10.2.2.5 255.255.255.0ctunnel destination 49.0001.2222.2222.2222.00ctunnel mode ciscointerface Ethernet0/1clns router isisrouter isisnet 49.0001.1111.1111.1111.00Router B
ip routingclns routinginterface ctunnel 201ip address 10.0.0.5 255.255.255.0ctunnel destination 49.0001.1111.1111.1111.00ctunnel mode ciscointerface Ethernet0/1clns router isisrouter isisnet 49.0001.2222.2222.2222.00
Where to Go Next
Refer to the Cisco IOS Network Protocols 3: CLNS for more information about CLNS and CTunnels.
Additional References
The following sections provide references related to CLNS Support for GRE Tunneling of IPv4 and IPv6 Packets in CLNS Networks.
Related Documents
Standards
MIBs
MIBs MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Command Reference
This section documents a modified command.
ctunnel mode
To transport IPv4 and IPv6 packets over Connectionless Network Service (CLNS) tunnel (CTunnel), use the ctunnel mode command in interface configuration mode. To return the ctunnel to the default cisco mode, use the no form of this command.
ctunnel mode [gre | cisco]
no ctunnel mode
Syntax Description
gre
(Optional) Sets the ctunnel mode to Generic Routing Encapsulation (GRE) for transporting IPv6 packets over the CLNS network.
cisco
(Optional) Returns the ctunnel mode to the default cisco.
Command Default
Cisco encapsulation
Command Modes
Interface configuration
Command History
Usage Guidelines
GRE tunneling of IPv4 and IPv6 packets through CLNS-only networks enables Cisco ctunnels to interoperate with networking equipment from other vendors. This feature provides compliance with RFC 3147, Generic Routing Encapsulation over CLNS Networks, which should allow interoperation between Cisco equipment and that of other vendors. in which the same standard is implemented.
RFC 3147 specifies the use of GRE when tunneling packets. The implementation of this feature does not include support for GRE header fields such as those used to specify checksums, keys, or sequencing. Any packets received which specify the use of these features will be dropped.
The default ctunnel mode continues to use the standard Cisco encapsulation. Both ends of the tunnel must be configured with the same mode for it to work. If you want to tunnel ipv6 packets you must use the new gre mode.
Examples
The following example configures a CTunnel from one router to another and shows the CTunnel destination set to 49.0001.1111.1111.1111.00. The ctunnel mode is set to gre to transport IPv6 packets.
interface ctunnel 301ipv6 address 2001:0DB8:1111:2222::2/64ctunnel destination 49.0001.1111.1111.1111.00ctunnel mode greRelated Commands
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2004-2006 Cisco Systems, Inc. All rights reserved.
