NIC bonding/teaming

2006-01-13 Thread jim feldman
Does 6.x have a nic bonding/teaming/failover feature like the linux bond 
(rnd robin, failover, ld bal, trunking)?  I'm thinking multiple nics, 
one server, same lan/vlan.  I've read up on CARP and one2many, but they 
don't seem to do what bond does.


thanks

jim


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


Re: NIC bonding/teaming

2006-01-13 Thread Ceri Davies


On 13 Jan 2006, at 20:22, jim feldman wrote:

Does 6.x have a nic bonding/teaming/failover feature like the linux  
bond (rnd robin, failover, ld bal, trunking)?  I'm thinking  
multiple nics, one server, same lan/vlan.  I've read up on CARP and  
one2many, but they don't seem to do what bond does.




I think you want ng_one2many(4).

Ceri


PGP.sig
Description: This is a digitally signed message part


Re: NIC bonding/teaming

2006-01-13 Thread Ian Lord

At 16:47 2006-01-13, Ceri Davies wrote:


On 13 Jan 2006, at 20:22, jim feldman wrote:


Does 6.x have a nic bonding/teaming/failover feature like the linux
bond (rnd robin, failover, ld bal, trunking)?  I'm thinking
multiple nics, one server, same lan/vlan.  I've read up on CARP and
one2many, but they don't seem to do what bond does.


I think you want ng_one2many(4).

Ceri


Hi,

I did a lot of tests with carp (was not appropriate at all), and ng_one2many

I was able to make two nics appears at one with ng_one2many, but 
after severals days of tests and research, dropped it because it 
caused bad side effects and when I was pulling one nic out, it was 
stopping to transmit/receive for some moment. Also on the switch, 
both nics were registering the same mac address so my cisco was 
sending me warning about it every minute.


If you find a way to make it work that works perfectly, let me know, 
I think a lot of people will benefit from it cause there is a bunch 
of people asking for nic teaming and no real solution...


personnally, I ended up doing the redundancy at layer 3 instead of layer 2.

I used quagga (or zebra) and put one nic in a separate subnet. I then 
used ospf to share routes. basically, my website is on an ip I binded 
to my loopback adapter and there is two gateways (both nics) to the 
rest of the network. It's not a solution I'm proud of because I wish 
I would have succeed to team the nic like I could have done on 
windows or linux, but I didn't find a working solution...


Good luck

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


Re: NIC bonding/teaming

2006-01-13 Thread Dan Nelson
In the last episode (Jan 13), Ian Lord said:
 At 16:47 2006-01-13, Ceri Davies wrote:
 On 13 Jan 2006, at 20:22, jim feldman wrote:
 Does 6.x have a nic bonding/teaming/failover feature like the linux
 bond (rnd robin, failover, ld bal, trunking)?  I'm thinking
 multiple nics, one server, same lan/vlan.  I've read up on CARP and
 one2many, but they don't seem to do what bond does.
 
 I think you want ng_one2many(4).
 
 I did a lot of tests with carp (was not appropriate at all), and
 ng_one2many

 I was able to make two nics appears at one with ng_one2many, but
 after severals days of tests and research, dropped it because it
 caused bad side effects and when I was pulling one nic out, it was
 stopping to transmit/receive for some moment. Also on the switch,
 both nics were registering the same mac address so my cisco was
 sending me warning about it every minute.

That's because you forgot to configure your cisco and tell it those two
ports were trunked together :)

Another alternative to ng_one2many is ng_fec, which despite its name
does not actually negotiate the FEC protocol with the remote end (you
have to hardcode it on the switch), but does do mac/ip port hashing. 
That prevents packet reordering within flows.  Patches to add LACP
negotiation (FEC is obsolete) are welcome though :)

-- 
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]


Re: NIC bonding/teaming

2006-01-13 Thread Ian Lord

At 17:14 2006-01-13, Dan Nelson wrote:

In the last episode (Jan 13), Ian Lord said:
 At 16:47 2006-01-13, Ceri Davies wrote:
 On 13 Jan 2006, at 20:22, jim feldman wrote:
 Does 6.x have a nic bonding/teaming/failover feature like the linux
 bond (rnd robin, failover, ld bal, trunking)?  I'm thinking
 multiple nics, one server, same lan/vlan.  I've read up on CARP and
 one2many, but they don't seem to do what bond does.
 
 I think you want ng_one2many(4).

 I did a lot of tests with carp (was not appropriate at all), and
 ng_one2many

 I was able to make two nics appears at one with ng_one2many, but
 after severals days of tests and research, dropped it because it
 caused bad side effects and when I was pulling one nic out, it was
 stopping to transmit/receive for some moment. Also on the switch,
 both nics were registering the same mac address so my cisco was
 sending me warning about it every minute.

That's because you forgot to configure your cisco and tell it those two
ports were trunked together :)

Another alternative to ng_one2many is ng_fec, which despite its name
does not actually negotiate the FEC protocol with the remote end (you
have to hardcode it on the switch), but does do mac/ip port hashing.
That prevents packet reordering within flows.  Patches to add LACP
negotiation (FEC is obsolete) are welcome though :)


Oups :) Forgot to mention I was looking for switch redundancy also... 
So each nics were plugged into 2 separate switches so I was not able 
to configure the switch as trunk or etherchannel...


On windows, I am able to team the nics on two different switches 
without problem with the hp or Intel teaming software, I guess only 
one nic works at the same time and register it's mac address in the 
switch tcam...


For the original question, it should work with ng_one2Many :)



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