From owner-freebsd-net@freebsd.org Sun May 21 23:05:35 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEF99D77E9F for ; Sun, 21 May 2017 23:05:35 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id AE2E01CCD for ; Sun, 21 May 2017 23:05:35 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:7557:48c9:3a95:5037]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 87DDB46 for ; Mon, 22 May 2017 02:05:27 +0300 (MSK) Date: Mon, 22 May 2017 02:05:24 +0300 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <13310414754.20170522020524@serebryakov.spb.ru> To: freebsd-net@freebsd.org Subject: How to bring up interface without address? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2017 23:05:36 -0000 Hello Freebsd-net, I have "em1" interface which is container for several vlans, but it doesn't need any special configuration and it doesn't need IPv4 or IPv6 address. If I write this in /etc/rc.conf: ifconifg_em1="" vlans_em1="isp1 isp2" create_args_isp1="vlan 10" create_args_isp2="vlan 20" ifconfig_isp1="DHCP" ifconfig_isp2="DHCP" Startup script will not bring em1 UP automatically. So, I need some no-op option for ifconifg_em1 variable. What should I use? -- Best regards, Lev mailto:lev@FreeBSD.org