From owner-freebsd-net@FreeBSD.ORG Mon May 17 18:46:48 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79E01106566C for ; Mon, 17 May 2010 18:46:48 +0000 (UTC) (envelope-from peter@kieser.ca) Received: from mail.pfak.org (unknown [IPv6:2001:470:b:14::d813:b29a]) by mx1.freebsd.org (Postfix) with ESMTP id 513018FC0A for ; Mon, 17 May 2010 18:46:48 +0000 (UTC) Received: from mail.pfak.org (localhost.pfak.org [127.0.0.1]) by mail.pfak.org (Postfix) with ESMTP id 8953340E3 for ; Mon, 17 May 2010 11:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=kieser.ca; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=DR5WvP8QrWAP 8M9kAhFpNRap9lY=; b=I2UF9QQVWt+W+x6xeGGJMLgicrqfUE7GDozPRVOdURW4 NbpEUS6BExsLJmms1MN7bRm+7nvfcjBq7j7sdoFhPYXCpXWbbrdF9kdtSre43Y26 6VverDr9a6vRvilpteCor8K7HzTPnM81s5d5wpizcfIhw8Ix2CWafvyHY+lj7UI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=kieser.ca; h=message-id:date :from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=qZBlHR ydOjfTrlnTAtaQbpYbw9rofggMm5hkU77HyDjC82Cmw8EAUwXQZ9qEBF2hDMHK1m CWvwhssj0ngv6cCKR3oUWmEm0uqGHiSZt/QQLfVohdR2KLX7HoScqowVImvV9qSs yJvPqOhFs2RtXwmw+M1QGCT109Nw20oW1EpUA= Received: from [192.168.100.16] (216-19-178-131.stc.novuscom.net [216.19.178.131]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: peter@kieser.ca) by mail.pfak.org (Postfix) with ESMTPSA id 7384F40D3 for ; Mon, 17 May 2010 11:46:47 -0700 (PDT) Message-ID: <4BF18F17.2060708@kieser.ca> Date: Mon, 17 May 2010 11:46:47 -0700 From: Peter Kieser User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <4BF17814.50707@kieser.ca> <20100517183533.GA50109@citylink.fud.org.nz> In-Reply-To: <20100517183533.GA50109@citylink.fud.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Bringing VLANs created with rc.conf vlans_ 'up' on boot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 17 May 2010 18:46:48 -0000 On 5/17/2010 11:35 AM, Andrew Thompson wrote: > Use an underscore where the period should be, the rc.d scripts support > this. > > ifconfig_em1.100="up" --> ifconfig_em1_100="up" > > > cheers, > Andrew > Thanks to some offlist postings (from Mykola Dzham and the one above), I came up with the following: ifconfig_DEFAULT="up" vlans_em1="100 101 102 103 104 105 106 107 108 109 110" autobridge_interfaces="bridge0" autobridge_bridge0="em0 em1.*" I wanted to make certain interfaces on the bridge 'sticky', but if I add: ifconfig_bridge0="sticky em1.100 sticky em1.101 sticky em1.102 sticky em1.103 sticky em1.104 sticky em1.105 sticky em1.106 sticky em1.107 sticky em1.108 sticky em1.109 sticky em1.110" Then the autobridge interface isn't created and I'm back to my ugly ifconfig_bridge0 hack. Is there an alternative way to do this? Thank you, -Peter