Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2015 17:23:55 -0700
From:      John Nyhuis <>
Subject:   FreeBSD 10.1p10 defaultrouter not working
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
I am trying to set a default route of using the documented method of adding the line below to rc.conf:

defaultrouter = ""

(the .xyz. is to protect the guilty... mainly me).  ^_^

After restarting the netif and route services, I still don't see a default route being set.
netstat -r shows:

Destination		Gateway		Flags		Netif Expire
localhost		link#7		UH		lo0	link#8		U		lagg0		link#8		UHS		lo0

no default route is assigned...
No logs of interest show up in messages, security, or

The pertinent section of rc.conf looks like:


#create a LACP aggregate interface for the native 1G NICS
ifconfig_lagg0="laggproto lacp laggport bce0 laggport bce1"

This should all be good according to the FreeBSD handbook, but it does not work.

I can manually set the default route using "route add default", but although the route is now listed, it does not work.

If I comment the "ifconfig_lagg0" line, a default route does show up as expected, so this seems to be related to an incompatibility between a 
aggregate interface and a "defaultrouter" line in rc.conf.  Either will work by themselves, but not both in the same rc.conf.

Any wisdom you would be willing to share would be much appreciated...

John Nyhuis
IT Manager, Stam Lab
2211 Elliott Avenue
6th Floor, 6S139
Seattle, WA 98121
O: (206)-267-1097 ext 220
F: (206)-441-3033

Want to link to this message? Use this URL: <>