From owner-freebsd-net Tue Jan 2 6:46: 2 2001 From owner-freebsd-net@FreeBSD.ORG Tue Jan 2 06:46:00 2001 Return-Path: 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 00DB837B400 for ; Tue, 2 Jan 2001 06:45:58 -0800 (PST) Received: from kampala-08.budapest.interware.hu ([195.70.52.200] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14DSh3-0000g7-00; Tue, 02 Jan 2001 15:45:42 +0100 Sender: julian@FreeBSD.ORG Message-ID: <3A51E944.FDFA491F@elischer.org> Date: Tue, 02 Jan 2001 06:44:21 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: "C. Stephen Gunn" Cc: Garrett Wollman , Andrea Franceschini , Ferdinand Goldmann , "freebsd-net@FreeBSD.ORG" Subject: Re: Problems with VLAN and natd. References: <200101020501.AAA58976@tsunami.waterspout.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "C. Stephen Gunn" wrote: > > On Sun, 31 Dec 2000 19:54:19 PST, Julian Elischer wrote: > > > > The current VLAN (and Ethernet) implementaiton in FreeBSD needs work. > > > FreeBSD should should handle multiple ethernet encapsulations on > > > the same physical interface, and relay packets to/from some subordinate > > > interface. This support would factor-out the need for current > > > work-arounds like if_vlan, and if_ef, and perhaps even if_tap. > > > > sounds like a perfect use for netgraph.. > > I've thought about this, and and a migation to netgraph would > require significant changes to how FreeBSD handles Ethernet (and > other IEEE 802) interfaces. not really. We can run netgraph attachments to the ethernet in parallel with normal ethernet interface usage. > > For example, you would no longer simply ``ifconfig xl'', but > associate a netgraph link-layer node on top of the xl interface, > and a netgraph interface node on top of the link-layer node, which > would function (mostly) like xl does now. you can eave the current xl interface running, and let netgraph syphen off only the VLAN packets.. > > Netgraph is an excellent technology. While your comment makes > sense, there are several issues that will need to be addressed. > For instance, the current ARP implementation in FreeBSD is > entangled with the generic ethernet code. > > I'm afraid to even contemplate the POLA and backward compatability > issues involved. POLA could be conserved.. :-) > > If this discussion is non-casual, we should eventually migrate > it over to -arch. -net is ok for now I think. > > - Steve > > -- > C. Stephen Gunn URL: http://www.waterspout.com/ > WaterSpout Communications, Inc. Email: csg@waterspout.com > 427 North 6th Street Phone: +1 765.742.6628 > Lafayette, IN 47901 Fax: +1 765.742.0646 -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ from Perth, presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message