From owner-freebsd-stable Tue Aug 14 16:28:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cage.simianscience.com (cage.simianscience.com [64.7.134.1]) by hub.freebsd.org (Postfix) with ESMTP id 2226A37B40A for ; Tue, 14 Aug 2001 16:28:31 -0700 (PDT) (envelope-from mike@sentex.net) Received: (from root@localhost) by cage.simianscience.com (8.11.5/8.11.5) id f7ENSTQ54802; Tue, 14 Aug 2001 19:28:29 -0400 (EDT) (envelope-from mike@sentex.net) Received: from chimp.sentex.net (fcage [192.168.0.2]) by cage.simianscience.com (8.11.5/8.11.5av) with ESMTP id f7ENSPX54794; Tue, 14 Aug 2001 19:28:25 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20010814192514.04e2b4a8@192.168.0.12> X-Sender: mdtancsa@192.168.0.12 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 14 Aug 2001 19:28:24 -0400 To: Mike Hogsett , freebsd-stable@freebsd.org From: Mike Tancsa Subject: Re: VLAN's In-Reply-To: <200108142319.f7ENJ4o03304@glob.csl.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 04:18 PM 8/14/2001 -0700, Mike Hogsett wrote: >I have been reading and searching online and at FreeBSD.org for >information regarding VLAN's and FreeBSD. What I have found looks >promising. From the posts I found in various mail archives at >FreeBSD.org it would appear that many people have been using a patch >to "fix" the VLAN code for their systems. This patch appears to be >for 4.2. Is this patch still required for 4.3-STABLE systems? from a recent copy of STABLE, man 4 vlan shows.... The NICs that support oversized frames are as follows: de(4) requires defining BIG_PACKET in the /usr/src/sys/pci/if_de.c source file and rebuilding the kernel. The hack works only for the 21041, 21140, and 21140A chips. fxp(4) supports long frames for the vlan natively. tl(4) does support long frames. tx(4) may begin supporting long frames soon. xl(4) supports long frames only if the card is built on a newer chip (Cyclone and above). Note: Except for fxp(4), none of the above drivers inform the vlan driver about their support for long frames. Just fix the MTU of a vlan inter- face if it appears to be lower that 1500 bytes after attaching the vlan to a parent interface that is known to support long frames. I have used the fxp card with good results. The only annoying thing is that I see a lot of run frame errors on the switch. I dont see any performance hit, but its there none the less. e.g. ifconfig vlan0 192.168.1.1 netmask 255.255.255.252 vlan 123 vlandev fxp0 mtu 1500 up is all you need. I have a box with a 13 of these interfaces and it does what I want with about 20Mb/s throughput. ---Mike >Also, does FreeBSD (4.3-STABLE) support Cisco Etherchannel? If so, >can I bond two interfaces together then setup VLANs on the logical >bonded interface? > > - Michael Hogsett > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Network Administration, mike@sentex.net Sentex Communications www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message