.. _example_vpn_ipsec_site-to-site_peer_dhcp-interface_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 set up between the two gateways. One end-point receives the local IP through DHCP. .. image:: sitetosite.svg :width: 400 ******************************************* Test Site-To-Site Responder With Dynamic IP ******************************************* Description =========== Simple VPN site-to-site configuration to connect two subnets. ``DUT0`` acts as a responder so it only sets the tunnel up when an incoming connection is received. Instead of listening on a pre-configured IP address, the local end-point IP is received through DHCP. Scenario ======== .. include:: site-to-site/testsite-to-siteresponderwithdynamicip .. raw:: html
******************************************* Test Site-To-Site Initiator With Dynamic IP ******************************************* Description =========== Simple VPN site-to-site configuration to connect two subnets. ``DUT0`` acts as a initiator, so it automatically attempts to start the tunnel as soon as a local IP address is assigned through DHCP. Scenario ======== .. include:: site-to-site/testsite-to-siteinitiatorwithdynamicip .. raw:: html