netgraph with 10Gig interfaces

mark mark at immermail.com
Fri Aug 11 14:55:14 UTC 2006


Gleb Smirnoff wrote:
> On Wed, Aug 02, 2006 at 02:22:13PM -0700, mark wrote:
> m> I cannot get netgraph to work with 10Gig interfaces
> m> on FreeBSD 6.1.  No errors, but no traffic seen.
> m> Config works with 1 Gig interfaces.  Anyone know why?
> m> 
> m> ngctl mkpeer . eiface hook ether
> m> ngctl mkpeer ngeth0: one2many lower one
> m> ngctl connect $if1: ngeth0:lower lower many0
> m> ngctl connect $if2: ngeth0:lower lower many1
> m> ifconfig ngeth0 -arp up
> 
> And where is interface here? Either 10Gig or 1 Gig? I don't
> see one.

This snippet is from a script, and the variables '$if1' and '$if2'
are set to the interfaces.  In effect, the 'connect' lines above
are actually (for Neterion 10Gig driver):

ngctl connect xge0: ngeth0:lower lower many0
ngctl connect xge1: ngeth0:lower lower many0

Help appreciated.

Thanks,

Mark



More information about the freebsd-net mailing list