From owner-freebsd-current@FreeBSD.ORG Tue Apr 16 13:57:41 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 30D79DC8; Tue, 16 Apr 2013 13:57:41 +0000 (UTC) (envelope-from willy@Offermans.Rompen.nl) Received: from cpsmtpb-ews07.kpnxchange.com (cpsmtpb-ews07.kpnxchange.com [213.75.39.10]) by mx1.freebsd.org (Postfix) with ESMTP id 98179D9C; Tue, 16 Apr 2013 13:57:34 +0000 (UTC) Received: from cpsps-ews11.kpnxchange.com ([10.94.84.178]) by cpsmtpb-ews07.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 16 Apr 2013 15:56:23 +0200 Received: from CPSMTPM-CMT101.kpnxchange.com ([195.121.3.17]) by cpsps-ews11.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 16 Apr 2013 15:56:23 +0200 Received: from sun.offermans.rompen.nl ([77.170.60.162]) by CPSMTPM-CMT101.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Tue, 16 Apr 2013 15:56:22 +0200 Received: from squid (squid.vpn.offrom.nl [10.168.0.72]) by sun.offermans.rompen.nl (8.14.5/8.14.4) with ESMTP id r3GDuMPg025682; Tue, 16 Apr 2013 15:56:22 +0200 (CEST) (envelope-from willy@vpn.offrom.nl) Received: from willy by squid with local (Exim 4.72) (envelope-from ) id 1US6Mv-0007Bb-N6; Tue, 16 Apr 2013 15:56:21 +0200 Date: Tue, 16 Apr 2013 15:56:21 +0200 From: Willy Offermans To: freebsd-hardware@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: control of order of inet devices Message-ID: <20130416135621.GE3286@vpn.offrom.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 16 Apr 2013 13:56:22.0655 (UTC) FILETIME=[2DBD38F0:01CE3AAA] X-RcptDomain: FreeBSD.ORG X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Willy@Offermans.Rompen.nl List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 13:57:41 -0000 Dear FreeBSD friends, How can I control the order of the network devices in FreeBSD. For example, the command ifconfig lists the network devices: pcn0: flags=8802 metric 0 mtu 1500 options=80000 ether 00:0c:46:ea:2b:32 nd6 options=29 media: Ethernet 100baseFX status: no carrier rl0: flags=8843 metric 0 mtu 1500 options=2008 ether 00:11:6b:99:7c:5a inet XXX.XXX.24.4 netmask 0xffffff80 broadcast 137.226.24.127 inet6 fe80::211:6bff:fe99:7c5a%rl0 prefixlen 64 scopeid 0x4 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active nfe0: flags=8802 metric 0 mtu 1500 options=82008 ether 00:1b:fc:df:a1:33 nd6 options=29 media: Ethernet autoselect (none) status: no carrier plip0: flags=8810 metric 0 mtu 1500 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 tap0: flags=8843 metric 0 mtu 1500 options=80000 ether 00:22:19:10:8d:bb inet XXX.XXX.24.19 netmask 0xffffffff broadcast 137.226.24.19 inet6 fe80::2bd:83ff:fe68:7200%tap0 prefixlen 64 scopeid 0x8 nd6 options=21 media: Ethernet autoselect status: no carrier pcn0 being first. However, I would like tap0 being first and of course without any output ordering trick. -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, De jrus wah, Wiel ************************************* W.K. Offermans Home: +31 45 544 49 44 Mobile: +31 681 15 87 68 e-mail: Willy@Offermans.Rompen.nl Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org