Trying to make a Host into a gigabit hub for testing

Gleb Smirnoff glebius at FreeBSD.org
Thu Oct 20 22:32:32 PDT 2005


On Thu, Oct 20, 2005 at 09:31:15PM +0000, Shawn Saunders wrote:
S> Chris,
S> 
S> Now the traffic is going out all the ports, thanks.  Only one issue, is 
S> that it is also being echo'd back the em0 interface.  When I put this under 
S> a full GIGABIT load, 6 interfaces feeding back what was just sent them, 
S> will kill my primary em0 interface.
S> 
S> Is there a way to make the echo from em0 to all other interfaces only go 
S> one-way, rather than em0 also being part of the group and receiving 
S> everthing it sends back again?

I haven't yet understood the graph you built, but the Subject line
tells me that you should use ng_hub(4), not ng_one2many(4) or ng_fec(4).

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-net mailing list