none
Problem with LWF and MAC Bridge on Windows 7 RRS feed

  • Question

  • I see a problem with installing an NDIS LWF over a Windows 7 SP1 MAC bridge. The configuration is this:

    1. Use a configuration with either two LAN adapters, or 1 LAN and 1 WLAN. Disconnect one of the adapters but make sure the connected adapter has a connection to a DHCP server.
    2. Create a MAC bridge using these two adapters. Once created, the MAC bridge should have an IP address from the DHCP server (i.e., a non-link-local address).
    3. Install the LWF built from the WDK's NDIS filter sample. You should see that the MAC bridge now loses it's IP configuration and reverts to a link-local address.
    4. Uninstall the LWF and the MAC bridge should regain an IP address from the DHCP server.

    I have tried steps 3-4 repeatedly on Windows 7 Ultimate SP1 x86. Occasionally, the MAC bridge does get an IP address but most of the time it doesn't and reverts to a link-local address. If I debug the LWF through WinDbg, I see that the binding to the MAC bridge miniport is in a media disconnected state even though the icon in Network Connections shows the bridge as connected.

    Once in this state, I can clear it by rebooting the system. When the system comes up, the bridge gets an IP address from the server and the LWF shows the MAC bridge miniport binding as media connected.

    I have tried this same test on Windows 8 x32, and cannot reproduce it. Every time I install the LWF, the bridge retains its IP address and configuration.

    So, my guess is that this is a problem with the Windows 7 MAC bridge miniport driver. However, is there any workaround for this that I can add to my LWF?

    Saturday, November 2, 2013 8:32 PM

All replies

  • Can someone please respond as to whether the problem I see is a problem with the Microsoft MAC bridge miniport on Windows 7?
    Thursday, November 7, 2013 4:27 PM
  • Also, just to re-state the problem:

    On Windows 7, if the MAC bridge binds two (or more) adapters and one is media disconnected, installing a LWF driver will cause the MAC bridge to lose it's DHCP-resolved IP address. As a result, the bridge assumes a link-local address and Internet access is broken over the bridge until the system is rebooted.

    If someone knows of a work-around, please let me know.

    Thursday, November 7, 2013 4:30 PM
  • Not sure about your question, but this is for a product.
    Thursday, November 7, 2013 8:48 PM