From owner-freebsd-net Tue Aug 28 13:17:37 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 1744837B40C for ; Tue, 28 Aug 2001 13:17:22 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simoeon.sentex.net (pyroxene.sentex.ca [199.212.134.18]) by smtp1.sentex.ca (8.11.6/8.11.6) with ESMTP id f7SKHJl65255; Tue, 28 Aug 2001 16:17:19 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20010828160054.01accec0@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 28 Aug 2001 16:11:16 -0400 To: Garrett Wollman From: Mike Tancsa Subject: Re: Runt frames = broken VLAN ? Cc: freebsd-net@FreeBSD.ORG In-Reply-To: <200108281654.f7SGsIF38299@khavrinen.lcs.mit.edu> References: <5.1.0.14.0.20010828010515.0221d380@192.168.0.12> <5.1.0.14.0.20010828010515.0221d380@192.168.0.12> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 12:54 PM 8/28/01 -0400, Garrett Wollman wrote: >< said: > > > Can anyone tell me why the VLAN code might be causing my switches (ciscos) > > to see a lot of runt frames when the interface is in 802.1q trunking > mode ? > >It's possible that the Cisco is (bogusly, IMHO) trying to enforce the >Ethernet minimum frame length on the *de*capsulated frames. If you >send a frame that's less than 60 octets long, it gets encapsulated >(adding another four octets) and then padded by the interface up to 64 >octets. After the encapsulation is removed by the receiver, the frame >appears to only be 60 octets long. > >I'd call it a Cisco bug. The minimum frame length in Ethernet arises >from the electrical parameters of the original CSMA/CD Ethernet >design; what matters is the number of clocks the transmitter is >active, not the length of the payload. If its a Cisco bug, would it not manifest it self consistently ? On other ports, I have a 3620 and another catalyst both in 802.1q trunking mode, but I dont see any runt frames there. Also, who is the VLAN maintainer these days ? I ran into a panic that I thought was netgraph related, but Archie Cobbs thinks it might be in the VLAN code. I filed a PR on the issue http://www.freebsd.org/cgi/query-pr.cgi?pr=30149 I saved the debug kernel as well as the core dump in case its needed, but the problem is easy enough to repeat. ---Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message