Adding a default route, Adding destination-based routes to the – Fortinet FortiGate 4000 User Manual

Page 159

Advertising
background image

Network configuration

Configuring routing

FortiGate-4000 Installation and Configuration Guide

159

Adding a default route

You can add a default route for network traffic leaving the external interface.

To add a default route

1

Go to System > Network > Routing Table.

2

Select New to add a new route.

3

Set the Source IP and Netmask to 0.0.0.0.

4

Set the Destination IP and Netmask to 0.0.0.0.

5

Set Gateway 1 to the IP address of the routing gateway that routes traffic to the
Internet.

6

Select OK to save the default route.

Adding destination-based routes to the routing table

You can add destination-based routes to the FortiGate routing table to control the
destination of traffic exiting the FortiGate unit. You configure routes by adding
destination IP addresses and netmasks and adding gateways for these destination
addresses. The gateways are the next hop routers to which to route traffic that
matches the destination addresses in the route.

You can add one or two gateways to a route. If you add one gateway, the FortiGate
unit routes the traffic to that gateway. You can add a second gateway to route traffic to
the second gateway if the first gateway fails.

To support routing failover, the IP address of each gateway must be added to the ping
server of the interface connected to the same network as the gateway. For information
about adding a ping server, see

“Adding a ping server to an interface” on page 146

.

To add destination-based routes to the routing table

1

Go to System > Network > Routing Table.

2

Select New to add a new route.

3

Type the Destination IP address and netmask for the route.

4

Add the IP address of Gateway #1.
Gateway #1 is the IP address of the primary destination for the route.
Gateway #1 must be on the same subnet as a Fortigate interface.
If you are adding a static route from the FortiGate unit to a single destination router,
you need to specify only one gateway.

5

Add the IP address of Gateway #2, if you want to route traffic to multiple gateways.

Note: Only one default route can be active at a time. If two default routes are added to the
routing table, only the default route closest to the top of the routing table is active.

Advertising