locked
Implement bridge between two adapters - Intermediate Driver, LightWeight Filter Driver, Windows Filter Platform(WFP) RRS feed

  • Question

  • Hi !

    I want to implement bridge between two adapters (without ip)

    adapter A: (NDIS 6.2)  first network

    receive packets from first network clients and send them to second network via adapter B

    receive packets from adapter B, and send them to first network client

    adapter B: (NDIS 6.2) second network

    receive packets from adapter A and send them to second network

    receive packets from second network, and pass them to first network client via adapter A

    Thanks a lot.

    Tuesday, March 1, 2011 5:53 PM

Answers

  • Currently if you wish to do this before the parsing of the IP Header, then you will need to create an NDIS light weight filter. http://msdn.microsoft.com/en-us/library/ff570732(VS.85).aspx

    Additionally, Windows supports this out of box, so you really don't need to code anything. On a machine with 2 NICs, in Network Connections, right click the NIC and select "Bridge Connections"

    Hope this helps,

     


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Wednesday, March 2, 2011 11:20 PM
    Moderator

All replies

  • eto pervaja ssilka po teme na kot, ja natknulsja, :):):)

     

    S-s. B-n.

    Wednesday, March 2, 2011 7:48 PM
  • Currently if you wish to do this before the parsing of the IP Header, then you will need to create an NDIS light weight filter. http://msdn.microsoft.com/en-us/library/ff570732(VS.85).aspx

    Additionally, Windows supports this out of box, so you really don't need to code anything. On a machine with 2 NICs, in Network Connections, right click the NIC and select "Bridge Connections"

    Hope this helps,

     


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Wednesday, March 2, 2011 11:20 PM
    Moderator
  • Additionally, Windows supports this out of box, so you really don't need to code anything. On a machine with 2 NICs, in Network Connections, right click the NIC and select "Bridge Connections"

    Hope this helps,

    Yes I know about this possibility but I need to modify packets before sending

    Thanks for the reply
    Thursday, March 3, 2011 9:45 AM
  • Then, currently, you will need to implement a solution @ NDIS which is beyond the scope of this particular forum.

    Hope this helps,

     


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Thursday, March 3, 2011 6:54 PM
    Moderator
  • Is there API support for the Bridge Connections feature? We'd like to set up without having to click UI.
    Wednesday, December 5, 2012 8:30 PM