12.03.2015 Views

FortiGate Administration Guide - FirewallShop.com

FortiGate Administration Guide - FirewallShop.com

FortiGate Administration Guide - FirewallShop.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Routing concepts<br />

Router Static<br />

The order of entries in the Static Route list typically mirrors the sequence of static<br />

routes in the routing table when all static routes are configured through the webbased<br />

manager. However, because you can specify the sequence number of a<br />

static route when you add the route through the CLI, the sequence number of a<br />

route may not always match its entry number in the Static Route list. Sequence<br />

numbers can be specified for static routes through the CLI only. In summary, if a<br />

route in the routing table has a lower sequence number than another route to the<br />

same destination, the <strong>FortiGate</strong> unit will choose the route with the lower sequence<br />

number before choosing the other route. Because you can use the CLI to specify<br />

which sequence numbers or priority field settings to use when defining static<br />

routes, routes to the same destination can be prioritized according to their<br />

sequence numbers and priority field settings. For a static route to be the preferred<br />

route, you must create the route using the config router static CLI<br />

<strong>com</strong>mand and specify a low sequence number or low priority for the route.<br />

Equal Cost Multipath (ECMP) Routes<br />

Blackhole Routing<br />

Note: You can display the sequence numbers of static routes in the routing table through<br />

the CLI: type config router static, and then type get. The sequence number of a<br />

route is equivalent to the edit value that one enters when defining a<br />

static route through the CLI. For more information, see config router static in the<br />

<strong>FortiGate</strong> CLI Reference.<br />

When there is more than one route to the same destination, it can be confusing<br />

which route or routes will be installed and used. This is based on distance and<br />

priority, as explained earlier. If the distance of both routes is the same and both<br />

priorities are the same, then they are an Equal Cost Multipath (ECMP) route. If<br />

you have load balancing enabled with ECMP routes, then different sessions will<br />

use different routes to the same address to load balance traffic.<br />

Blackhole routing is a route that drops all traffic sent to it. It is very much like<br />

/dev/null in Linux programming.<br />

Blackhole routing is used to dispose of packets instead of responding to<br />

suspicious inquiries. This provides added security since the originator will not<br />

discover any information from the target system.<br />

Blackhole routing can also be used to limit traffic on a subnet. If some addresses<br />

are not in use, traffic to those addresses (traffic which may be valid or malicious)<br />

can be directed to a blackhole for added security and lowering traffic on the<br />

subnet.<br />

The loopback interface was added to enable easier configuration of blackhole<br />

routing. It is a virtual interface that does not forward traffic. It can only be<br />

configured from the CLI, the same way as a normal interface, but it has fewer<br />

parameters to configure and all traffic sent to it stops there. It does not suffer from<br />

hardware connection or link status problems, so it is always available. This can be<br />

useful for other dynamic routing roles. Once configured, a loopback interface can<br />

be used in firewall policies, routing, and other places that refer to interfaces. For<br />

more information see the system chapter of the <strong>FortiGate</strong> CLI Reference.<br />

<strong>FortiGate</strong> Version 3.0 MR5 <strong>Administration</strong> <strong>Guide</strong><br />

234 01-30005-0203-20070830

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!