From owner-freebsd-net@FreeBSD.ORG Fri Jul 25 21:52:45 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 D2906343 for ; Fri, 25 Jul 2014 21:52:45 +0000 (UTC) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9668521BD for ; Fri, 25 Jul 2014 21:52:45 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id v10so5097511qac.26 for ; Fri, 25 Jul 2014 14:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=IDPkyzEAMhkmddTjd2DjmeTWDQK3nfzlbCkef+OdCps=; b=PfHT7HsDHlqWtnBtyAVFLfVJCf2G9hs1YLKGucZMNAkwXQbc7iA6O+CCl+SuK0ym5Z sPHO+8CrI4cTIGkMYAwBdd2SYNt7G2Rpzu/x887xl/ypQ1giQqONqpD2B8+xpvLH0zPp A5u4sj2o6/DHx94gh3U0UskM7sOudEaPTsefCNuv8K5ks8PqJuzFRbKsw8iQ6WahvYIC xAv9HsJ1uAjhSa3MzPfwyk87INqdp7RVkVuZDWU2AkrlEV8O7oPukDuZIXuMU9xcvKxG +Kh1EtPeKXBk4cWtR8QNQ0JHCkCcqOIxeT6yX6SrQq6pxVAuRM3kBmerUw++uvJ4M5cO ARXg== X-Received: by 10.224.46.8 with SMTP id h8mr24752694qaf.6.1406325164640; Fri, 25 Jul 2014 14:52:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.97.228 with HTTP; Fri, 25 Jul 2014 14:52:24 -0700 (PDT) From: Sridhar Iyer Date: Fri, 25 Jul 2014 14:52:24 -0700 Message-ID: Subject: Using lagg To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 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 21:52:45 -0000 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