From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 01:13:44 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC038106564A for ; Thu, 8 Mar 2012 01:13:44 +0000 (UTC) (envelope-from wowopla@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 985948FC12 for ; Thu, 8 Mar 2012 01:13:44 +0000 (UTC) Received: by vcmm1 with SMTP id m1so5860240vcm.13 for ; Wed, 07 Mar 2012 17:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Wyrzz+5B/T+ZV0VZj1jva+8hrO2uPBaXhRUOFraTFUA=; b=Xeyh3RNs0sQkZcFqQw2pc7mkVjSP5FLEboMeJz3KO5qgb8G2navy82SumyvavNvRHO eZ9x/qxaBbJLSu5eOlwlq+FFAfSsKnCiQLO2rJIPObk+6CkxLDDV5tm7UCMPk+sCsTxN wIAEu8bb7nStPtNsf6CfbVn4v5wDC2qnx0AAsL56VlenhtsY7vXM5Ty8oonYxfiSd9rP zUKrK+AQ473hi9cK0zxca2qZHhQlEPQ6p25g52iajC3PgkntIAHhQG2vvvvDQw78zwew iuv/j+w7SXMXgq+bZgVjwSMX73ucVLUp+FDZGMMxkOaMtbu7vARPVf/K2t9EDX43LVWK Yo2A== MIME-Version: 1.0 Received: by 10.52.23.199 with SMTP id o7mr6914979vdf.79.1331169224069; Wed, 07 Mar 2012 17:13:44 -0800 (PST) Received: by 10.52.164.101 with HTTP; Wed, 7 Mar 2012 17:13:44 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Mar 2012 09:13:44 +0800 Message-ID: From: bo wang To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Some questions about Link Aggregation and Failover 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, 08 Mar 2012 01:13:44 -0000 Thank your for reply. First,I think the Link Aggregation can't support too much ports aggregation.So I change the configure, just get together two ports.Below are configuration information of c3750: Switch#show eth 1 sum Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use f - failed to allocate aggregator M - not in use, minimum links not met u - unsuitable for bundling w - waiting to be aggregated d - default port Number of channel-groups in use: 2 Number of aggregators: 2 Group Port-channel Protocol Ports ------+-------------+-----------+------------------------------------------= ----- 1 Po1(SU) LACP Gi1/0/1(P) Gi1/0/2(P) Switch#show lacp neighbor Flags: S - Device is requesting Slow LACPDUs F - Device is requesting Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Channel group 1 neighbors Partner's information: LACP port Admin Oper Port Por= t Port Flags Priority Dev ID Age key Key Number St= ate Gi1/0/1 SA 32768 0010.18c0.af20 4s 0x0 0x250 0x3 0x= 3D Gi1/0/2 SA 32768 0010.18c0.af20 4s 0x0 0x250 0x4 0x= 3D Channel group 2 neighbors Partner's information: LACP port Admin Oper Port Por= t Port Flags Priority Dev ID Age key Key Number St= ate Gi1/0/13 SA 32768 0010.18c0.af7c 1s 0x0 0x250 0x3 0x= 3D Gi1/0/14 SA 32768 0010.18c0.af7c 1s 0x0 0x250 0x4 0x= 3D Switch#show lacp neighbor detail Flags: S - Device is requesting Slow LACPDUs F - Device is requesting Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Channel group 1 neighbors Partner's information: Partner Partner Partner Port System ID Port Number Age Flags Gi1/0/1 32768,0010.18c0.af20 0x3 13s SA LACP Partner Partner Partner Port Priority Oper Key Port State 32768 0x250 0x3D Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long Yes Yes Collecting: Distributing: Defaulted: Expired: Yes Yes No No Partner Partner Partner Port System ID Port Number Age Flags Gi1/0/2 32768,0010.18c0.af20 0x4 14s SA LACP Partner Partner Partner Port Priority Oper Key Port State 32768 0x250 0x3D Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long Yes Yes Collecting: Distributing: Defaulted: Expired: Yes Yes No No Channel group 2 neighbors Partner's information: Partner Partner Partner Port System ID Port Number Age Flags Gi1/0/13 32768,0010.18c0.af7c 0x3 15s SA LACP Partner Partner Partner Port Priority Oper Key Port State 32768 0x250 0x3D Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long Yes Yes Collecting: Distributing: Defaulted: Expired: Yes Yes No No Partner Partner Partner Port System ID Port Number Age Flags Gi1/0/14 32768,0010.18c0.af7c 0x4 16s SA LACP Partner Partner Partner Port Priority Oper Key Port State 32768 0x250 0x3D Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long Yes Yes Collecting: Distributing: Defaulted: Expired: Yes Yes No No 2012/3/7 bo wang : > Hello: > =A0 =A0 =A0Recently I want to do Link Aggregation for increasing the > speed. I use a Cisco 3750 Switche and two IBM Server R =A0 =A0 =A0 with B= SD > 9.0 .I do link aggregation According to this page. > =A0 =A0 =A0http://www.freebsd.org/doc/en/books/handbook/network-aggregati= on.html > =A0 =A0 =A0I use LACP .But when i have done ,the link aggregation =A0only= can > do Failover =A0.It cann't increase the =A0speed. What is the > problem?Detailed configuration as follows > > in the BSD9.0 =A0/etc/rc.conf > hostname=3D"bbc04" > ifconfig_bce2=3D"up" > ifconfig_bce3=3D"up" > ifconfig_bce4=3D"up" > ifconfig_bce5=3D"up" > ifconfig_bce6=3D"up" > ifconfig_bce7=3D"up" > cloned_interfaces=3D"lagg0" > ifconfig_lagg0=3D"laggproto loadbalance laggport bce2 laggport bce3 > laggport bce4 laggport bce5 laggport bce6 laggport bce7" > ipv4_addrs_lagg0=3D"172.16.60.64/16" > defaultrouter=3D"172.16.0.1" > sshd_enable=3D"YES" > pureftpd_enable=3D"YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev=3D"NO" > > the Cisco 3750 configure > interface range gigabitEthernet 1/0/1-6 > channel-proto lacp > channel-group 1 mode active > > > interface range gigabitEthernet 1/0/13-18 > channel-proto lacp > channel-group 2 mode active