146
01-28006-0100-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 FortiGate-500A
Page 24: ...24 01 28006 0100 20041105 Fortinet Inc Customer service and technical support Introduction...
Page 46: ...46 01 28006 0100 20041105 Fortinet Inc Changing the FortiGate firmware System status...
Page 72: ...72 01 28006 0100 20041105 Fortinet Inc FortiGate IPv6 support System network...
Page 80: ...80 01 28006 0100 20041105 Fortinet Inc Dynamic IP System DHCP...
Page 110: ...110 01 28006 0100 20041105 Fortinet Inc FortiManager System config...
Page 116: ...116 01 28006 0100 20041105 Fortinet Inc Access profiles System administration...
Page 134: ...134 01 28006 0100 20041105 Fortinet Inc Shutdown System maintenance...
Page 248: ...248 01 28006 0100 20041105 Fortinet Inc CLI configuration Users and authentication...
Page 324: ...324 01 28006 0100 20041105 Fortinet Inc CLI configuration Antivirus...
Page 386: ...386 01 28006 0100 20041105 Fortinet Inc Glossary...
Page 394: ...394 01 28006 0100 20041105 Fortinet Inc Index...