Default route (i.e. 'defaultrouter') ignored for VLAN rc.conf setup?
Karl Pielorz
kpielorz_lst at tdx.co.uk
Wed Sep 24 15:30:28 UTC 2014
--On 24 September 2014 16:15 +0100 Karl Pielorz <kpielorz_lst at tdx.co.uk>
wrote:
> Hi,
>
> I've got a 10.0-R box setup with:
>
> cloned_interfaces="bge0.99"
> ifconfig_bge0_99="inet 192.168.0.20 netmask 255.255.255.0"
> defaultrouter="192.168.0.1"
>
> This correctly sets up 'bge0.99' at boot time, but doesn't set the
> default route.
I've managed to fix this - by using:
cloned_interfaces="bge0.99"
ifconfig_bge0="up" <---- You need this line!
ifconfig_bge0_99="inet 192.168.0.20 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
A little annoying as I'd been bitten by that 'oddity' (i.e. requiring the
'up' line) when working with LAGG interfaces...
At least it works now (and it's in the list archives),
-Karl
More information about the freebsd-questions
mailing list