150
01-28006-0010-20041105
Fortinet Inc.
Static
Router
For example, consider
Figure 50
, which shows a FortiGate unit connected to a router.
To ensure that all outbound packets destined to any network beyond the router are
routed to the correct destination, you must edit the default configuration and make the
router the default gateway for the FortiGate unit.
Figure 50: Making a router the default gateway
To route outbound packets from the internal network to destinations that are not on
network 192.168.20.0/24, you would edit the default static route and include the
following settings:
• Destination IP/mask:
0.0.0.0/0.0.0.0
• Gateway:
192.168.10.1
• Device: Name of the interface connected to network 192.168.10.0/24 (e.g.
external
).
• Distance: 10
The Gateway setting specifies the IP address of the next hop router interface to the
FortiGate
external
interface. The interface behind the router (
192.168.10.1
) is
the default gateway for FortiGate_1.
In some cases, there may be routers behind the FortiGate unit. If the destination IP
address of a packet is not on the local network but is on a network behind one of those
routers, the FortiGate routing table must include a static route to that network. For
example, in
Figure 51
, the FortiGate unit must be configured with static routes to
interfaces 192.168.10.1 and 192.168.10.2 in order to forward packets to Network_1
and Network_2 respectively.
Esc
Enter
FortiGate_1
192.168.20.0/24
Internal network
Router
Internet
192.168.10.1
external
Summary of Contents for FortiGate 3000
Page 18: ...Contents 18 01 28006 0010 20041105 Fortinet Inc ...
Page 52: ...52 01 28006 0010 20041105 Fortinet Inc Changing the FortiGate firmware System status ...
Page 78: ...78 01 28006 0010 20041105 Fortinet Inc FortiGate IPv6 support System network ...
Page 86: ...86 01 28006 0010 20041105 Fortinet Inc Dynamic IP System DHCP ...
Page 116: ...116 01 28006 0010 20041105 Fortinet Inc FortiManager System config ...
Page 122: ...122 01 28006 0010 20041105 Fortinet Inc Access profiles System administration ...
Page 252: ...252 01 28006 0010 20041105 Fortinet Inc CLI configuration Users and authentication ...
Page 390: ...390 01 28006 0010 20041105 Fortinet Inc Glossary ...
Page 398: ...398 01 28006 0010 20041105 Fortinet Inc Index ...