Two kinds of security
Different protection for different traffic.
Control connections protect the routing and configuration information. The tunnels between WAN Edges carry the users' traffic, and they have their own protection, which is the subject of this lesson.
Encapsulation choices
| Encapsulation | Encrypts? | Use |
|---|---|---|
| IPsec (ESP) | Yes, with authentication | Default; used over the internet and wherever privacy matters |
| GRE | No | Where encryption is unnecessary or applied elsewhere |
How the keys are shared
Keys travel through the control plane.
- WAN Edgecreates a key
- OMPadvertises it with the TLOC
- Peersreceive via the Controller
- Tunneltraffic is encrypted
Each WAN Edge generates a key for the traffic it will receive and advertises it with its TLOC through OMP. Peers use that key when sending to it. The design avoids a negotiation between every pair of sites, which is why large fabrics form tunnels quickly. Some releases also offer keys unique to each pair of devices, at the cost of more state. The key is replaced periodically, and the old one stays valid for a short overlap so traffic is not lost.
- The algorithms and authentication options differ by release and platform; check the security configuration guide.
- If certificates or control connections fail, new keys cannot be distributed, so tunnels eventually fail.
- An IPsec problem shows as a missing or flapping BFD session, covered in the next lesson.
BR-01#show sdwan ipsec outbound-connections SOURCE IP DEST IP SOURCE PORT DEST PORT ENCRYPT 203.0.113.10 198.51.100.20 12346 12346 AES-256-GCM
Learn more: Control Connections (DTLS and TLS)Overlay and TunnelsTLOC Components
Test yourself
Which protects user traffic between two WAN Edges by default?
How do peers learn the key for sending to a WAN Edge?