EasyManua.ls Logo

Fortinet FortiGate 400 - Page 56

Fortinet FortiGate 400
308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
56 Fortinet Inc.
Configuration example: Multiple connections to the Internet NAT/Route mode installation
3 Select New to add a route for connections to the network of ISP1.
Destination IP: 100.100.100.0
Mask: 255.255.255.0
Gateway #1: 1.1.1.1
Gateway #2: 2.2.2.1
Device #1: port2
Device #2: port3
4 Select New to add a route for connections to the network of ISP2.
Destination IP: 200.200.200.0
Mask: 255.255.255.0
Gateway #1: 2.2.2.1
Gateway #2: 1.1.1.1
Device #1: port3
Device #2: port2
•Select OK.
5 Change the order of the routes in the routing table to move the default route below the
other two routes.
For the default route select Move to .
Type a number in the Move to field to move this route to the bottom of the list.
If there are only 3 routes, type 3.
•Select OK.
Adding the routes using the CLI
1 Add the route for connections to the network of ISP2.
set system route number 1 dst 100.100.100.0 255.255.255.0 gw1
1.1.1.1 dev1 port2 gw2 2.2.2.1 dev2 port3
1 Add the route for connections to the network of ISP1.
set system route number 2 dst 200.200.200.0 255.255.255.0 gw1
2.2.2.1 dev1 port3 gw2 1.1.1.1 dev2 port2
2 Add the default route for primary and backup links to the Internet.
set system route number 3 dst 0.0.0.0 0.0.0.0 gw1 1.1.1.1
dev1 port2 gw2 2.2.2.1 dev2 port3
The routing table should have routes arranged as shown in Table 1 3.
Table 13: Example combined routing table
Destination IP‘ Mask Gateway #1 Device #1 Gateway #2 Device #2
100.100.100.0 255.255.255.0 1.1.1.1 port2 2.2.2.1 port3
200.200.200.0 255.255.255.0 2.2.2.1 port3 1.1.1.1 port2
0.0.0.0 0.0.0.0 1.1.1.1 port2 2.2.2.1 port3

Table of Contents

Related product manuals