From owner-freebsd-net@FreeBSD.ORG Wed Dec 3 16:06:00 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02F61D85 for ; Wed, 3 Dec 2014 16:06:00 +0000 (UTC) Received: from rack.patpro.net (rack.patpro.net [193.30.227.216]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "patpro.net", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA7A6E9F for ; Wed, 3 Dec 2014 16:05:59 +0000 (UTC) Received: from patpro.univ-lyon2.fr (patpro.univ-lyon2.fr [159.84.113.250]) by rack.patpro.net (Postfix) with ESMTPSA id C6EA5A23; Wed, 3 Dec 2014 17:05:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=patpro.net; s=patpro; t=1417622758; bh=1L66i8+VAd1oAJjqmy5pLZgbK7E6uJjm9WvKPJcNaLI=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=gUiF9ks+EnvdQ39zAkreF6u7iQ9AyMMpyZ9H9JEjH27Qa2E0bQgXLYM/fLU3rAzKX ScsCN1oZRDAWHj5jjblDH/kvu2mfxP+Kq7rkF20DFsd9ALcZme6DxcUzyOcEkMCbUm ezUaLPqs5ffeuV4RPxN16XwPlIeMCj2WDumYyFxw= Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Horrendous upload network performance with VLAN (download seems OK) From: Patrick Proniewski In-Reply-To: <547F3352.3040101@multiplay.co.uk> Date: Wed, 3 Dec 2014 17:05:56 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <43C2162E-2B9F-437F-B4CF-E792CEC5DA7B@patpro.net> References: <727AB395-CF83-4D13-A2C3-50969C2969B0@patpro.net> <547F3352.3040101@multiplay.co.uk> To: Steven Hartland X-Mailer: Apple Mail (2.1510) Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-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: Wed, 03 Dec 2014 16:06:00 -0000 I did and it failed, but maybe I've not used the right syntax: # ifconfig bxe0 -vlanmtu ifconfig: -vlanmtu: Invalid argument man bxe makes me think that this driver won't allow this kind of = changes. On 3 d=E9c. 2014, at 16:59, Steven Hartland = wrote: > Have you tried disabling all the various flags VLAN flags on the NIC? >=20 > On 03/12/2014 15:46, Patrick Proniewski wrote: >>=20 >> Blade B is configured to access the network through a link sporting = multiple VLANs, so I've created a network interface that uses one of = these VLANs. Ping is OK, I can ssh to this server, transfer rate to the = server (down) is not fantastic but OK, enough to perform pkg = installation or FreeBSD update. Transfer rate from the server to the = rest of the world is abysmal, often stalling after few 100's KB. >>=20 >> ifconfig_bxe0=3D"UP" >> vlans_bxe0=3D"161" >> ifconfig_bxe0_161=3D"inet x.y.z.142/24" >> defaultrouter=3D"x.y.z.1" >>=20 >> # ifconfig bxe0 >> bxe0: flags=3D8843 = metric 0 mtu 1500 >> = options=3D507bb >> ether 00:17:a4:77:04:10 >> nd6 options=3D29 >> media: Ethernet autoselect (10Gbase-CX4 ) >> status: active >>=20 >> # ifconfig bxe0.161 >> bxe0.161: flags=3D8843 = metric 0 mtu 1500 >> options=3D303 >> ether 00:17:a4:77:04:10 >> inet x.y.z.142 netmask 0xffffff00 broadcast x.y.z.255 >> inet6 fe80::217:a4ff:fe77:410%bxe0.161 prefixlen 64 scopeid = 0x10 >> nd6 options=3D29 >> media: Ethernet autoselect (10Gbase-CX4 ) >> status: active >> vlan: 161 parent interface: bxe0