How to use ng_atmllc(4).
Norikatsu Shigemura
nork at ninth-nine.com
Sat Sep 2 21:48:12 PDT 2006
On Sun, 3 Sep 2006 13:20:50 +0900
Norikatsu Shigemura <nork at 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.
More information about the freebsd-net
mailing list