From owner-freebsd-questions@FreeBSD.ORG Thu Jul 5 19:51:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6823116A468 for ; Thu, 5 Jul 2007 19:51:54 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.8]) by mx1.freebsd.org (Postfix) with ESMTP id 2B1DB13C448 for ; Thu, 5 Jul 2007 19:51:54 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.1/8.13.8) with ESMTP id l65JbDW7085312; Thu, 5 Jul 2007 15:37:13 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.1/8.13.8/Submit) id l65JbAjZ085311; Thu, 5 Jul 2007 15:37:10 -0400 (EDT) (envelope-from mwlucas) Date: Thu, 5 Jul 2007 15:37:10 -0400 From: "Michael W. Lucas" To: John Nielsen Message-ID: <20070705193710.GA85299@bewilderbeast.blackhelicopters.org> References: <20070703183516.GA70961@bewilderbeast.blackhelicopters.org> <200707031510.05713.lists@jnielsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200707031510.05713.lists@jnielsen.net> User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Thu, 05 Jul 2007 15:37:13 -0400 (EDT) Cc: freebsd-questions@freebsd.org Subject: Re: if_lagg(4) and rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2007 19:51:54 -0000 On Tue, Jul 03, 2007 at 03:10:05PM -0400, John Nielsen wrote: > On Tuesday 03 July 2007 02:35:16 pm Michael W. Lucas wrote: > > I'm trying to configure a lagg(4) interface out of rc.conf. FreeBSD > > doesn't want to initialize the interface at boot. I'm obviously > > missing some little thing. I'm successfully loading if_lagg into the > > kernel, so that's not the problem. > > > > I can configure the interface at the command line if I do a "ifconfig > > lagg0 create" and then enter the configuration, but there doesn't seem > > to be a rc.conf flag to tell the system to create an interface? > > > > Here's my rc.conf for these interfaces: > > > > ifconfig_em3="up" > > ifconfig_em7="up" > > ifconfig_lagg0="laggproto lacp laggport em3 laggport em7 10.184.1.19 > > netmask 0xffff0000" > > I haven't played with if_lagg yet, but you should be able to use the > cloned_interfaces knob in /etc/rc.conf to create the interface. e.g.: > > cloned_interfaces="lagg0" > ifconfig_em3="up" > ifconfig_em7="up" > ifconfig_lagg0="laggproto lacp laggport em3 laggport em7 10.184.1.19 \ > netmask 0xffff0000" > > if_lagg(4) mentions this briefly (at the end before the examples) This last bit, of course, was the key to the whole thing. I don't know how many times I looked at the man page without seeing that. Thanks for pointing it out. ==ml -- Michael W. Lucas mwlucas@BlackHelicopters.org, mwlucas@FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons."