Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2006 07:55:13 -0700
From:      mark <mark@immermail.com>
To:        Gleb Smirnoff <glebius@FreeBSD.org>, freebsd-net@FreeBSD.org
Subject:   Re: netgraph with 10Gig interfaces
Message-ID:  <44DC9A51.3030303@immermail.com>
In-Reply-To: <20060811111541.GE96644@FreeBSD.org>
References:  <44D11785.1080107@immermail.com> <20060811111541.GE96644@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44DC9A51.3030303>