From owner-freebsd-stable@freebsd.org Sun Apr 10 18:06:16 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 142C6B0A20B for ; Sun, 10 Apr 2016 18:06:16 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BCF3B1834 for ; Sun, 10 Apr 2016 18:06:15 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1apJkW-000Iku-Ez for freebsd-stable@freebsd.org; Sun, 10 Apr 2016 20:06:16 +0200 Date: Sun, 10 Apr 2016 20:06:16 +0200 From: Kurt Jaeger To: freebsd-stable@freebsd.org Subject: Re: VLAN problem on some em(4) cards Message-ID: <20160410180616.GX35640@home.opsec.eu> References: <20160410174415.GA1746@elch.exwg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160410174415.GA1746@elch.exwg.net> X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2016 18:06:16 -0000 Hi! > while replacing a switch I ran into a problem with using 802.1q VLANs > (vlan(4)) on a em(4) card - that is, I could not get the card to work > with VLANs. Have you tried fiddeling with the flags ? options=4219b examples: ifconfig em0 -rxcsum -txcsum -wol ifconfig em0 -vlanmtu -vlanhwtag I have a 10.3-i386 box with 82574L and VLANs on that interface, works fine (but I'm not using it for production, only as a test box). Can you show sysctl -a | grep dev.em | grep desc I have: dev.em.5.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.1.0 dev.em.4.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.1.0 dev.em.3.%desc: Intel(R) PRO/1000 Network Connection 7.6.1-k dev.em.2.%desc: Intel(R) PRO/1000 Network Connection 7.6.1-k dev.em.1.%desc: Intel(R) PRO/1000 Network Connection 7.6.1-k dev.em.0.%desc: Intel(R) PRO/1000 Network Connection 7.6.1-k -- pi@opsec.eu +49 171 3101372 4 years to go !