From owner-freebsd-net Thu Dec 16 8:33:22 1999 Delivered-To: freebsd-net@freebsd.org Received: from euitt.upm.es (haddock.euitt.upm.es [138.100.52.102]) by hub.freebsd.org (Postfix) with ESMTP id 7A3E315488; Thu, 16 Dec 1999 08:33:04 -0800 (PST) (envelope-from pjlobo@euitt.upm.es) Received: from localhost (pjlobo@localhost) by euitt.upm.es (8.9.3/8.9.3) with ESMTP id RAA06300; Thu, 16 Dec 1999 17:30:20 +0100 (MET) Date: Thu, 16 Dec 1999 17:30:19 +0100 (MET) From: "Pedro J. Lobo" To: "Jordan K. Hubbard" Cc: "C. Stephen Gunn" , wollman@LITTLE-CHOCOLATE-DONUTS.MIT.EDU, wpaul@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: 802.1Q VLAN support in FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello. I have seen today a discussion that took place in freebsd-net a few days ago about VLAN support. Well, I know that you are going to kill me, and that I really deserve it, but I have been reliably running VLANs on my desktop PC since last summer O:-) "Reliably" means not a single problem in about six months, with 8 to 12 hours of use per day. For example: deneb:pjlobo> netstat -ib Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll fxp0 1500 00.a0.c9.e7.09.ca 25337 0 28640604 21968 0 11327081 0 fxp0 1500 none none 25337 0 28640604 21968 0 11327081 0 vlan0 1500 00.a0.c9.e7.09.ca 0 0 113102 0 0 1742 0 vlan0 1500 10.0.52/24 deneb.red 0 0 113102 0 0 1742 0 vlan1 1500 00.a0.c9.e7.09.ca 0 0 27338299 0 0 11304225 0 vlan1 1500 138.100.52/25 deneb 0 0 27338299 0 0 11304225 0 vlan2 1500 00.a0.c9.e7.09.ca 0 0 1026543 0 0 21373 0 vlan2 1500 138.100.52.12 deneb.alumnos 0 0 1026543 0 0 21373 0 vlan3 1500 00.00.00.00.00.00 0 0 0 0 0 0 0 tun0* 1500 0 0 0 0 0 0 0 ppp0* 1500 0 0 0 0 0 0 0 lo0 16384 0 0 0 0 0 0 0 lo0 16384 127 localhost 0 0 0 0 0 0 0 deneb:pjlobo> uptime 5:28PM up 5:45, 4 users, load averages: 0.21, 0.21, 0.21 All this time I've been thinking "hey, I must tell this to someone" since then, but I've been very busy at work, my memory is weak, I'm very lazy... well, I know I have no excuse, but the fact is that I didn't do it. I must say that I was quite impressed when the thing worked. I have no experience with the BSD kernel, although I do have experience in C (and C++, Java, perl, etc, etc) programming. I did what I believed to be a quick and dirty hack (and I still think so), and voila, it worked. I can send you a tarball with the patches relative to -stable. I use a Intel Etherexpress Pro/100 card (fxp driver), and it is the only supported device, but the modifications to the driver are small and they shouldn't be very hard to reproduce in other drivers. Again, I am very sorry for having kept this for myself until now. Regards, Pedro. -- ------------------------------------------------------------------- Pedro José Lobo Perea Tel: +34 91 336 78 19 Centro de Cálculo Fax: +34 91 331 92 29 E.U.I.T. Telecomunicación e-mail: pjlobo@euitt.upm.es Universidad Politécnica de Madrid Ctra. de Valencia, Km. 7 E-28031 Madrid - España / Spain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message