Bug 250459 - rtsold missing option to set fib
Summary: rtsold missing option to set fib
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-19 12:44 UTC by Dirk Meyer
Modified: 2020-11-15 10:25 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 Dirk Meyer freebsd_committer 2020-10-19 12:44:50 UTC
I have a multi homed network.
I use different routing tables with "setfib"

/etc/rc.conf:
ifconfig_vlan5_ipv6="inet6 accept_rtadv fib 5"
rtsold_enable="YES"
rtsold_flags="-dD vlan5"

Setting up rtsolvd does not work.
It is unaware of setfib.

I would prefer if rtsold has an option to set the fib.


Workaround:

Shell script : /root/bin/rtsold5
#!/bin/sh
exec /usr/sbin/setfib 5 /usr/sbin/rtsold "${@}"

/etc/rc.conf:
rtsold_program="/root/bin/rtsold5"
Comment 1 Mark Johnston freebsd_committer 2020-11-12 17:28:20 UTC
Isn't it possible to set rtsold_fib="5" in rc.conf?
Comment 2 Dirk Meyer freebsd_committer 2020-11-15 10:25:05 UTC
adding to rc.conf:
rtsold_fib="5" 

fixes the problem.