MacBook on takes long to establish WiFi connection After upgrading  my MacBook Pro 13" Early 2015 to Mojave, it takes about 20-30 seconds to establish a working connection to my home wifi. It connects quickly, gets its IP address via DHCP, and I can successfully ping devices in my home network. Unfortunately it takes 20-30 seconds before I can ping any IP on the internet. DNS can not be the problem since I am pinging IP addresses.

I watched "netstat -nr" while the connection is being established and I can see that different routes are created. Just before I can ping outside IP addresses the following route is being added (192.168.111.0/24 is my home network):

192.168.111.255     ff:ff:ff:ff:ff:ff  UHLWbI          0       18     en0      !


Does anyone have an idea how I can solve this?
I solved this by myself and I feel a bit silly too:
In pfSense I had a DNS override set for "captive.apple.com" to point to 0.0.0.0 because I didn't want my Apple devices to talk to Apple every time I connect to my home WiFi if not necessary. After deleting this override it works fine. Sorry for bothering you with this.