.. _example_vpn_ipsec_site-to-site_peer_tunnel_install_site-to-site: ############ Site-To-Site ############ .. sidebar:: Contents .. contents:: :depth: 1 :local: This scenario shows how to configure and connect two subnets with each other through a VPN tunnel and automatically configure the negotiated remote prefixes as routes. ``DUT0`` acts as a responder and ``DUT1`` as a initiator. .. image:: sitetosite.svg :width: 400 *********************************************** Test Site-To-Site With Basic Route Installation *********************************************** Description =========== In this scenario, both devices install routes for the VPN traffic in the ``main`` table. Scenario ======== .. include:: site-to-site/testsite-to-sitewithbasicrouteinstallation .. raw:: html
********************************************* Test Site-To-Site With VRF Route Installation ********************************************* Description =========== In this scenario, ``DUT0`` install reoutes in a separate VRF called ``LAN``. Scenario ======== .. include:: site-to-site/testsite-to-sitewithvrfrouteinstallation .. raw:: html
***************************************************** Test Site-To-Site With Route Installation And Metrics ***************************************************** Description =========== In this scenario, ``DUT0`` installs routes with differents metrics for both IPsec peers. The point is to check if the routes are installed correctly and most importantly, whenever the prioritized route is down, the backup route is used. Scenario ======== .. include:: site-to-site/testsite-to-sitewithrouteinstallationandmetrics .. raw:: html