Hi,
I have a box with 5 old-style netgear (de) interfaces on it, one talking
to the outside world, and 4 sending large quantities of data to a number
of other machines on the same switch. At the moment, we're setting up
a bunch of separate network addresses, one per card (de1-de4) and then
use the application to bind to particular addresses when sending data
to one machine.
Now, what I'd like to do is to aggregate de1-de4 into a single virtual
interface, with a simple round-robin setup, giving me a 400Mbit pipe
to play with, and making the internal network setup a great deal easier.
I first looked at Bill Paul's fec netgraph module, but this lacks a
pure round-robin approach, and odd things happen when the data load
is greater than a single interface. I also note that there are a number
of places in the code where it's suggested that the code is not MP-safe.
After a bit more investigation, I came across ng_one2many which appears
to do exactly what I want, only it just refuses to work for me.
The machine is running 4.3-STABLE as of a day or so, all appropriate
modules have been loaded, viz:
matrix 86# kldstat
Id Refs Address Size Name
1 5 0xc0100000 1b143c kernel
2 1 0xc71d5000 c3000 vinum.ko
3 1 0xc72f8000 3000 ng_one2many.ko
4 2 0xc72fc000 8000 netgraph.ko
5 1 0xc7307000 3000 ng_socket.ko
Yet when I try to perform the first part of the setup as documented
in the manpage, I get the following:
matrix 131# /usr/sbin/ngctl mkpeer de1: one2many upper one
ngctl: send msg: No such file or directory
matrix 132#
and obviously, everything else fails to do anything.
Any suggestions? I guess I could take the fec code, and rip it to
bits with a pure round-robin approach, but that seems like reinventing
the wheel given the existence of ng_one2many.
What am I missing here?
Regards,
-aDe
--
Ade Lovett, Austin, TX. [EMAIL PROTECTED]
FreeBSD: The Power to Serve http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message