Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 17:30:19 +0100 (MET)
From:      "Pedro J. Lobo" <pjlobo@euitt.upm.es>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        "C. Stephen Gunn" <csg@waterspout.com>, wollman@LITTLE-CHOCOLATE-DONUTS.MIT.EDU, wpaul@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   802.1Q VLAN support in FreeBSD
Message-ID:  <Pine.OSF.4.05.9912161713280.6154-100000@haddock.euitt.upm.es>

next in thread | raw e-mail | index | archive | help
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  <Link>      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  <Link>      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  <Link>      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  <Link>      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  <Link>      00.00.00.00.00.00        0     0          0
0     0          0     0
tun0* 1500  <Link>                               0     0          0
0     0          0     0
ppp0* 1500  <Link>                               0     0          0
0     0          0     0
lo0   16384 <Link>                               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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.05.9912161713280.6154-100000>