Destination Based Routing Examples - Fortinet FortiGate FortiGate-60R Installation And Configuration Manual

Antivirus firewall
Table of Contents

Advertisement

NAT/Route mode installation

Destination based routing examples

FortiGate-60R Installation and Configuration Guide
2
For the WAN1 interface, select Modify
Ping Server: 1.1.1.1
Select Enable Ping Server
Select OK
3
For the WAN2 interface, select Modify
Ping Server: 2.2.2.1
Select Enable Ping Server
Select OK
Using the CLI
1
Add a ping server to the WAN1 interface.
set system interface wan1 config detectserver 1.1.1.1 gwdetect
enable
2
Add a ping server to the WAN2 interface.
set system interface wan2 config detectserver 2.2.2.1 gwdetect
enable
This section describes the following destination-based routing examples:
Primary and backup links to the Internet
Load sharing
Load sharing and primary and secondary connections
Primary and backup links to the Internet
Use the following procedure to add a default destination-based route that directs all
outgoing traffic to Gateway 1. If Gateway 1 fails, all connections are re-directed to
Gateway 2. Gateway 1 is the primary link to the Internet and Gateway 2 is the backup
link.
1
Go to System > Network > Routing Table.
2
Select New.
Destination IP: 0.0.0.0
Mask: 0.0.0.0
Gateway #1: 1.1.1.1
Gateway #2: 2.2.2.1
Device #1: wan1
Device #2: wan2
Select OK.
Using the CLI
1
Add the route to the routing table.
set system route number 0 dst 0.0.0.0 0.0.0.0 gw1 1.1.1.1
dev1 wan1 gw2 2.2.2.1 dev2 wan2
Configuration example: Multiple connections to the Internet
.
.
53

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FortiGate FortiGate-60R and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fortigate 60r

Table of Contents