Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2020 22:24:11 +0200
From:      Christoph Harder <shadowomf@arcor.de>
To:        freebsd-questions@freebsd.org
Subject:   defaultrouter in rc.conf not working
Message-ID:  <bd322b86-d953-31f8-8c43-551d0e37d670@arcor.de>

Next in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?bd322b86-d953-31f8-8c43-551d0e37d670>