From owner-freebsd-current@FreeBSD.ORG Tue Oct 12 13:33:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D49216A4CE; Tue, 12 Oct 2004 13:33:12 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6890C43D2D; Tue, 12 Oct 2004 13:33:11 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i9CDXAtS033803; Tue, 12 Oct 2004 16:33:10 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 81301-06; Tue, 12 Oct 2004 16:33:09 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i9CDX9hN033800; Tue, 12 Oct 2004 16:33:09 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i9CDWwt6084932; Tue, 12 Oct 2004 16:32:58 +0300 (EEST) (envelope-from ru) Date: Tue, 12 Oct 2004 16:32:58 +0300 From: Ruslan Ermilov To: Don Bowman Message-ID: <20041012133258.GA84905@ip.net.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: freebsd-current@freebsd.org cc: Gleb Smirnoff Subject: Re: Broadcom bge and 802.1Q vlan tags X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 13:33:12 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 12, 2004 at 09:24:15AM -0400, Don Bowman wrote: > From: Ruslan Ermilov [mailto:ru@FreeBSD.org] > > On Tue, Oct 12, 2004 at 08:32:38AM -0400, Don Bowman wrote: > > > Roub?cek Zdenek: > > > >=20 > > > > Hello current > > > >=20 > > > > I have run into a problem with my Broadcom NIC (Dell=20 > > > > LATITUDE D600). I am not able to detect 802.1Q tags on=20 > > > > incoming interface with ethereal or tcpdump. All incoming=20 > > > > packets seems like they are not coming through trunk but as=20 > > > > native ETH frames, ie. the vlan tag is missing, probably=20 > > > > removed before being passed to tcpdump? > > >=20 > > > ... > > >=20 > > > do you have if_vlan loaded? try 'kldload if_vlan'. > > > This happens automatically if you create a vlan interface, but > > > you may not have one if you are just sniffing. > > >=20 > > There appears to be a bug with drivers that support VLAN tag > > striping in hardware in case no VLAN interfaces are configured. > > In this case, ether_demux() will just proceed like if it was > > an untagged Ethernet frame. glebius@ promised to fix this bug. > >=20 > > Zdenek, unfortunately, the bge(4) driver doesn't allow the > > user to disable hardware vlan tag striping (like, e.g., the > > em(4) driver allows), so you cannot watch VLAN frames on this > > box using tcpdump or ethereal. >=20 > I believe you can work around it by creating a vlan interface, > even if not connected. > that is, if its the same bug that i've run into with em. >=20 Yes, sure. But you still won't be able to see the VLAN frame in this case (because VLAN information is stripped in h/w). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBa90KqRfpzJluFF4RAuqPAJ4/3+eq3lqN/weXCSt7uhw6xa7q9wCgkLDZ aMsCV8i+k/pbvhInTuX4cR8= =tzc3 -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--