Configure HUB
Two multipoint GRE tunnels are configured. One is between HUB and SPOKE1. The other is between HUB and SPOKE2. The first step is to configure HUB.
In this example, you create the tunnel interface and the tunnel endpoint on HUB.
- The tunnel interface tun0 on HUB is assigned the IP address 200.0.0.99 on subnet 200.0.0.0/24.
- The source IP address of the tunnel endpoint (the local-ip ) is the same as the address associated with the local Ethernet interface in this example (192.0.2.99/24).
- A static route is created to specify how to get to the remote LANs through the tunnel.
Step |
Command |
---|---|
Create the tunnel interface, and specify the IP address to be associated with it. |
|
Specify the encapsulation mode for the tunnel. |
|
Specify the source IP address for the tunnel. This address is the IP address of the physical interface for the tunnel endpoint. |
|
Allow multicast protocols (for example, routing protocols) to be carried over the tunnel. |
|
Specify an authentication key for the NHRP network. |
|
Specify the hold time for the NHRP network. |
|
Specify that multicast packets are to be forwarded to all directly connected peers. |
|
Specify that Cisco-style NHRP Traffic Indication packets are to be sent. |
|
Specify an authentication key for the tunnel. |
|
Commit the configuration. |
|
View the configuration. |
|
Create a static route to access the remote LAN behind SPOKE1 through the tunnel. |
|
Create a static route to access the remote LAN behind SPOKE2 through the tunnel. |
|
Commit the configuration. |
|
View the configuration. |
|