From owner-freebsd-net@FreeBSD.ORG Fri Jul 25 22:27:02 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9475EA46 for ; Fri, 25 Jul 2014 22:27:02 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id 57CE82480 for ; Fri, 25 Jul 2014 22:27:01 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id 6164E20E70890; Fri, 25 Jul 2014 22:27:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id 161BC20E7088C; Fri, 25 Jul 2014 22:26:56 +0000 (UTC) Message-ID: From: "Steven Hartland" To: "Sridhar Iyer" References: <371D9ED786FD4379859A0993E8D12F15@multiplay.co.uk> Subject: Re: Using lagg Date: Fri, 25 Jul 2014 23:26:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: freebsd-net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 22:27:02 -0000 Not sure what you mean by API examples? The usual use of this would be to configure it at startup in /etc/rc.conf Regards Steve ----- Original Message ----- From: "Sridhar Iyer" To: "Steven Hartland" Cc: "freebsd-net" Sent: Friday, July 25, 2014 11:05 PM Subject: Re: Using lagg >I didn't find the api examples > http://www.freebsd.org/cgi/man.cgi?query=lagg&sektion=4&apropos=0&manpath=FreeBSD+9.2-RELEASE+and+Ports > This only shows the usage via cli. > > > Regards, > > Sridhar > > > On Fri, Jul 25, 2014 at 2:58 PM, Steven Hartland > wrote: > >> Have a look at the man page using: >> man lagg >> >> It gives you all the details including examples. >> >> Regards >> Steve >> >> ----- Original Message ----- From: "Sridhar Iyer" < >> sridhar.v.iyer@gmail.com> >> >> >> Hi all, >>> >>> I have been looking at apis in sys/net/if_lagg.c and usage in >>> ifconfig/iflagg.c. They both seem to be different. I'm new to freebsd and >>> I >>> need to use the apis to create a lagg of interfaces. What would be the >>> best >>> way to get up to speed? Is there some example out there, which just >>> creates >>> a lagg interface and then just attaches the interfaces to it? >>> >>> Any pointers would be really helpful. >>> Regards, >>> >>> Sridhar >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >>> > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >