OSPF
OSPF (Open Shortest Path First) is described in RFC2328, OSPF Version 2. It is a link-state interior routing protocol. Compared with RIP, OSPF can provide scalable network support and faster convergence times. OSPF is widely used in large networks such as ISP backbone and enterprise networks. FortiADC supports OSPF version 2.
By the support HA for OSPF route injection feature, the virtual server IP/IPv6 address can be injected into the OSPF domain, and can be advertised or withdrawn according to the health state of the real server.
Before you begin:
- You must know how OSPF has been implemented in your network, and you must know the configuration details of the implementation.
- You must have Read-Write permission for System settings.
To configure OSPF:
- Go to Networking > Routing.
- Click the OSPF tab.
- Click Create New to display the configuration editor.
- Complete the configuration as described in OSPF configuration.
- Save the configuration.
Settings | Guidelines |
---|---|
Router | 32-bit number that sets the router-ID of the OSPF process. The router ID uses dotted decimal notation. The router-ID must be an IP address of the router, and it must be unique within the entire OSPF domain to the OSPF speaker. |
Default Metric | The default is 10. |
Distance | The default is 110. |
Default Information Originate |
|
Default Information Metric | The default is -1, which equals to the Default Metric. |
Default Information Metric Type |
Select either of the following:
|
Redistribute Connected | Enable/disable to redistribute connected routes to OSPF, with the metric type and metric set if specified. Redistributed routes are distributed into OSPF as Type-5 External LSAs into links to areas. |
Redistribute Connected Metric |
The default is -1, which equals to the Default Metric. |
Redistribute Connected Metric Type |
Select either of the following:
|
Redistribute Static | Enable/disable to redistribute static routes to OSPF, with the metric type and metric set if specified. Redistributed routes are distributed to OSPF as Type-5 External LSAs into links to areas. |
Redistribute Static Metric |
The default is -1, which equals to the Default Metric. |
Redistribute Static Metric Type |
|
Area Authentication | |
Area | 32-bit number that identifies the OSPF area. An OSPF area is a smaller part of the larger OSPF network. Areas are used to limit the link-state updates that are sent out. The flooding used for these updates would overwhelm a large network, so it is divided into these smaller areas for manageability. |
Authentication |
Specify an authentication type:
|
Type |
Area type setting: |
Network | |
Prefix | Address/mask notation to specify the subnet. |
Area | Select an area configuration. |
Interface | |
Name | Configuration name. Valid characters are A -Z , a -z , 0 -9 , _ , and - . No spaces. After you initially save the configuration, you cannot edit the name. |
Interface | Select the interface to enable OSPF for it. |
Ignore MTU | Enable/disable to ignore the interface MTU. Disabled by default. |
Network Type |
|
Retransmit Interval | Interval for retransmitting Database Description and Link State Request packets. The default is 5 seconds. |
Transmit Delay | Increment LSA age by this value when transmitting. The default is 1 second. |
Cost | Set link cost for the specified interface. The cost value is set to router-LSA's metric field and used for SPF calculation. The default is 0. |
Priority | The router with the highest priority will be more eligible to become Designated Router. Setting the value to 0 makes the router ineligible to become Designated Router. The default is 1. |
Dead Interval | Number of seconds for RouterDeadInterval timer value used for Wait Timer and Inactivity Timer. This value must be the same for all routers attached to a common network. The default is 40 seconds. |
Hello Interval | Number of seconds between hello packets sent on the configured interface. This value must be the same for all routers attached to a common network. The default is 10 seconds. |
Authentication |
Specify an authentication type. All OSPF interfaces that want to learn routes from each other must be configured with the same authentication type and password or MD5 key (one match is enough). Options are:
|
Text | If using text authentication, specify a password string. Passwords are limited to 8 characters. |
MD5 | If using MD5 authentication, select an MD5 configuration name. |
HA Router | |
Router | You use the HA Router list configuration in an HA active-active deployment. On each HA cluster node, add an HA Router configuration that includes an entry for each cluster node. When the appliance is in standalone mode, it uses the primary OSPF Router ID; when it is in HA mode, it uses the HA Router list ID. Specify a 32-bit number that sets the router-ID of the OSPF process. The router ID uses dotted decimal notation. The router-ID must be an IP address of the router, and it must be unique within the entire OSPF domain to the OSPF speaker. |
Node | HA Node ID (0-7). |
MD5 Key List | |
Name |
Configuration name. You select this name in the OSPF Interface configuration. Valid characters are |
Member | |
Key ID | A number 1-255. Each member key ID must be unique to its member list. |
Key | A string of up to 16 characters to be hashed with the cryptographic MD5 hash function. |