Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 19:28:24 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Mike Hogsett <hogsett@csl.sri.com>, freebsd-stable@freebsd.org
Subject:   Re: VLAN's
Message-ID:  <5.1.0.14.0.20010814192514.04e2b4a8@192.168.0.12>
In-Reply-To: <200108142319.f7ENJ4o03304@glob.csl.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20010814192514.04e2b4a8>