From owner-freebsd-net Tue Nov 14 16:40: 7 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id B7A1D37B4C5 for ; Tue, 14 Nov 2000 16:40:02 -0800 (PST) Received: from victoria-026.budapest.interware.hu ([195.70.63.26] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 13vqcH-0001X5-00; Wed, 15 Nov 2000 01:39:57 +0100 Message-ID: <3A11DB40.E50024F@elischer.org> Date: Tue, 14 Nov 2000 16:39:28 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Alex Pilosov Cc: freebsd-net@freebsd.org Subject: Re: netgraph/atm References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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