Date: Tue, 14 Nov 2000 16:39:28 -0800 From: Julian Elischer <julian@elischer.org> To: Alex Pilosov <alex@pilosoft.com> Cc: freebsd-net@freebsd.org Subject: Re: netgraph/atm Message-ID: <3A11DB40.E50024F@elischer.org> References: <Pine.BSO.4.10.10011141808420.18353-100000@spider.pilosoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alex Pilosov wrote:
>
> I'm beginning to look into implementing ATM rfc1483 bridging with freebsd.
>
> Here's my plan:
>
> 1. Add netgraph hooks to ATM HARP stack, in a similar way the LMI/DLCI
> hooks work for ethernet: ATM physical interfaces should appear as netgraph
> nodes.
>
> I.E. you should be able to do something like this:
> ngctl mkpeer hfa0:rawdata rfc1483 pvc0/33 encaps_llc_snap
> to decapsulate snap+llc bridged packets from that PVC.
>
> rfc1483 node would output 802.3 ethernet frames, extracted from that VC
yep.. If that's what rfc1483 (the rfc) treats as input and output.
>
> 2. Create a 'virtual ethernet' node type, which should be similar to
> current 'iface' type, only it should present actual ethernet-style
> interface, i.e. with MAC addresses, ARP, etc.
>
> Vitaly Belekhov's work should be very useful for me, since he implemented
> 'virtual ethernet' ng_eiface driver. Hopefully, I won't need to change
> anything, and can connect hfa0:rawdata:pvc0/33 directly to ng_eiface ;)
hopefully.
>
> 3. Then I can use bridging provided by freebsd on these virtual ethernets.
>
> Questions:
> 1) Does my scheme make sense?
yes, though I haven't checked everything...
>
> 2) I'll have probably 50-100 virtual ethernet devices. Should I expect
> major problems with this?
no.
(but ifconfig and netstat will get long :-)
>
> Also, I just wanted to say thanks to netgraph team...Its an awfully simple
> idea, treating network interfaces as just streams of packets, and using
> unixish semantics to connect them via filters/edges...
That's what we designed it for....
>
> Thanks.
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
--
__--_|\ Julian Elischer
/ \ julian@elischer.org
( OZ ) World tour 2000
---> X_.---._/ presently in: Budapest
v
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A11DB40.E50024F>
