Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2020 23:35:33 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        freebsd-questions@freebsd.org
Subject:   Re: defaultrouter in rc.conf not working
Message-ID:  <4a0a7e59-abe6-2ffc-1139-f7d1e88c761d@yuripv.dev>
In-Reply-To: <bd322b86-d953-31f8-8c43-551d0e37d670@arcor.de>
References:  <bd322b86-d953-31f8-8c43-551d0e37d670@arcor.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Christoph Harder wrote:
> 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?

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4a0a7e59-abe6-2ffc-1139-f7d1e88c761d>