11 Configuring a Tunnel with Generic Routing Encapsulation
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
GRE Tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
Advantages and Disadvantages of GRE . . . . . . . . . . . . . . . . . . . . . . . . 11-3
Configuring GRE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Creating the Tunnel Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Configuring the Tunnel's Source and Destination and
IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Configuring the Tunnel Source . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-5
Configuring the Tunnel Destination . . . . . . . . . . . . . . . . . . . . . . . 11-6
Configuring the Tunnel's IP Address . . . . . . . . . . . . . . . . . . . . . . . 11-7
Configuring the Tunnel Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
Specifying Tunnel Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
Sending Routing Updates over the Tunnel . . . . . . . . . . . . . . . . . . 11-8
Sending Multicasts over the Tunnel . . . . . . . . . . . . . . . . . . . . . . . 11-9
Filtering Traffic that Arrives on the Tunnel . . . . . . . . . . . . . . . . 11-11
Enabling Checksum Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-12
Troubleshooting GRE Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13
The Tunnel Goes Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13
The Router Does Not Receive Traffic through the Tunnel . . . . . . . 11-14
The Router Does Not Receive Routing Updates . . . . . . . . . . . . . . . . 11-14
Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-15
xxi