Configure EAST
In this example, you create the tunnel endpoint on EAST.
- The tun0 tunnel interface on EAST is assigned the 10.20.20.2 IP address on 10.20.20.0/24 network.
- The source IP address of the tunnel endpoint (local-ip) is the same as the address associated with the loopback interface (lo) in this example.
- The IP address of the other end of the tunnel (remote-ip) is the address of the loopback interface on WEST.
- A static route is created to specify how to get to the remote LAN through the tunnel.
The following table shows how to create the tunnel endpoint on EAST. To do this, perform the following steps on EAST in configuration mode.
Step | Command |
---|---|
Create the tunnel interface, and specify the IP address to be associated with it. |
|
Specify the source IP address for the tunnel. |
|
Specify the IP address of the other end of the tunnel |
|
Specify the encapsulation mode for the tunnel. |
|
Assign a brief description to the tunnel interface. |
|
Commit the configuration. |
|
View the configuration. |
|
Create a static route to access the remote subnet through the tunnel. |
|
Commit the configuration. |
|
View the configuration. |
|