liveBook · Manning

Site-to-site VPN

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

A site-to-site VPN is a VPN that connects two geographically separate sites through a non-private network using persistent tunnels between gateway devices.

A site-to-site VPN connects two geographically separate sites across a non-private network such as the public internet. It uses a persistent virtual tunnel between gateway routers so hosts at either site can communicate securely without running VPN software themselves. section 16.3.1 section 16.3.2

Core behavior and exam-relevant characteristics:

  • Uses IPsec most commonly to encrypt traffic and create a secure virtual pathway between the two gateway devices. section 16.3.1
  • Keeps the tunnel active until the relevant router configurations are removed, making it suitable for permanent site connectivity. section 16.3.1
  • Encrypts the original packet, encapsulates it with an IPsec header and a new IP header, and sends it through the public network. section 16.3.1 section 16.4
  • Supports many hosts within the connected sites, unlike a remote access VPN, which creates a separate tunnel for each end-user device. section 16.3 section 16.3.2
  • Carries unicast traffic with IPsec; combines GRE with IPsec when broadcast or multicast support is required. section 16.4
  • Uses DMVPN to reduce the labor and configuration-error risk of manually building a full mesh of IPsec tunnels. section 16.4

Packet flow between two sites

R1 receives a packet destined for SRV1, encrypts it, and encapsulates it inside a new packet addressed to R2. R2 de-encapsulates and decrypts the packet, then forwards it to SRV1. The physical bits still cross the internet; the tunnel is a virtual pathway rather than a new physical route. section 16.3.1

Figure 16.14 A tunnel is created by encapsulating a packet inside of another packet. This outer packet provides a “tunnel” for the inner packet to travel through without being exposed to the internet.

Visualizes tunneling as an inner packet encapsulated inside an outer packet, clarifying how traffic crosses the public network without exposing the inner packet. section 16.3.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains persistent tunnels, encryption, encapsulation, traffic limits, GRE integration, and DMVPN, but does not provide configuration commands.
Examples
Uses R1, R2, and SRV1 to trace encryption, encapsulation, de-encapsulation, decryption, and delivery.
What it assumes
Assumes familiarity with LANs, routers, IP packets, and public networks while defining VPN and tunneling behavior explicitly.
What you can do after
Evaluate site-to-site VPN designs by protocol, persistence, host coverage, traffic type, and tunnel topology.
How it connects
Connects IPsec with tunneling, GRE, DMVPN, and remote access VPNs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.