Re: Fwd: Some questions about Link Aggregation and Failover
Well that's exactly what I'm trying to show you. Link aggregation will *NOT* allow you to get 200mbs between 2 servers by sending data over the 2 cables. As per the example I pasted below, link aggregation uses a load balancing algorithm to share the traffic across several links. It will *NOT* use *BOTH* links for a single source ip - destination ip pair. On 3/9/12 2:15 AM, bo wang wrote: Hi. Maybe you can't understand me. I mean that how can I do Link Aggregation for increasing the top speed between two server and a switch. 2012/3/8 Damien Fleuriot m...@my.gd: From your switch, run the following tests: core1.drt.hi-media#test etherchannel load-balance interface port-channel 2 ip 1.2.3.4 5.6.7.8 Would select Gi1/1/1 of Po2 core1.drt.hi-media#test etherchannel load-balance interface port-channel 2 ip 1.2.3.4 5.6.7.9 Would select Gi2/1/1 of Po2 core1.drt.hi-media#test etherchannel load-balance interface port-channel 2 ip 1.2.3.4 5.6.7.10 Would select Gi2/1/1 of Po2 Of course, you'll want to adjust with your own servers and PC IP addresses. On 3/8/12 9:33 AM, bo wang wrote: -- Forwarded message -- From: bo wang wowo...@gmail.com Date: 2012/3/8 Subject: Re: Some questions about Link Aggregation and Failover To: n...@hdk5.net Hello: Please see the picture 1 that is my test before.Doing 2 group in c3750.When I use PC and server2 to connect server1 fpt server for download. I find the server1 just use 1 port of lagg, other ports don't work. Then I change my test , picture2 is showed. I do only 1 group in c3750 for server1. And do the same test.I find that there are two ports of lagg work.The lagg0 top speed can be 140MB/s (server2 speed is 100MB/S, PC speed is 40MB/s) It can increase top speed. So what can I do for doinig two group in a switch? 2012/3/8 bo wang wowo...@gmail.com: Sorry,I can't understand what your meaning. Switch#show etherchannel Channel-group listing: -- Group: 1 -- Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Minimum Links: 0 Group: 2 -- Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Minimum Links: 0 Switch#show etherchannel detail Channel-group listing: -- Group: 1 -- Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Minimum Links: 0 Ports in the group: --- Port: Gi1/0/1 Port state= Up Mstr Assoc In-Bndl Channel group = 1 Mode = Active Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 Port index= 0 Load = 0x00Protocol = LACP Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs. A - Device is in active mode.P - Device is in passive mode. Local information: LACP port Admin OperPortPort Port Flags State Priority Key Key Number State Gi1/0/1 SA bndl 32768 0x1 0x1 0x102 0x3D Partner's information: LACP portAdmin Oper Port Port Port Flags Priority Dev ID AgekeyKeyNumber State Gi1/0/1 SA 32768 0010.18c0.af20 24s0x00x250 0x3 0x3D Age of the port in the current state: 12d:22h:41m:09s Port: Gi1/0/2 Port state= Up Mstr Assoc In-Bndl Channel group = 1 Mode = Active Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 Port index= 0 Load = 0x00Protocol = LACP Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs. A - Device is in active mode.P - Device is in passive mode. Local information: LACP port Admin OperPortPort Port Flags State Priority Key Key Number State Gi1/0/2 SA bndl 32768 0x1 0x1 0x103 0x3D Partner's information: LACP portAdmin Oper Port Port Port Flags Priority Dev ID AgekeyKeyNumber State Gi1/0/2 SA 32768 0010.18c0.af20 26s0x00x250 0x4 0x3D Age of the port in the current state: 12d:22h:41m:15s Port-channels in the group: --- Port-channel: Po1(Primary Aggregator) Age of the Port-channel = 12d:22h:41m:21s Logical slot/port = 10/1 Number of ports = 2 HotStandBy port = null
Re: Fwd: Some questions about Link Aggregation and Failover
On 3/9/12 4:08 AM, Damien Fleuriot wrote: Well that's exactly what I'm trying to show you. Link aggregation will *NOT* allow you to get 200mbs between 2 servers by sending data over the 2 cables. As per the example I pasted below, link aggregation uses a load balancing algorithm to share the traffic across several links. It will *NOT* use *BOTH* links for a single source ip - destination ip pair. All of which is explained at least twice in the document the OP claims to have used http://www.freebsd.org/doc/en/books/handbook/network-aggregation.html once in the section on LACP: LACP balances outgoing traffic across the active ports based on hashed protocol header information and accepts incoming traffic from any active port. The hash includes the Ethernet source and destination address, and, if available, the VLAN tag, and the IPv4/IPv6 source and destination address. and once in Example 32-1, which is presumably being used as the cookbook for this project: Since frame ordering is mandatory on Ethernet links then any traffic between two stations always flows over the same physical link limiting the maximum speed to that of one interface. The transmit algorithm attempts to use as much information as it can to distinguish different traffic flows and balance across the available interfaces. Has use of Gig ethernet been considered? -- --Jon Radel j...@radel.com
Re: Fwd: Some questions about Link Aggregation and Failover
From your switch, run the following tests: core1.drt.hi-media#test etherchannel load-balance interface port-channel 2 ip 1.2.3.4 5.6.7.8 Would select Gi1/1/1 of Po2 core1.drt.hi-media#test etherchannel load-balance interface port-channel 2 ip 1.2.3.4 5.6.7.9 Would select Gi2/1/1 of Po2 core1.drt.hi-media#test etherchannel load-balance interface port-channel 2 ip 1.2.3.4 5.6.7.10 Would select Gi2/1/1 of Po2 Of course, you'll want to adjust with your own servers and PC IP addresses. On 3/8/12 9:33 AM, bo wang wrote: -- Forwarded message -- From: bo wang wowo...@gmail.com Date: 2012/3/8 Subject: Re: Some questions about Link Aggregation and Failover To: n...@hdk5.net Hello: Please see the picture 1 that is my test before.Doing 2 group in c3750.When I use PC and server2 to connect server1 fpt server for download. I find the server1 just use 1 port of lagg, other ports don't work. Then I change my test , picture2 is showed. I do only 1 group in c3750 for server1. And do the same test.I find that there are two ports of lagg work.The lagg0 top speed can be 140MB/s (server2 speed is 100MB/S, PC speed is 40MB/s) It can increase top speed. So what can I do for doinig two group in a switch? 2012/3/8 bo wang wowo...@gmail.com: Sorry,I can't understand what your meaning. Switch#show etherchannel Channel-group listing: -- Group: 1 -- Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Minimum Links: 0 Group: 2 -- Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Minimum Links: 0 Switch#show etherchannel detail Channel-group listing: -- Group: 1 -- Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Minimum Links: 0 Ports in the group: --- Port: Gi1/0/1 Port state= Up Mstr Assoc In-Bndl Channel group = 1 Mode = Active Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 Port index= 0 Load = 0x00Protocol = LACP Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs. A - Device is in active mode.P - Device is in passive mode. Local information: LACP port Admin OperPortPort Port Flags State Priority Key Key Number State Gi1/0/1 SA bndl 32768 0x1 0x1 0x102 0x3D Partner's information: LACP portAdmin Oper PortPort Port Flags Priority Dev ID AgekeyKeyNumber State Gi1/0/1 SA 32768 0010.18c0.af20 24s0x00x250 0x3 0x3D Age of the port in the current state: 12d:22h:41m:09s Port: Gi1/0/2 Port state= Up Mstr Assoc In-Bndl Channel group = 1 Mode = Active Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 Port index= 0 Load = 0x00Protocol = LACP Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs. A - Device is in active mode.P - Device is in passive mode. Local information: LACP port Admin OperPortPort Port Flags State Priority Key Key Number State Gi1/0/2 SA bndl 32768 0x1 0x1 0x103 0x3D Partner's information: LACP portAdmin Oper PortPort Port Flags Priority Dev ID AgekeyKeyNumber State Gi1/0/2 SA 32768 0010.18c0.af20 26s0x00x250 0x4 0x3D Age of the port in the current state: 12d:22h:41m:15s Port-channels in the group: --- Port-channel: Po1(Primary Aggregator) Age of the Port-channel = 12d:22h:41m:21s Logical slot/port = 10/1 Number of ports = 2 HotStandBy port = null Port state = Port-channel Ag-Inuse Protocol= LACP Port security = Disabled Ports in the Port-channel: Index Load Port EC stateNo of bits --+--+--+--+--- 0 00 Gi1/0/1 Active 0 0 00 Gi1/0/2 Active 0 Time since last port bundled:12d:22h:41m:17sGi1/0/1 Group: 2 -- Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16 Protocol: LACP Minimum Links: 0 Ports in the group
Re: Some questions about Link Aggregation and Failover
Sorry top post, not so smartphone. Do this on your c3750, in privileged mode: Show ether 1 sum On 7 Mar 2012, at 05:41, bo wang wowo...@gmail.com wrote: 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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Some questions about Link Aggregation and Failover
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 - downP - 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 ProtocolPorts --+-+---+--- 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 portAdmin Oper PortPort Port Flags Priority Dev ID AgekeyKeyNumber State Gi1/0/1 SA 32768 0010.18c0.af20 4s0x00x250 0x3 0x3D Gi1/0/2 SA 32768 0010.18c0.af20 4s0x00x250 0x4 0x3D Channel group 2 neighbors Partner's information: LACP portAdmin Oper PortPort Port Flags Priority Dev ID AgekeyKeyNumber State Gi1/0/13 SA 32768 0010.18c0.af7c 1s0x00x250 0x3 0x3D Gi1/0/14 SA 32768 0010.18c0.af7c 1s0x00x250 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 13sSA LACP Partner Partner Partner Port PriorityOper KeyPort State 327680x250 0x3D Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long YesYes 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 14sSA LACP Partner Partner Partner Port PriorityOper KeyPort State 327680x250 0x3D Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long YesYes 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 15sSA LACP Partner Partner Partner Port PriorityOper KeyPort State 327680x250 0x3D Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long YesYes 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 16sSA LACP Partner Partner Partner Port PriorityOper KeyPort State 327680x250 0x3D Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long YesYes Collecting: Distributing: Defaulted: Expired: Yes Yes No No 2012/3/7 bo wang wowo...@gmail.com: 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
Re: Some questions about Link Aggregation and Failover
On 3/6/12 11:41 PM, bo wang wrote: 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 How are you measuring the speed to determine that there is no speed-up? You're not, by some chance, sending test data between a single source and single destination address pair are you? -- --Jon Radel j...@radel.com
Some questions about Link Aggregation and Failover
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-unsubscr...@freebsd.org