From owner-freebsd-audit Wed Jun 27 10:12:50 2001 Delivered-To: freebsd-audit@freebsd.org Received: from mail.chem.msu.ru (mail.chem.msu.ru [195.208.208.19]) by hub.freebsd.org (Postfix) with ESMTP id 8415D37B401; Wed, 27 Jun 2001 10:12:43 -0700 (PDT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su ([158.250.32.97]) by mail.chem.msu.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id NHPRVH4D; Wed, 27 Jun 2001 21:07:48 +0400 Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id f5RHCWQ61872; Wed, 27 Jun 2001 21:12:32 +0400 (MSD) (envelope-from yar) Date: Wed, 27 Jun 2001 21:12:32 +0400 From: Yar Tikhiy To: Jonathan Lemon Cc: audit@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: Long ether frames & MTU Message-ID: <20010627211231.B52886@comp.chem.msu.su> References: <20010625230255.A11496@comp.chem.msu.su> <20010625142542.Z33375@prism.flugsvamp.com> <20010626075624.D95583@gsmx07.alcatel.com.au> <20010625172318.C33375@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010625172318.C33375@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Mon, Jun 25, 2001 at 05:23:18PM -0500 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jun 25, 2001 at 05:23:18PM -0500, Jonathan Lemon wrote: > On Tue, Jun 26, 2001 at 07:56:24AM +1000, Peter Jeremy wrote: > > On 2001-Jun-25 14:25:42 -0500, Jonathan Lemon wrote: > > >On Mon, Jun 25, 2001 at 11:02:55PM +0400, Yar Tikhiy wrote: > > >> > > >> While more and more Ethernet NIC drivers start supporting long > > >> frames (>1518 bytes), the user/admin still cannot raise MTU on an > > >> Ethernet interface above the 1500 byte limit due to outdated code > > >> in net/if_ethersubr.c > > [patch removed] > > > > >I'm not at all sure how this change will help anything, unless each > > >driver alters if_hdrlen. > > > > One benefit is for 802.1Q VLAN support - the existence of lots of > > hard-wired values that restrict frames to 1518 bytes makes configuring > > VLAN's a pain. It would be nice if attaching a vlan(4) to a driver that > > handled 1522 byte frames resulted in a 1500 byte MTU on the vlan. > > Maybe I'm being dense here, but even with 1522 byte frames, the MTU > of the device should still be 1500. MTU in this context applies to IP, > so it wouldn't include either the vlan header or the ethernet header. You have a point there! I mistook the layer 3 (IP, IPX etc) MTU for the physical MTU of the ethernet NIC, which is rather high by default for many adapter types, unlike MRU. To run VLANs, one don't need to increase the IP MTU on the trunk interface. So I recall the patch, sorry. -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message