Configuring Routes of DSVPN
The routes forwarded by a tunnel must be available on Spokes and the Hub so that packets encapsulated with mGRE can be forwarded correctly. These routes can be static routes or dynamic routes.
DSVPN supports the following route learning modes:
Route learning between Spokes (non-shortcut)
The next-hop address of the route from the source Spoke to the destination Spoke is the tunnel address of the destination Spoke, and each Spoke needs to learn the route to the remote end. This consumes many CPU and memory resources and requires large routing tables and high performance on Spokes. In practice, the Spokes have low performance and store a limited number of routes. The route learning solution applies to small- and medium-sized networks where there are fewer network nodes and a small number of routes.
mGRE tunnels between Spokes are set up in non-shortcut mode.
Spoke routes summarized to the Hub (shortcut mode)
The next-hop address of the route from the source Spoke to the destination Spoke is the tunnel address of the Hub, and Spokes only need to store routes to the Hub. The number of routes of Spokes is reduced, so the route learning solution applies to large-sized networks with many Spokes.
mGRE tunnels between Spokes are set up in shortcut mode.
Static routes and dynamic routing protocols can be deployed in the preceding two route learning modes. DSVPN supports OSPF and BGP.
Perform the following configurations on the Hub and Spokes.