Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2006 13:48:05 +0900
From:      Norikatsu Shigemura <nork@ninth-nine.com>
To:        freebsd-net@freebsd.org
Subject:   Re: How to use ng_atmllc(4).
Message-ID:  <20060903134805.6712617e.nork@ninth-nine.com>
In-Reply-To: <20060903132050.454e2078.nork@FreeBSD.org>
References:  <20060903132050.454e2078.nork@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 3 Sep 2006 13:20:50 +0900
Norikatsu Shigemura <nork@freebsd.org> wrote:
> 	I am sometime using the environment IEEE802.1a SNAP on ethernet.
> 	But FreeBSD's network stack supports only EtherframeII as IP.  So
> 	I researched how to use on IEEE802.1a SNAP.  I think that following
> 	approch is good.  But I couldn't do it:-(.
> 	# ngctl mkpeer . eiface if_ngeth ether
> 	# ngctl mkpeer . atmllc . ether   (Does not create a node)
> 	# ngctl list
> 	There are 5 total nodes:
> 	  Name: ngctl61978      Type: socket          ID: 000000be   Num hooks: 0
> 	  Name: ngeth0          Type: ether           ID: 000000ae   Num hooks: 0
> 	  Name: <unnamed>       Type: eiface          ID: 000000ad   Num hooks: 0
> 	  Name: iwi0            Type: ether           ID: 00000002   Num hooks: 0
> 	  Name: rl0             Type: ether           ID: 00000001   Num hooks: 0

	Oops, I missed.  I'm testing until following level.
	# ngctl mkpeer . eiface if_ngeth ether
	# ngctl mkpeer ngeth0: atmllc lower ether
	# ngctl list
	There are 6 total nodes:
	  Name: ngctl1269       Type: socket          ID: 0000000f   Num hooks: 0
	  Name: <unnamed>       Type: atmllc          ID: 0000000a   Num hooks: 1
	  Name: ngeth0          Type: ether           ID: 00000007   Num hooks: 1
	  Name: <unnamed>       Type: eiface          ID: 00000006   Num hooks: 0
	  Name: iwi0            Type: ether           ID: 00000003   Num hooks: 0
	  Name: rl0             Type: ether           ID: 00000002   Num hooks: 0

	I have no idea to connect ngeth0 <-> rl0.

> 	     |
> 	+----+----+
> 	| ngeth0  |
> 	+----+----+
> 	     | EtherframeII
> 	+----+----+
> 	|ng_atmllc|
> 	+----+----+
> 	     | IEEE802.1a SNAP
> 	+----+----+
> 	|   rl0   |
> 	+----+----+
> 	     |
> 
> 	Sorry, I cannot draw above network graph like 'ngctl dot' stlye.
> 	So I don't know that above graph is whether OK or NG.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060903134805.6712617e.nork>