defaultrouter in rc.conf not working

Yuri Pankov yuripv at
Sat Jul 18 20:35:39 UTC 2020

Christoph Harder wrote:
> Hello everybody,
> I do have one net interface configured in rc.conf and I do have one defaultrouter="" entry.
> But when booting the system I don't have a matching default route when I enter netstat -r, in fact I don't see any default route.
> However when I add the default route by hand using route add default the route work.
> I checked the rc.conf for typos, but found none. Can you give me a hint what else might be the problem? Why is FreeBSD not creating the default route on start?

Providing that network interface configuration from rc.conf would help.

More information about the freebsd-questions mailing list