Re: Disabling VLAN_HWTAGGING

From: David Gilbert (dgilbert_at_dclg.ca)
Date: 03/29/04

  • Next message: David Gilbert: "Re: Disabling VLAN_HWTAGGING"
    Date: Mon, 29 Mar 2004 15:03:08 -0500
    To: Julian Elischer <julian@elischer.org>
    
    

    >>>>> "Julian" == Julian Elischer <julian@elischer.org> writes:

    >> itself. No matter how it's set, in both Linux and FreeBSD, many
    >> nge chipsets will not show vlan packets from the driver with a
    >> tcpdump.

    Julian> netgraph interception?

    I don't understand the question. If you have a vlan on nge0, and you
    tcpdump the vlan interface, you get what you expect. If you tcpdump
    the nge0 interface, you get all the packets from all the vlans without
    vlan tags to differentiate. The FreeBSD and Linux drivers share this
    behaviour.

    Dave.

    -- 
    ============================================================================
    |David Gilbert, Independent Contractor.       | Two things can only be     |
    |Mail:       dave@daveg.ca                    |  equal if and only if they |
    |http://daveg.ca                              |   are precisely opposite.  |
    =========================================================GLO================
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: David Gilbert: "Re: Disabling VLAN_HWTAGGING"

    Relevant Pages

    • tcpdump doesnt show VLAN IDs
      ... tcpdump ion current Debian testing does not show the VLAN ID in 802.1q ... I have observed this using two machines: ... The VLAN works. ...
      (Debian-User)
    • Re: em(4) VLAN + PROMISC still doesnt work with latest CVS version
      ... In order for vlan briding to work the interface ... if you forget to put -p after tcpdump in ssh session ...
      (freebsd-net)
    • Re: tcpdump/bpf and seeing .1q tags
      ... > So a BPF is supposed to ignore vlan tags unless 'vlan' is specified?? ... tcpdump has not idea there is a tag on the packet causing any ... snagged the packet from the parent interface or the vlan interface. ...
      (freebsd-net)
    • Re: Linux, tcpdump and vlan
      ... stripping the tag early on RX and adding it late on TX. ... That means tcpdump would see packets with exactly one tag removed ... Tcpdump would need other means to get VLAN id... ...
      (Linux-Kernel)
    • Re: Broadcom bge and 802.1Q vlan tags
      ... All incoming packets seems like they are not coming through trunk ... >>but as native ETH frames, ie. the vlan tag is missing, probably removed ... >>before being passed to tcpdump? ... it is impossible to turn off hardware VLAN ...
      (freebsd-current)