Default network device

Julian Elischer julian at freebsd.org
Fri Apr 20 17:27:35 UTC 2018


On 25/3/18 12:21 am, Grzegorz Junka wrote:
> Hi,
>
> In my laptop I have both, wlan0 and ue0 (ethernet). When both are 
> connected, FreeBSD chooses to use wlan0 by default. Only when I 
> disable wlan0 it switches to use ue0. Since ue0 is ethernet it's 
> obviously much faster than wlan0.
It's decided by the routing table
if you can get the routing table to reflect what you want it should work.

>
> Why FreeBSD is selecting wlan rather than ue? How to configure the 
> network so that wlan0 is only used when ue0 isn't available?
>
> Thanks
>
> GrzegorzJ
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>



More information about the freebsd-net mailing list