Bug 229136 - net/frr: Implementing ospf instances in the startup script
Summary: net/frr: Implementing ospf instances in the startup script
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Olivier Cochard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-19 07:24 UTC by Alexey
Modified: 2018-10-18 04:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2018-06-19 07:24:35 UTC
OSPF supports several instances and they work fine. But to run the second or more instances need to manually run ospfd with key -n 1.
For example:

run default instance:

#cat /etc/rc.conf |grep frr
frr_enable="YES"
frr_daemons="zebra ospfd"
#/usr/local/etc/rc.d/frr start

run ospd with instance 1:

/usr/local/sbin/ospfd -d -n 1

run ospd with instance 1:

/usr/local/sbin/ospfd -d -n 2222.

And so on.

This is well described in this commit:
https://github.com/CumulusNetworks/quagga/commit/7c8ff89e9346227f0e721f7686d4c4d58f9c9135
Comment 1 Alexey 2018-09-21 22:28:21 UTC
https://github.com/FRRouting/frr/commit/e6f1b8310336f669062f5d75f5d4ed03690687f0
On frr add documentation about OSPF instance
Comment 2 Olivier Cochard freebsd_committer 2018-10-18 04:28:19 UTC
FRR's RC script is quiet complex with all the daemons to manage.
If you've got an idea to add multiple OSPF instances to this mess: your ideas are welcome!