Bridging of Networks??

A

Andy

Hi All,

My product has 2 network cards in it, 1 wired & 1
wireless.
I am trying to bridge them using the std XP bridging
concept. For that, I have included the
component "Internet Connection Sharing".
But when I try to bridge, an "unexpected error" popup
comes up and bridging fails.

So question is, has anyone been succ. in using std
Windows bridging concept using Win XP Embedded? If so,
what components are needed?

If not, does anyone have any ideas on how to achieve
bridging by some other means or software?
 
J

Jon Fincher

Hi All,

My product has 2 network cards in it, 1 wired & 1
wireless.
I am trying to bridge them using the std XP bridging
concept. For that, I have included the
component "Internet Connection Sharing".
But when I try to bridge, an "unexpected error" popup
comes up and bridging fails.

So question is, has anyone been succ. in using std
Windows bridging concept using Win XP Embedded? If so,
what components are needed?

If not, does anyone have any ideas on how to achieve
bridging by some other means or software?

Are you also adding the bridging components?

The only way to bridge the two adapters is via the GUI - there's no way
to do it in a NETSH script. Not sure if that helps....
 
A

Andy

Hi Jon,
Thanks for your response.

So far my research has shown that "MAC Bridge Miniport"
and "Local Network Bridge" components need to be added to
make this work. & of course Control Panel.

Is there any other obvious thing needed?

Also I was hoping to use netsh to bridge through code.
Is there any way to use a cmd shell or GUI is the only
way to go about it??

Thanks in advance,
Andy.
-----Original Message-----
Are you also adding the bridging components?

The only way to bridge the two adapters is via the GUI -
there's no way
to do it in a NETSH script. Not sure if that helps....
 
J

Jon Fincher

Hi Jon,
Thanks for your response.

So far my research has shown that "MAC Bridge Miniport"
and "Local Network Bridge" components need to be added to
make this work. & of course Control Panel.

Is there any other obvious thing needed?

Not that I can think of - "Local Network Bridge" should do the trick.
Also I was hoping to use netsh to bridge through code.
Is there any way to use a cmd shell or GUI is the only
way to go about it??

Unfortunately not - I looked for a way to do it via NETSH so I could
automate the testing of it, and found specifically that the only way to
bridge NIC's is via the GUI. That of course means there's an API for it
somewhere, but I was pressed for time so I didn't investigate it
further.
 
S

Slobodan Brcin

Hi Jon,
Thanks for your response.

So far my research has shown that "MAC Bridge Miniport"
and "Local Network Bridge" components need to be added to
make this work. & of course Control Panel.

Is there any other obvious thing needed?

Also I was hoping to use netsh to bridge through code.
Is there any way to use a cmd shell or GUI is the only
way to go about it??

You can always do the things with minumum two different ways: the easy and
the API way.
Since Jon said that there is no easy way and I don't know it either, then
there is always the API way.


I assume that until now you have been successful in installing "MAC Bridge
Miniport", only thing you need to do is to select and add network adapters
to it.

For that purpose you can use DDK sample bindview.
You can add and remove adapters from bridge with it among other things.
WINDDK\2600.1106\src\network\config\bindview\

Also look at the sample WINDDK\2600.1106\src\network\config\netcfg\ it is
usefull.

You need to configure IP address but this is already an old issue.

Look at all Network Configuration Interfaces like INetCfg.



This should give you some basic info to start the job of bridging net
adapters.


I really, really hate network programming. To many things can go wrong.


Best regards,
Slobodan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top