From owner-freebsd-net@freebsd.org Fri Apr 20 17:27:35 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68A86F85F6B for ; Fri, 20 Apr 2018 17:27:35 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 037976B624 for ; Fri, 20 Apr 2018 17:27:34 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (220-253-154-11.dyn.iinet.net.au [220.253.154.11]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w3KHRTTC044178 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 20 Apr 2018 10:27:32 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: Default network device To: Grzegorz Junka , freebsd-net@freebsd.org References: <5237ec10-c906-db3c-f62f-cc7478a31dc0@yoonka.com> From: Julian Elischer Message-ID: <8dc93cc7-1a5b-6168-33ca-581b5477cb00@freebsd.org> Date: Sat, 21 Apr 2018 01:27:24 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5237ec10-c906-db3c-f62f-cc7478a31dc0@yoonka.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 17:27:35 -0000 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >