Could you also get the desired result by using a kernel without VLAN support? The original poster said he didn't want to configure VLAN interfaces anyway. -Shaun
On Thursday 15 November 2001 03:22, Brooks Davis wrote: > On Thu, Nov 15, 2001 at 12:53:35PM -0800, CJTT wrote: > > While sending some test traffic to a > > FreeBSD 4.4 (cvsupped yesterday), I noticed > > that tcpdump doesn't seem to see VLAN traffic > > received on the ti card as it does on the fxp card. > > (however, tcpdump on the sending ti card > > sees the traffic leave). > > [traffic dumps]. > > > Why do the two cards behave differently with regard to > > tcpdump (libpcap)? I need to be able to see the VLAN traffic > > without configuring VLANs (in a test lab). > > This is caused by the fact that ethernet adaptors provide bpf support > via the ether_input() function and on cards like those supported by ti(4) > which provide hardware vlan tag extraction, ether_input() is never called. > It would be relativly simple to modify vlan_input_tag() to take an ifp > argument and have it rebuild a packet to send to bpf. In current you > wouldn't even have to change the drivers because the wrapper macro for > locking already takes an if pointer. > > -- Brooks ---------------------------------------- Content-Type: application/pgp-signature; charset="us-ascii"; name="Attachment: 1" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message