From owner-freebsd-net@freebsd.org Sun Jul 28 15:33:39 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 79F47ADDC4 for ; Sun, 28 Jul 2019 15:33:39 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from mail.otcnet.ru (mail.otcnet.ru [194.190.78.3]) by mx1.freebsd.org (Postfix) with ESMTP id B2FEF6AC28 for ; Sun, 28 Jul 2019 15:33:38 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from Victors-MacBook-Air-2.local (unknown [194.190.78.9]) by mail.otcnet.ru (Postfix) with ESMTPSA id 9F08A7349E; Sun, 28 Jul 2019 18:33:37 +0300 (MSK) Subject: Re: how to down interface at startup To: Eugene Grosbein , freebsd-net@freebsd.org References: <8e49d9c0-6950-dcb3-ac62-25a9a1f86c2e@otcnet.ru> <9e135f5f-48c1-44b0-1eea-fe47f7a61fc7@grosbein.net> From: Victor Gamov Organization: OTCnet Message-ID: Date: Sun, 28 Jul 2019 18:33:36 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <9e135f5f-48c1-44b0-1eea-fe47f7a61fc7@grosbein.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: B2FEF6AC28 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of vit@otcnet.ru designates 194.190.78.3 as permitted sender) smtp.mailfrom=vit@otcnet.ru X-Spamd-Result: default: False [-1.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.41)[-0.409,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.otcnet.ru]; NEURAL_HAM_LONG(-0.98)[-0.976,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[otcnet.ru]; NEURAL_SPAM_SHORT(0.57)[0.570,0]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.otcnet.ru]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(0.00)[country: RU(0.01)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50822, ipnet:194.190.78.0/24, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Jul 2019 15:33:39 -0000 On 28/07/2019 18:08, Eugene Grosbein wrote: > 28.07.2019 21:50, Victor Gamov wrote: > >> I have configuration where bridge interface need to be down at startup. >> >> But "ifconfig_bridge2="down" is not working: bridge always up >> >> How I can 'down' bridge interface at startup? > > If you use rc.conf to configure it, please read rc.conf(5) manual page carefully: > > ... Interfaces that the > administrator wishes to store configuration for, but not > start at boot should be configured with the "NOAUTO" keyword > in their ifconfig_ variables as described below. Eugene Thank you very much! I really need be more carefully while reading docs. Thanks! -- CU Victor Gamov