Re: Fwd: Some questions about Link Aggregation and Failover

2012-03-09 Thread Jon Radel

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

2012-03-09 Thread Damien Fleuriot
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 :
>> 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 
>>> 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 :
>>>> 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  

about the top speed of Link Aggregation and A STRANGE PROBLEM

2012-03-09 Thread bo wang
Hi :
   I use a dell server making Link Aggregation with 6 ports and make
it be a FTP server. When I use 2 pc  connect the server at  the same
time. The top speed of the server can be 200MB/S. And in the
transmission I cut off one of working ports,the discard connetion will
be use another working port , it can't use a free port. So the top
speed is down to 100MB/s. And I use 2 pc connect again, It stil use
the last port. So I cut it off. Something happens,it will use 2 free
ports.And the top speed is up to 200MB/s. What is the matter? And I
use 3 pc connect,they use 3 ports. I cut one of them.It will use
another working port. Now there are two working ports,3 free ports,1
cut off.When I cut another port, It will use 2 free ports.Now it turn
back for using 3 ports, Why ?The LACP protocol's problem?
And I have a another question. I make RAID 0 in my server , Why
the top speed is 200MB/S ?  and  how could I do can make 2 server
transport with Link Aggregation ?
___
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: Fwd: Some questions about Link Aggregation and Failover

2012-03-08 Thread Damien Fleuriot
>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 
> 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 :
>> 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:
>>---

Re: Some questions about Link Aggregation and Failover

2012-03-07 Thread Jon Radel

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



Re: Some questions about Link Aggregation and Failover

2012-03-07 Thread Al Plant

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 :

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

Re: Some questions about Link Aggregation and Failover

2012-03-07 Thread bo wang
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 - 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 :
> 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 can

Re: Some questions about Link Aggregation and Failover

2012-03-07 Thread Damien Fleuriot
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  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"


Some questions about Link Aggregation and Failover

2012-03-06 Thread 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-unsubscr...@freebsd.org"


Issues with Link Aggregation

2011-12-02 Thread Duane Hill
Hello Freebsd-Questions,

I   have   an  Asus  laptop  running  FreeBSD  8.2-RELEASE-p4.  I have
successfully  configured  both the wired and wireless interfaces. They
both  work  individually.  I  use the wireless interface more than the
wired,   so  I  have  attempted  to  us link aggregation (LAGG) to tie
the  two  together  so either can be used when connected. lagg and iwn
have been added into a custom compiled kernel.

FreeBSD  on this Asus uses alc0 for the wired interface and iwn(wlan0)
for the wireless interface. The following is in my rc.conf:

  ifconfig_alc0="up"
  wlans_iwn0="wlan0"
  ifconfig_wlan0="up wpa"
  cloned_interfaces="lagg0"
  ifconfig_lagg0="laggproto failover laggport wlan0 laggport alc0"
  ipv4_addrs_lagg0="192.168.2.90/24"
  defaultrouter="192.168.2.1"
  hostname="asus.local"

Looking  at  various  documentation shows this should support wlan0 as
the master and alc0 as the failover.

Everything  is  working like it should. However, every so often, I get
messages on the console stating:

  alc0: phy read timeout : 0
  alc0: phy read timeout : 17
  alc0: phy read timeout : 1
  ...
  alc0: phy read timeout : 1

Even  though this is happening, there doesn't appear to be any issues.
Can anyone shed light on why these messages are showing up?

-- 
If at first you don't succeed, so much for skydiving."

___
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: FTP server link aggregation

2010-12-16 Thread Nikos Vassiliadis

On 12/15/2010 3:11 PM, Matthew Law wrote:

I have a single FreeBSD box acting as an FTP server for multiple FreeBSD
and Linux clients on the same /24 subnet (all gigabit ethernet).  It is
currently connected by just one of it's two gig ethernet ports.  I also
have two cisco switches with an etherchannel between them (using 2 x gig
ports on each switch).  I would like to connect the remaining NIC on my
FreeBSD box to the other switch and enable 802.3ad on those switch ports
to aggregate traffic between them.

This is in the hope that it can better serve multiple FTP clients.  Is my
thinking correct?  Other than the network interface changes which are
documented here:
http://www.freebsd.org/doc/handbook/network-aggregation.html are there any
further tweaks I could make to improve things? -the server is a 'standard
install' and does not use ZFS.  It has an adaptec 5408 RAID card with 4 x
SATA II drives and, IIRC, 128K stripe size and plenty of RAM.

Is there a way of testing this other than initiating large file transfers
to this server from multiple hosts?



A simple ping from multiple sources to your server will do. LACP will
associate each SRCMAC and DSTMAC pair to one physical interface. Creating
traffic with many different SRCMAC and DSTMAC pairs will use both physical
interfaces. But, I do vaguely remember that if_lagg was not able to perform
at 2 * 1Gbps level. Use "systat -ifstat" to check what's happening and
please, post your performance findings to the list!

