Packet loss with ng_one2many

Dominic Marks dom at helenmarks.co.uk
Fri Sep 16 08:33:09 PDT 2005


Hello,

I'm trying to use two gigabit links together using ng_one2many.

I haven't done this before, so here is the environment:

FreeBSD 6 system with four gigabit interfaces, two of the four are going
to be used a single interface. I've attached em0 and em1 to a gigabit
switch and read manual pages / googled for information on how to configure
this.

I have the following script to set things up:

ngctl mkpeer em0: one2many upper one
ngctl connect em0: em0:upper lower many0
ngctl connect em1: em0:upper lower many1
ngctl msg em1: setpromisc 1
ngctl msg em1: setautosrc 0
ngctl msg em0:upper \
        setconfig "{ xmitAlg=1 failAlg=1 enabledLinks=[ 1 1 ] }"

I get 50% packet loss when using this. It seems to me like only the em0
interface is operating properly, although both NICs are connected and work
alright without ng_one2many.

Any clues as to what I am doing wrong / guides to implementation
ng_one2many? Is this email related to my problem?

http://lists.freebsd.org/pipermail/freebsd-net/2005-February/006500.html

Thanks,
--
Dominic Marks


More information about the freebsd-net mailing list