From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 02:45:09 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 22E43106566C for ; Thu, 8 Mar 2012 02:45:09 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id C3DD58FC1A for ; Thu, 8 Mar 2012 02:45:08 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id 7BCB61703E; Wed, 7 Mar 2012 16:25:41 -1000 (HST) Message-ID: <4F5818A4.20509@hdk5.net> Date: Wed, 07 Mar 2012 16:25:40 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: bo wang References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Some questions about Link Aggregation and Failover X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 02:45:09 -0000 bo wang wrote: > 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 Check your eth discriptor this is for Linux is not for FreeBSD use ed0 or other FreeBSD > 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 Port > Port Flags Priority Dev ID Age key Key Number State > Gi1/0/1 SA 32768 0010.18c0.af20 4s 0x0 0x250 0x3 0x3D > Gi1/0/2 SA 32768 0010.18c0.af20 4s 0x0 0x250 0x4 0x3D > > Channel group 2 neighbors > > Partner's information: > > LACP port Admin Oper Port Port > Port Flags Priority Dev ID Age key Key Number State > Gi1/0/13 SA 32768 0010.18c0.af7c 1s 0x0 0x250 0x3 0x3D > Gi1/0/14 SA 32768 0010.18c0.af7c 1s 0x0 0x250 0x4 0x3D > > > 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: >> Recently I want to do Link Aggregation for increasing the >> speed. I use a Cisco 3750 Switche and two IBM Server R with BSD >> 9.0 .I do link aggregation According to this page. >> http://www.freebsd.org/doc/en/books/handbook/network-aggregation.html >> I use LACP .But when i have done ,the link aggregation only can >> do Failover .It cann't increase the speed. What is the >> problem?Detailed configuration as follows >> >> in the BSD9.0 /etc/rc.conf >> hostname="bbc04" >> ifconfig_bce2="up" >> ifconfig_bce3="up" >> ifconfig_bce4="up" >> ifconfig_bce5="up" >> ifconfig_bce6="up" >> ifconfig_bce7="up" >> cloned_interfaces="lagg0" >> ifconfig_lagg0="laggproto loadbalance laggport bce2 laggport bce3 >> laggport bce4 laggport bce5 laggport bce6 laggport bce7" >> ipv4_addrs_lagg0="172.16.60.64/16" >> defaultrouter="172.16.0.1" >> sshd_enable="YES" >> pureftpd_enable="YES" >> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable >> dumpdev="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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol