From owner-freebsd-net@FreeBSD.ORG Thu Apr 17 19:43:46 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68FBC37B404; Thu, 17 Apr 2003 19:43:46 -0700 (PDT) Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F28E43F3F; Thu, 17 Apr 2003 19:43:45 -0700 (PDT) (envelope-from dgilbert@velocet.ca) Received: from trooper.velocet.ca (trooper.velocet.net [216.138.242.2]) by sabre.velocet.net (Postfix) with ESMTP id 23F541381F8; Thu, 17 Apr 2003 22:43:41 -0400 (EDT) Received: by trooper.velocet.ca (Postfix, from userid 66) id 852537490C; Thu, 17 Apr 2003 22:43:37 -0400 (EDT) Received: by canoe.velocet.net (Postfix, from userid 101) id B712056762E; Thu, 17 Apr 2003 21:10:31 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16031.20615.585606.881893@canoe.velocet.net> Date: Thu, 17 Apr 2003 21:10:31 -0400 To: Brooks Davis In-Reply-To: <20030418001904.GA23983@Odin.AC.HMC.Edu> References: <16031.17219.159093.279782@canoe.velocet.net> <20030418001904.GA23983@Odin.AC.HMC.Edu> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid cc: freebsd-net@freebsd.org cc: David Gilbert cc: freebsd-stable@freebsd.org Subject: Re: vlan0 on em0 has mtu 1496 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 02:43:46 -0000 >>>>> "Brooks" == Brooks Davis writes: Brooks> On Thu, Apr 17, 2003 at 08:13:55PM -0400, David Gilbert wrote: >> Why does a vlan created against em0 have a mtu of 1496. Brooks> Because the vlan header takes up 4 bytes. With em(4) devices Brooks> it looks like fixing that should be a simple matter of raising Brooks> the real interface's MTU to 1504. On many cards, like the fxp, the ability to send 1526 byte packets (which include vlan) is encoded in the header size abilities of the card, not the mtu. It would seem that em is missing this. Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================