Adding routes for route-based VPNs

To configure routing for VPNs that use Route-Based VPN Tunnel elements, add remote networks that can be reached through the VPN tunnel to the tunnel interfaces. The routing defines which traffic is sent through the VPN tunnel.

Routing for route-based VPNs does not use Router or NetLink elements. Instead, you add the remote networks that are reachable through the VPN tunnel directly to the tunnel interfaces as if they were directly connected networks. Routes to local networks that are directly connected to the tunnel interface are automatically added if the tunnel interface has an IP address with a netmask other than the /32 host netmask.

For example, if a tunnel interface has 10.1.1.1/24 as the IP address and netmask, an automatic route to the 10.1.1.0/24 network is added for the tunnel interface.