FortiGate SD-WAN lab 6 of 14
Hub-and-spoke IPsec overlays with BGP
Build the classic SD-WAN overlay: a dial-up hub with one IPsec overlay per ISP, two branches with a tunnel over each of their ISPs, iBGP with the hub as route reflector, an overlay zone measured by a health check to the hub's loopback, and a lowest-cost rule that moves corporate traffic to the other overlay when one degrades.
Run this lab
It needs Standard: its 8 nodes are set to 8 vCPU and 9,216 MB in total.
In your workspace: Shared, then FortiGate SD-WAN guided labs, then 06 - Hub-and-spoke IPsec overlays with BGP
- Level
- Advanced
- Time
- About 100 minutes
- Nodes need
- 8 vCPU, 9,216 MB
- Smallest plan
- Standard
The scenario
Kestrel Logistics is joining its depots to head office. HQ's FortiGate (HUB) and both depots (BR1 Leeds, BR2 Bristol) already have SD-WAN on their two ISPs for internet access, as in labs 01 to 03. Now each depot needs an IPsec overlay to HQ over each ISP, so that losing or degrading one ISP never cuts a depot off. Routing will be BGP, so new depots join without anyone editing HQ.
| Device | ISP-A (port1) | ISP-B (port2) | LAN (port3) | Overlay A / B tunnel address |
|---|---|---|---|---|
| HUB | 203.0.113.1 | 192.0.2.1 | 10.1.10.1/24, H1 .50 | 172.16.1.254 / 172.16.2.254, loopback Lo 10.200.0.1 |
| BR1 | 203.0.113.2 (through WAN) | 192.0.2.2 | 10.2.10.1/24, H2 .50 | 172.16.1.2 / 172.16.2.2 |
| BR2 | 203.0.113.3 | 192.0.2.3 | 10.3.10.1/24, H3 .50 | 172.16.1.3 / 172.16.2.3 |
| Item | Value |
|---|---|
| Hub dial-up tunnels | OL_A on port1, OL_B on port2 |
| Spoke tunnels | HUB_A to 203.0.113.1 on port1, HUB_B to 192.0.2.1 on port2 |
| IPsec | IKEv2, pre-shared key LabVpnKey1!, proposal des-sha256, DH group 14 |
| BGP | AS 65000; HUB is route reflector for 172.16.1.0/24 and 172.16.2.0/24 |
| Spoke SD-WAN | zone overlay, members 3 (HUB_A) and 4 (HUB_B), health check HUB_HC to 10.200.0.1 |
Evaluation licence. These FortiGates run with low-strength encryption only, so IPsec offers DES only (
des-md5todes-sha512). The lab usesdes-sha256with DH group 14 so the tunnels work. Never use DES in production: use AES-256-GCM (aes256gcm-prfsha384) with DH group 19, 20 or 21.
What you’ll practise
- Design overlays: one IPsec tunnel per underlay, a dial-up hub and tunnel addresses
- Configure a dial-up hub with net-device disable and exchange-interface-ip, and spokes with tunnel addresses
- Run iBGP over both overlays with the hub as route reflector and BGP multipath on the spokes
- Put the tunnels in an SD-WAN overlay zone, probe the hub's loopback and steer corporate traffic
- Prove spoke-to-hub and spoke-to-spoke traffic and an overlay failover
The tasks
- Start the lab
- Plan the overlay
- The hub's dial-up overlays
- The spokes' tunnels and overlay zone
- BGP over both overlays
- Test, then degrade overlay A at Leeds
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- HUB
port1to ISP-A (network) - HUB
port2to ISP-B (network) - HUB
port3to H1eth0 - BR1
port1to WANeth0 - WAN
eth1to ISP-A (network) - BR1
port2to ISP-B (network) - BR1
port3to H2eth0 - BR2
port1to ISP-A (network) - BR2
port2to ISP-B (network) - BR2
port3to H3eth0 - INET
eth0to ISP-A (network) - INET
eth1to ISP-B (network)
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| HUB | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
| BR1 | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
| BR2 | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
| INET | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| WAN | Alpine WAN emulator | clbalpinewanem-alpine-wanem-3-20-3 | 1 vCPU, 512 MB |
| H1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| H2 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| H3 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
FortiGate SD-WAN guided labs.Open
06 - Hub-and-spoke IPsec overlays with BGPand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More FortiGate SD-WAN labs
Related labs in other courses
CloudLabBox is independent of Fortinet. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.