Layer-3 GRE Tunnels
The benefit of Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnels is that broadcasts are not flooded through the tunnel, so there is less wasted bandwidth and less load on the managed devices. The forwarding method for a Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel is routing. By default, GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnels are in IPv4 Layer-3 mode.
Figure 1 IPv4 Layer-3 GRE Tunnel
Figure 2 IPv6 Layer-3 GRE Tunnel
|
|
IPv6 encapsulated in IPv4 and IPv4 encapsulated in IPv6 are not supported. The only Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. modes supported are IPv4 encapsulated in IPv4 and IPv6 encapsulated in IPv6. |
The following sections describe:
The traffic flow illustrated by and is as follows:
1. The frame enters the source managed device (Controller-1) on VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. 101.
The IP packet within the frame is routed through Controller-1 into the Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel.
2. The IP packet is encapsulated in a GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. packet.
3. The GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. packet enters the network on VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. 10, is routed across the network to destination managed device (Controller-2), and then exits the network on VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. 20.
The source IP address of the GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. packet is the IP address of the interface in VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. 10 in Controller 1.
4. The IP packet is de-encapsulated and routed out of the destination managed device (Controller-2) on VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. 202.
ArubaOS does not support the following functions for static IPv6 Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnels:
IPv6 Auto-configuration and IPv6 Neighbor Discovery mechanisms do not apply to IPv6 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnels.
The tunnel encapsulation limit and MTUMaximum Transmission Unit. MTU is the largest size packet or frame specified in octets (eight-bit bytes) that can be sent in networks such as the Internet. discovery options are not supported on IPv6 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnels.
In the WebUI
The following steps describe the procedure configure an IPv4 Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel for Controller-1 and Controller-2 via the WebUI.
1. In the source node hierarchy, select Controller-1
1. Navigate to > > . The page is displayed.
2. Create a new GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel by clicking + below the GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. Tunnel table, or edit an existing GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel by selecting that entry in the GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. Tunnel table. The configuration options appear.
3. Click the IP Version drop-down list and select IPv4 or IPv6.
4. Enter the corresponding GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel values for the controller.
To configure an IPv4 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel , use values for Controller-1 based on the network shown in .
To configure an IPv6 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel , use values for Controller-1 based on the network shown in .
|
|
If a VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. interface has IPv6 addresses configured, one of them is used as the tunnel source IPv6 address. If the selected IPv6 address is deleted from the VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. interface, then the tunnel source IP address is reconfigured with the next available IPv6 address. |
5. (Optional for IPv4 or IPv6 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. Tunnels) Select to enable tunnel keepaliveSignal sent at periodic intervals from one device to another to verify that the link between the two devices is working. If no reply is received, data will be sent by a different path until the link is restored. A keepalive can also be used to indicate that the connection should be preserved so that the receiving device does not consider it timed out and drop it. heartbeats. For more information on this feature, see GRE Tunnels
6. Click .
7. Click .
8. In the window, select the check box and click
9. Next, log into Controller-2 and navigate to
10. Create a new GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel by clicking + below the GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. Tunnel table, or edit an existing GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel by selecting that entry in the GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. Tunnel table. The configuration options appear.
11. Enter the corresponding GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel values for this controller.
To create an IPv4 L3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel, use the values for Controller-2 as shown in .
To create an IPv6 L3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel, use the values for Controller-2 as shown in .
12. (Optional for IPv4 or IPv6 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. Tunnels) Select to enable tunnel keepaliveSignal sent at periodic intervals from one device to another to verify that the link between the two devices is working. If no reply is received, data will be sent by a different path until the link is restored. A keepalive can also be used to indicate that the connection should be preserved so that the receiving device does not consider it timed out and drop it. heartbeats.
13. Click .
14. Click .
15. In the window, select the check box and click .
In the CLI
The following command examples configure an IPv4 Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel for IPv4 between two controllers.
Referring to , the following are the required configurations to create the IPv4 Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel between controllers named Controller-1 and Controller-2:
(host) [mynode] (config) # interface tunnel 104
description “IPv4 L3 GRE 104"
trusted
tunnel
mode gre ip
ip address 1.1.1.1 255.255.255.255
source vlan 10
destination 20.20.20.249
(host) [mynode] (config) # interface tunnel 204
description “IPv4 L3 GRE 204"
trusted
tunnel
mode gre ip
ip address 1.1.1.2 255.255.255.255
source vlan 20
destination 10.10.10.249
The following command example configures a Layer-3 GREGeneric Routing Encapsulation. GRE is an IP encapsulation protocol that is used to transport packets over a network. tunnel for IPv6:
(host) [mynode] (config) # interface tunnel 106
description “IPv6 Layer-3 GRE 106"
trusted
tunnel
tunnel mode gre ipv6
ipv6 address 2001:1:2:1::1
tunnel source ipv6 vlan 10
tunnel destination ipv6 2001:1:2:2020::1
(host) [mynode] (config) # interface tunnel 206
description “IPv6 Layer-3 GRE 206"
trusted
tunnel
tunnel mode gre ipv6
ipv6 address 2001:1:2:1::2
tunnel source ipv6 vlan 20
tunnel destination ipv6 2001:1:2:1010::1
Was this information helpful?
Great! Thanks for the feedback
Sorry about that! How can we improve it? Send your comments and suggestions!