From owner-freebsd-net@freebsd.org Mon May 22 08:02:45 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 34991D7821F for ; Mon, 22 May 2017 08:02:45 +0000 (UTC) (envelope-from misho@elwix.org) Received: from x0r.aitnet.org (x0r.aitnet.org [IPv6:2a00:1728:9:1::5]) by mx1.freebsd.org (Postfix) with ESMTP id F0B0F1119 for ; Mon, 22 May 2017 08:02:44 +0000 (UTC) (envelope-from misho@elwix.org) Received: from terran.aitnet.org (unknown [95.87.199.119]) by x0r.aitnet.org (Postfix) with ESMTPSA id 49CF43F75C for ; Mon, 22 May 2017 11:02:43 +0300 (EEST) Date: Mon, 22 May 2017 11:02:42 +0300 From: Michael Pounov To: freebsd-net@freebsd.org Subject: Re: How to bring up interface without address? Message-Id: <20170522110242.094706555a77a39e3835a530@elwix.org> In-Reply-To: <13310414754.20170522020524@serebryakov.spb.ru> References: <13310414754.20170522020524@serebryakov.spb.ru> Organization: ELWIX X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) 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: Mon, 22 May 2017 08:02:45 -0000 Hi Lev Try to put this into your rc.conf ifconfig_em1="up" On Mon, 22 May 2017 02:05:24 +0300 Lev Serebryakov wrote: > 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 > > _______________________________________________ > 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" -- Michael Pounov