12.03.2015 Views

FortiGate Administration Guide - FirewallShop.com

FortiGate Administration Guide - FirewallShop.com

FortiGate Administration Guide - FirewallShop.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Router Dynamic<br />

OSPF<br />

Defining an OSPF AS<br />

OSPF-enabled routers generate link-state advertisements and send them to their<br />

neighbors whenever the status of a neighbor changes or a new neighbor <strong>com</strong>es<br />

online. As long as the OSPF network is stable, link-state advertisements between<br />

OSPF neighbors do not occur. A Link-State Advertisement (LSA) identifies the<br />

interfaces of all OSPF-enabled routers in an area, and provides information that<br />

enables OSPF-enabled routers to select the shortest path to a destination. All<br />

LSA exchanges between OSPF-enabled routers are authenticated.<br />

The <strong>FortiGate</strong> unit maintains a database of link-state information based on the<br />

advertisements that it receives from OSPF-enabled routers. To calculate the best<br />

route (shortest path) to a destination, the <strong>FortiGate</strong> unit applies the Shortest Path<br />

First (SPF) algorithm to the accumulated link-state information. OSPF uses<br />

relative cost as a basic metric for choosing the best route. Cost imposes a penalty<br />

on the outgoing direction of a <strong>FortiGate</strong> interface. The cost of a route is calculated<br />

by adding together all of the costs associated with the outgoing interfaces along<br />

the path to a destination. The lowest overall cost indicates the best route.<br />

The <strong>FortiGate</strong> unit updates its routing table dynamically based on the results of<br />

the SPF calculation to ensure that an OSPF packet will be routed using the<br />

shortest path to its destination. Depending on the network topology, the entries in<br />

the <strong>FortiGate</strong> routing table may include:<br />

• the addresses of networks in the local OSPF area (to which packets are sent<br />

directly)<br />

• routes to OSPF area border routers (to which packets destined for another<br />

area are sent)<br />

• if the network contains OSPF areas and non-OSPF domains, routes to AS<br />

boundary routers, which reside on the OSPF network backbone and are<br />

configured to forward packets to destinations outside the OSPF AS<br />

The number of routes that a <strong>FortiGate</strong> unit can learn through OSPF depends on<br />

the network topology. A single <strong>FortiGate</strong> unit can support tens of thousands of<br />

routes if the OSPF network is configured properly.<br />

Defining an OSPF AS, involves:<br />

• Defining the characteristics of one or more OSPF areas.<br />

• Creating associations between the OSPF areas that you defined and the local<br />

networks to include in the OSPF AS.<br />

• If required, adjusting the settings of OSPF-enabled interfaces.<br />

For more information about how to perform these tasks using the web-based<br />

manager, follow the procedure given below.<br />

To define an OSPF AS<br />

1 Go to Router > Dynamic > OSPF.<br />

2 Under Areas, select Create New.<br />

3 Define the characteristics of one or more OSPF areas. See “Defining OSPF<br />

areas” on page 253.<br />

4 Under Networks, select Create New.<br />

5 Create associations between the OSPF areas that you defined and the local<br />

networks to include in the OSPF AS. See “Specifying OSPF networks” on<br />

page 254.<br />

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

01-30005-0203-20070830 249

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

Saved successfully!

Ooh no, something went wrong!