Created on 09-06-2021 08:30 AM Edited on 06-02-2022 09:52 AM By Anonymous
Description
This article describes how to configure OSPF over Non-Broadcast link.
Related document.
https://docs.fortinet.com/document/fortigate/6.0.0/handbook/394152/ospf
Solution
The configuration is similar as with the rest network types.
The difference is on the OSPF interface configuration part.
The neighbor should also be configured manually.
An example configuration below:
# config router ospf
set router-id 0.0.0.1
# config areaset network-type non-broadcast <-----
edit 0.0.0.0
next
end
# config ospf-interface
edit "ospf"
set interface "vlan 10" <-----
next
end
# config network
edit 1
set prefix 10.10.10.0 0.0.0.255
next
end
# config neighbor <-----
edit 1
set ip 10.10.10.3
next
end
# config redistribute "connected"
end
# config redistribute "static"
end
# config redistribute "rip"
end
# config redistribute "bgp"
end
# config redistribute "isis"
end
end
# config system interface
edit "vlan10"
set vdom "root"
set ip 10.10.10.1 255.255.255.0
set role lan
set snmp-index 38
set interface "port1"
set vlanid 10
next
Important Note.
The interface that should be configured under the '# config ospf-interface' configuration part, is the interface, in which the range that the neighbor address IP belongs to is assigned.
In this example it is the interface VLAN10.
If the physical interface is used instead (PORT1in this case) the following error will be generated:
'Neighbor can only be configured on non-broadcast or point-to-multipoint network.
object set operator error, -61 discard the setting Command fail. Return code 1'.
Related Articles
Technical Note : simple OSPF configuration with 2 FortiGates in the same area
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.