From owner-freebsd-net@FreeBSD.ORG Sun Sep 3 04:48:12 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B3FE16A4DA for ; Sun, 3 Sep 2006 04:48:12 +0000 (UTC) (envelope-from nork@ninth-nine.com) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id B517E43D45 for ; Sun, 3 Sep 2006 04:48:08 +0000 (GMT) (envelope-from nork@ninth-nine.com) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.6/8.13.6/NinthNine) with ESMTP id k834m5wT037785 for ; Sun, 3 Sep 2006 13:48:06 +0900 (JST) (envelope-from nork@ninth-nine.com) Date: Sun, 3 Sep 2006 13:48:05 +0900 From: Norikatsu Shigemura To: freebsd-net@freebsd.org Message-Id: <20060903134805.6712617e.nork@ninth-nine.com> In-Reply-To: <20060903132050.454e2078.nork@FreeBSD.org> References: <20060903132050.454e2078.nork@FreeBSD.org> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Sun, 03 Sep 2006 13:48:06 +0900 (JST) Subject: Re: How to use ng_atmllc(4). X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 04:48:12 -0000 On Sun, 3 Sep 2006 13:20:50 +0900 Norikatsu Shigemura 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: 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: Type: atmllc ID: 0000000a Num hooks: 1 Name: ngeth0 Type: ether ID: 00000007 Num hooks: 1 Name: 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.