11.0-RC2 defaultrouter not working with wifi+wpa+static ip

Antonio Vieiro antonio at vieiro.net
Thu Sep 1 09:27:23 UTC 2016

Hi all,

I have recently upgraded from FreeBSD 10.2 to 11.0-RC2 and since then I cannot get defaultrouter to work in /etc/rc.conf

I'm setting up a static IP address on my wifi card like this in /etc/rc.conf

	ifconfig_wlan0="wpa inet netmask”

and I'm also setting a defaultrouter in /etc/rc.conf like this:


This was working perfectly well in 10.2, but is not working in 11.0-RC2. After booting I get connected perfectly well tot he network, but the defaultrouter is not set:

	# netstat -rn
	Routing tables

	Destination        Gateway            Flags     Netif Expire          link#2             UH          lo0     link#3             U         wlan0      link#3             UHS         lo0

I was wondering if someone could help addressing the problem. Is there any flag in 11.0 that modifies the defaultrouter behaviour? It this a known issue in 11.0-RC2?

Thanks in advance,


While testing 11.0 with a boot disk, I noted that immediately after boot “ath0” did not get listed in ifconfig (re0, my ethernet card, did get listed). I could run “ifconfig wlan0 create wlandev ath0” to create wlan0, though.

More information about the freebsd-questions mailing list