From owner-freebsd-net@FreeBSD.ORG Wed Jul 12 06:19:26 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 0C7F616A4E5 for ; Wed, 12 Jul 2006 06:19:26 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF0443D45 for ; Wed, 12 Jul 2006 06:19:24 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k6C6JEoU072391; Wed, 12 Jul 2006 09:19:14 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Wed, 12 Jul 2006 09:19:14 +0300 (EEST) From: Dmitry Pryanishnikov To: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= In-Reply-To: <44B4882F.6060200@wm-access.no> Message-ID: <20060712091022.A65006@atlantis.atlantis.dp.ua> References: <20060705125957.T30599@atlantis.atlantis.dp.ua> <44B4882F.6060200@wm-access.no> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: if_rl VLAN support in RELENG_4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 06:19:26 -0000 Hello! On Wed, 12 Jul 2006, Sten Daniel S?rsdal wrote: >> In RELENG_4, RealTek 8129/8139 driver rl(4) doesn't claim VLAN support >> (when I assign vlandev rl0, my vlan device initially gets mtu 1496). In >> modern (e.g. RELENG_6) systems if_rl claims native VLAN support. I've >> tried setting 'ifconfig vlan0 mtu 1500' for rl-based vlan device, and >> resulting interface Just Works (TM) (1500-byte packets trasmit and receive >> correctly via such a vlan). So is it safe to use vlan with 'vlandev rl0' >> and 'mtu 1500' in RELENG_4? Has anyone observed any ill-effects in such >> a configuration? Would it be simple enough for if_rl in RELENG_4 to >> just announce native VLAN support to the system? >> >> Sincerely, Dmitry > > Not necessarily. I would assume, without looking, that you would also > need to enable oversized frame support. I'm curious whether you've missed the following: >> I've >> tried setting 'ifconfig vlan0 mtu 1500' for rl-based vlan device, and >> resulting interface Just Works (TM). So the required support seems to be already enabled (at least for my particular NIC). It isn't question for me whether _my_ NIC works in this mode - it definitely does. My question is whether _any_ rl(4)-supported card will behave in the same way ( = can I _rely_ on rl(4) in RELENG_4 being able to do 1500-byte VLANs). In RELENG_6, e.g., this capability is announced by the rl(4), so I can rely on it. But it seems to be an overkill to upgrade an average not-so-fast router to RELENG_6 just to be sure that rl(4) supports 1500-byte VLANs correctly, isn't it? Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE