Configure SPOKE2
The final step is to configure SPOKE2.
In this example, you create the tunnel interface and the tunnel endpoint on SPOKE2.
- The tunnel interface tun0 on HUB is assigned the IP address 200.0.0.2 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.33/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. |
|
Map the IP address of the tunnel interface of the Hub to its physical IP address. |
|
Specify that this spoke should register itself automatically on startup. |
|
Specify that multicast packets are to be repeated to each statically configured next hop. |
|
Specify that Cisco-style NHRP Traffic Indication packets are to be sent. |
|
Specify that shortcut routes can be created. |
|
Specify an authentication key for the tunnel. |
|
Commit the configuration. |
|
View the configuration. |
|
Create a static route to access the remote LAN behind HUB through the tunnel. |
|
Create a static route to access the remote LAN behind SPOKE1 through the tunnel. |
|
Commit the configuration. |
|
View the configuration. |
|