How to implement a software Network Bridge under both Windows 98 and 2K?

I need to implement a software Network Bridge under both Windows 98
and 2K.


| | My NICs | PC2(with| common NICs| |
| PC1 |---------- | bridge| -----------| LAN |
| | | ) | | |


Just as the above figure.There is a network connection by my NICs
between PC1 and PC2.PC2 connets to Lan by a commcon NIC.
This brige should intercept the packages from “my NIC” and broadcast
to the other NICs in PC2;This brige should also intercept the
packages from all the other NICs in PC2 and send to “my NIC”.Then PC1
can connect to LAN through PC2.

I read some materials about it.I guess maybe there are 2 ways to do
this:

1:NDIS MUX Intermediate driver (It is not a NDIS filter Intermediate
driver,is it?)
2:NDIS hook driver.

But the someone told me the installation of NDIS Intermediate driver
under windows 98 is a nightmare.
And the NDIS hook driver is undocumented tech.

Any one have any suggestion or any sample code?

Thanks a lot!

Samuel

Did you also consider the use of Netgroup’s Packet Driver?

You could then build a simple bridge in user space by just copying all
non-local packets from NIC1 to NIC2 and vice versa.

Sorry, I might have misunderstood your question. Your textart messed up
completely. I assumed a PC , working as a bridge between 2 LANs as follows:
LAN1-[NIC1 BRIDGE NIC2]-LAN2

Jan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Samuel
Sent: Wednesday, February 12, 2003 1:41 AM
To: NT Developers Interest List
Subject: [ntdev] How to implement a software Network Bridge under both
Windows 98 and 2K?

I need to implement a software Network Bridge under both Windows 98
and 2K.


| | My NICs | PC2(with| common NICs| |
| PC1 |---------- | bridge| -----------| LAN |
| | | ) | | |


Just as the above figure.There is a network connection by my NICs
between PC1 and PC2.PC2 connets to Lan by a commcon NIC.
This brige should intercept the packages from “my NIC” and broadcast
to the other NICs in PC2;This brige should also intercept the
packages from all the other NICs in PC2 and send to “my NIC”.Then PC1
can connect to LAN through PC2.

I read some materials about it.I guess maybe there are 2 ways to do
this:

1:NDIS MUX Intermediate driver (It is not a NDIS filter Intermediate
driver,is it?)
2:NDIS hook driver.

But the someone told me the installation of NDIS Intermediate driver
under windows 98 is a nightmare.
And the NDIS hook driver is undocumented tech.

Any one have any suggestion or any sample code?

Thanks a lot!

Samuel


You are currently subscribed to ntdev as: xxxxx@planet.nl
To unsubscribe send a blank email to xxxxx@lists.osr.com

There is at least one more way:

3: NDIS Protocol Driver

The driver binds to both NICs and then forwards packets between them.


Udo Eberhardt
Thesycon GmbH, Germany
xxxxx@thesycon.de
www.thesycon.de

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of
xxxxx@planet.nl
Sent: Wednesday, February 12, 2003 7:16 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How to implement a software Network Bridge under
both Windows 98 and 2K?

Did you also consider the use of Netgroup’s Packet Driver?

You could then build a simple bridge in user space by just copying all
non-local packets from NIC1 to NIC2 and vice versa.

Sorry, I might have misunderstood your question. Your textart messed up
completely. I assumed a PC , working as a bridge between 2 LANs
as follows:
LAN1-[NIC1 BRIDGE NIC2]-LAN2

Jan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Samuel
Sent: Wednesday, February 12, 2003 1:41 AM
To: NT Developers Interest List
Subject: [ntdev] How to implement a software Network Bridge under both
Windows 98 and 2K?

I need to implement a software Network Bridge under both Windows 98
and 2K.


| | My NICs | PC2(with| common NICs| |
| PC1 |---------- | bridge| -----------| LAN |
| | | ) | | |


Just as the above figure.There is a network connection by my NICs
between PC1 and PC2.PC2 connets to Lan by a commcon NIC.
This brige should intercept the packages from “my NIC” and broadcast
to the other NICs in PC2;This brige should also intercept the
packages from all the other NICs in PC2 and send to “my NIC”.Then PC1
can connect to LAN through PC2.

I read some materials about it.I guess maybe there are 2 ways to do
this:

1:NDIS MUX Intermediate driver (It is not a NDIS filter Intermediate
driver,is it?)
2:NDIS hook driver.

But the someone told me the installation of NDIS Intermediate driver
under windows 98 is a nightmare.
And the NDIS hook driver is undocumented tech.

Any one have any suggestion or any sample code?

Thanks a lot!

Samuel


You are currently subscribed to ntdev as: xxxxx@planet.nl
To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@thesycon.de
To unsubscribe send a blank email to xxxxx@lists.osr.com

Why not to use this?

http://www.ntkernel.com/utilities/etherbridge.htm

Source code is avalaible from PCAUSA as a part of Universal NDIS hooking
samples.

http://www.pcausa.com/ndispim/NdisHookDefault.htm

Best Regards,
Vadim V. Smirnov
http://www.ntkernel.com

“Samuel” wrote in message news:xxxxx@ntdev…
>
> I need to implement a software Network Bridge under both Windows 98
> and 2K.
> -------- ---------- -------------
> | | My NICs | PC2(with| common NICs| |
> | PC1 |---------- | bridge| -----------| LAN |
> | | | ) | | |
> -------- ----------- -------------
> Just as the above figure.There is a network connection by my NICs
> between PC1 and PC2.PC2 connets to Lan by a commcon NIC.
> This brige should intercept the packages from “my NIC” and broadcast
> to the other NICs in PC2;This brige should also intercept the
> packages from all the other NICs in PC2 and send to “my NIC”.Then PC1
> can connect to LAN through PC2.
>
>
> I read some materials about it.I guess maybe there are 2 ways to do
> this:
>
> 1:NDIS MUX Intermediate driver (It is not a NDIS filter Intermediate
> driver,is it?)
> 2:NDIS hook driver.
>
> But the someone told me the installation of NDIS Intermediate driver
> under windows 98 is a nightmare.
> And the NDIS hook driver is undocumented tech.
>
> Any one have any suggestion or any sample code?
>
> Thanks a lot!
>
> Samuel
>
>