Trying to make a Host into a gigabit hub for testing
Shawn Saunders
saundersconsult at hotmail.com
Sun Oct 30 03:49:29 PST 2005
Gleb,
Can you clarify then, the difference between the on2many and hub modules?
Based upon the names, I would consider the one2many to do exactly that, take
anything from 'one' and redirect it out to anything identified by 'many?'
I would also think that hub would behave exactly as a hub, introducing
collisions, etc, within the shared namespace of the environment for hub.
I do have some further questions.
At what level is the redirection happening, specifically, is this happening
in the driver on the NIC? Or are the packets being brought from the NIC
into the kernel on the host, and then retransmitted out the NIC on the other
port? Just currious.
I am hoping to be running an interesting environment for about 20 days, and
at the end of that, I hope to have some interesting real-life metrics, that
I will be happy to share with the rest of you.
Shawn
----- Original Message -----
From: "Gleb Smirnoff" <glebius at FreeBSD.org>
To: "Shawn Saunders" <saundersconsult at hotmail.com>
Cc: <dionch at freemail.gr>; <freebsd-net at FreeBSD.org>
Sent: Wednesday, October 26, 2005 6:17 AM
Subject: Re: Trying to make a Host into a gigabit hub for testing
> On Wed, Oct 26, 2005 at 07:15:18AM -0700, Shawn Saunders wrote:
> S> Actually, I think one2many is more appropriate. I do not want the
> traffic
> S> that is coming in on the incoming ports to be echoed back to them, and
> S> isn't that what the ng_hub would do?
>
> No, it wouldn't. It will send to all ports except of the port the
> packet was received on.
>
> P.S. Please do not top quote.
>
> --
> Totus tuus, Glebius.
> GLEBIUS-RIPN GLEB-RIPE
>
More information about the freebsd-net
mailing list