HTH, Nikos
___
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"


FTP server link aggregation

2010-12-15 Thread Matthew Law
I have a single FreeBSD box acting as an FTP server for multiple FreeBSD
and Linux clients on the same /24 subnet (all gigabit ethernet).  It is
currently connected by just one of it's two gig ethernet ports.  I also
have two cisco switches with an etherchannel between them (using 2 x gig
ports on each switch).  I would like to connect the remaining NIC on my
FreeBSD box to the other switch and enable 802.3ad on those switch ports
to aggregate traffic between them.

This is in the hope that it can better serve multiple FTP clients.  Is my
thinking correct?  Other than the network interface changes which are
documented here:
http://www.freebsd.org/doc/handbook/network-aggregation.html are there any
further tweaks I could make to improve things? -the server is a 'standard
install' and does not use ZFS.  It has an adaptec 5408 RAID card with 4 x
SATA II drives and, IIRC, 128K stripe size and plenty of RAM.

Is there a way of testing this other than initiating large file transfers
to this server from multiple hosts?


Many thanks,

Matt.

___
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"


Link Aggregation

2008-02-28 Thread David Wassman
All,
 
I am having some difficulty in getting any protocol link aggregate to
work for network teaming. I have read the chapter in the handbook and
followed the instructions there. Unfortunately, it always comes up "no
carrier". I have tried the failover, loadbalance and lacp (with an
enabled lacp switch) to no avail. The link members are showing as active
but the lagg0 interface reports as "no carrirer"". I have assigned it a
valid IP address, etc.
 
I have tried this on two different "PC", one virtual in VMWare running
FreeBSD 6.3 amd64 and on a Dell PE 1300 running FreeBSD 6.3 i386 (I know
it is old, just for testing). Both behave identically. 
 
No updates have been made to either machine so if that is the issue let
me know. Other than that, I am at a lose (not much comes up in Google,
at least not in English).
 
Thanks for the help.
 

David Wassman, MCP Net+
IT Network Administrator
Davis, Monk & Company
(800) 344-5034
(352) 372-6300
(352) 375-1583 FAX

The information contained in this electronic message is legally
privileged and confidential under applicable law, and is intended only
for the use of the individual or entity named above. If you are not the
intended recipient, you are hereby notified that any dissemination,
copying or disclosure of this communication is strictly prohibited. If
you have received this communication in error, please notify Davis, Monk
& Company (352) 372-6300 and delete this communication immediately
without reading it, making any copies of it or distributing it.

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Port trunking or link aggregation under FreeBSD ?

2005-06-12 Thread Dan Nelson
In the last episode (Jun 13), Simiganoschi Teodor said:
> Hello,
> I have a switch with port trunking, on my server I have 2 NIC's, I
> whant to make them work as port trunking to comunicate with the
> switch.
> My NIC's are:
> fxp0: flags=8843 mtu 1500
> xl0: flags=8843 mtu 1500

You'll want to use the ng_fec netgraph node.  See the ng_fec manpage
for the syntax.  It doesn't support LACP autonegotiation, though, so
you will have to manually set a matching configuration on your swtich.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Port trunking or link aggregation under FreeBSD ?

2005-06-12 Thread Simiganoschi Teodor
Hello,
I have a switch with port trunking, on my server I have 2 NIC's, I
whant to make them work as port trunking to comunicate with the
switch.
My NIC's are:
fxp0: flags=8843 mtu 1500
inet 10.11.10.1 netmask 0xff00 broadcast 10.255.255.255
inet6 fe80::250:8bff:fe11:10fa%fxp0 prefixlen 64 scopeid 0x1
ether 00:50:8b:11:10:fa
media: Ethernet autoselect (100baseTX )
status: active
xl0: flags=8843 mtu 1500
options=b
inet 192.168.60.19 netmask 0xff00 broadcast 192.168.60.255
inet6 fe80::201:2ff:fe6e:482c%xl0 prefixlen 64 scopeid 0x2
inet 193.16.152.215 netmask 0xff00 broadcast 193.16.152.255
ether 00:01:02:6e:48:2c
media: Ethernet autoselect (100baseTX )
status: active
How can I do that ?
The NIC's have to be from the same vendor?
Thank you for your help!
Best regard,
-- 
Simi klumea.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD link aggregation / trunking / channel bonding

2004-03-23 Thread Matthew Seaman
On Mon, Mar 22, 2004 at 06:01:47PM -0600, lrnobs wrote:
> I have been googling for a while now and I can't find a "how to" on doing
> this with FreeBSD.

Try the ng_one2many(4) manual page as a good starting point.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


FreeBSD link aggregation / trunking / channel bonding

2004-03-22 Thread lrnobs
I have been googling for a while now and I can't find a "how to" on doing
this with FreeBSD.

Please point me to a book, or white paper, or site if you know of one.

Thanks,

Larry Nobs



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"