01-30-2025 11:33 PM
Hello Community,
i want to build a Hub-Spoke Topology with dynamic VTIs. The final design is using BGP which is working perfectly. For testing i wanted to set a static route from HUB (with dyn vti) to Spoke. But i cannot select the dyn VTIinterface in the routing GUI. The interface is there and it is shown on cli. BGP is also working, i only cannot select it for static routing. Is it a bug or a feature ;-)?
thx for feedback.
Andre
01-31-2025 12:26 AM
Hello @andre.baumgarten
Tunnels are dynamically created when traffic flows, making them unsuitable for static routing in the GUI...
So, from my point of vieuw, this is not a bug but rather a limitation of how dynamic VTIs work. If your final design is already using BGP and working well, I’d recommend sticking with BGP instead of trying to force static routing in a scenario that isn't designed for it.
01-31-2025 12:45 AM - edited 01-31-2025 02:03 AM
Let me check this
Thanks for waiting
MHM
01-31-2025 01:28 AM
Dynamic Virtual Tunnel Interfaces (VTIs) are designed to work with dynamic routing protocols like BGP, rather than static routes. In a Hub-Spoke topology with dynamic VTIs, the inability to select the dynamic VTI interface for static routing in the GUI is likely by design, not a bug.
Dynamic VTIs are created on-demand and are not persistent interfaces. This makes them unsuitable for static routing, which requires a stable, always-present interface, The hub uses a virtual template for dynamic instantiation of IPsec interfaces. Each VPN session generates a unique virtual access interface, making it impractical to configure static routes for these temporary interfaces. Here is the link
If you need to test connectivity without using BGP, consider these options.
Use IKEv2 to push routes: Configure the route set interface command in your IKEv2 authorization policy to advertise routes over the VTI Here and Here
Use a loopback interface: Create a loopback interface with the IP address you want to use for the tunnel, then use ip unnumbered on the virtual template to borrow this IP. You might be able to create a static route to this loopback Here
For testing purposes only, you could configure a static VTI on the hub instead of a dynamic VTI, which would allow you to set static routes Here
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide