From owner-freebsd-doc@FreeBSD.ORG Tue Aug 2 06:00:23 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B9DB106564A for ; Tue, 2 Aug 2011 06:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0B3EB8FC12 for ; Tue, 2 Aug 2011 06:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7260Mr2063317 for ; Tue, 2 Aug 2011 06:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7260Mr5063316; Tue, 2 Aug 2011 06:00:22 GMT (envelope-from gnats) Resent-Date: Tue, 2 Aug 2011 06:00:22 GMT Resent-Message-Id: <201108020600.p7260Mr5063316@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Karli Sjöberg Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A89E106564A for ; Tue, 2 Aug 2011 05:51:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7A4F18FC13 for ; Tue, 2 Aug 2011 05:51:58 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p725pwZM051604 for ; Tue, 2 Aug 2011 05:51:58 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p725pwKM051602; Tue, 2 Aug 2011 05:51:58 GMT (envelope-from nobody) Message-Id: <201108020551.p725pwKM051602@red.freebsd.org> Date: Tue, 2 Aug 2011 05:51:58 GMT From: Karli Sjöberg To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/159374: Difficulty following guide on configuring link aggregation X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2011 06:00:23 -0000 >Number: 159374 >Category: docs >Synopsis: Difficulty following guide on configuring link aggregation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 02 06:00:22 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Karli Sjöberg >Release: 8.2-STABLE >Organization: Swedish University of Agriculture >Environment: FreeBSD main.inparadise.dontexist.com 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Jul 6 09:15:36 CEST 2011 root@main.inparadise.dontexist.com:/usr/obj/usr/src/sys/KERNEL-20110706-1 amd64 >Description: Hi, last week, it was the first time for me setting up a lagg interface with a cisco switch and had this page from the handbook as a guide: Link Aggregation and Failover http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html I had troubles getting everything to work because the lagg interface always showed "no carrier" as status and couldn´t get an address. After much googling, I found the reason for this is because you have make the laggports "up" before you create the lagg interface. The rest went off without a hitch and it was so cool to see everything "just work". You really got double the perfomance and perfect failover! If this had been explained in the handbook, it would have saved me half a day´s worth of troubleshooting. Correct approach: # ifconfig em0 up # ifconfig em1 up # ifconfig lagg0 create # ifconfig lagg0 up laggproto lacp laggport em0 laggport em1 /etc/rc.conf: ifconfig_em0="up" ifconfig_em1="up" cloned_interfaces="lagg0" ifconfig_lagg0="up laggproto lacp laggport em0 laggport em1 DHCP" I think it would make things much easier for other people in that situation, if this was explained on that page. How does that sound? /Sebulon >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: