Re: Is the MUX Sample Drive Incorrect?
- From: "Stephan Wolf [MVP]" <stewo68@xxxxxxxxxxx>
- Date: 1 Aug 2005 01:27:28 -0700
Yes, your assumption seems valid. Let me add some information on the
history of VLAN support in NDIS here:
VLAN support was added in NDIS 5.1, i.e. in Windows XP. Earlier
versions of NDIS or the OS did *not* support VLAN tagging directly.
NDIS 5.1 supports VLAN tagging in the OOB (out-of-band) information of
an NDIS_PACKET.
The MUX sample allows VLAN support even for earlier OS versions, namely
Windows 2000. IIRC, MUX does so by simply adding/removing the VLAN tag
information to/from the packet (frame) itself. The NDIS 5.1 VLAN
support mechanism is not used here.
I am not sure whether the MUX sample makes any distinction between NDIS
versions wrt VLAN support. Somebody correct me if I am wrong here.
Anyway, the important part is that there are NIC miniports out there
that do support VLAN tagging, while others don't. I have even seen an
Intel miniport recently that silently (!) removes VLAN tags on all
received frames. We thus had to download a special driver from Intel
and set a special registry key so the driver does no longer remove the
VLAN tag. (This is kind of ironical, right? I need a special driver to
*not* use a certain feature...)
So I suggest you first make sure the NIC miniport actually works as you
expect. Simply start any network sniffer like the MS Network Monitor,
Ethereal, or just any other. Then make sure you actually see VLAN
tagged frames being received on the physical (!) NIC.
For a short overview on the history of NDIS see also:
http://msdn.microsoft.com/library/en-us/network/hh/network/103prog_123c3b1d-c431-4829-9943-fd060d3ebe07.xml.asp
HTH, Stephan
---
Brent J. Gunning wrote:
> According to MSDN here
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/network/hh/network/204_802p_7a58dda8-5561-496c-bcac-5ac7b0bdac2e.xml.asp),
> on receive miniport drivers are supposed to remove the tag header vlan
> information and place it into the OOB data if the configured VLAN ID of
> the NIC is 0 and the packet contains a tag header. Therefore, if a
> packet was being received, it will have to go through the miniport
> driver before ever reaching the MUX driver --- right? So wouldn't the
> VLAN information be stripped out of the tag header and the MUX driver
> would never see it?
.
- Follow-Ups:
- Re: Is the MUX Sample Drive Incorrect?
- From: Brent J. Gunning
- Re: Is the MUX Sample Drive Incorrect?
- References:
- Is the MUX Sample Drive Incorrect?
- From: Brent J. Gunning
- Is the MUX Sample Drive Incorrect?
- Prev by Date: usb device power down
- Next by Date: Re: usb device power down
- Previous by thread: Is the MUX Sample Drive Incorrect?
- Next by thread: Re: Is the MUX Sample Drive Incorrect?
- Index(es):
Relevant Pages
|