defaultrouter in rc.conf not working

Christoph Harder shadowomf at arcor.de
Sat Jul 18 20:24:20 UTC 2020


Hello everybody,

I do have one net interface configured in rc.conf and I do have one defaultrouter="10.0.0.1" 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 10.0.0.1 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?

Best regards,
Christoph


More information about the freebsd-questions mailing list