Hi,
interface fa0/2
ip address 192.168.2.10 255.255.255.0
1 ) router ospf 1
network 192.168.2.0 0.0.0.255 area 0
2 ) interface FastEthernet 0/2
ip ospf 1 area 0
If I want to do the same setup on fortigate do I need to specify both interface and the network ?.
In gui I can see both
If Yes why we have to do this . Usually on cisco we either we use under interface(2) or network (1)
Thanks
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
The ospf.cfg is simple
config router ospf
set router-id x.x.x.x
config area
edit 0.0.0.0
next
end
config network
edit 1
set prefix 192.168.2.0/255.255.255.0
next
end
config ospf-interface
edit "internal
set interface "port1"
set priority 200
next
end
end
Do all interface specific under the interface, concept is very simple and straightforward
PCNSE
NSE
StrongSwan
Hi,
My question is the below commands are not enough to broadcast a network using ospf
config router ospf set router-id x.x.x.x config area edit 0.0.0.0 next end config network edit 1 set prefix 192.168.2.0/255.255.255.0 next end
Why do we need to add the port parts also like below
config ospf-interface edit "internal set interface "port1" set priority 200 next end end
In cisco we need only parts to broadcast a network using ospf
router ospf 1 network 192.168.2.0 0.0.0.255 area 0
in the below picture no interface is configured
Thanks
This is not a cisco and you missed the earlier part, port specific ( ospf cmds ) goes under interfaces. Follow the fortiOS guide and advance routing for examples.
Ken Felix
PCNSE
NSE
StrongSwan
Hi
I agree that we have to add interface also , it's not like cisco . But I have seen couple of implementation without adding interface , they just broadcast the network .
Your advise ?
Thanks
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1641 | |
1069 | |
751 | |
443 | |
210 |
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.