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
Depends on:
Reported: 2018-06-19 07:24 UTC by Alexey
Modified: 2018-10-18 04:28 UTC (History)
2 users (show)

See Also:


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_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:
Comment 1 Alexey 2018-09-21 22:28:21 UTC
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!