Page 1 of 1

How do I bridge/unbridge programmatically on Windows 7?

Posted: Tue Jan 06, 2015 8:28 pm
by SteveKern
We develop virtual hardware devices and connect to them with our test environment using IP and tap devices. We use a couple of different configurations for different projects.

One project uses 4 tap devices that have been previously created and configured with IP addresses. The other project uses the same 4 tap devices but creates a bridge between the first three. Both projects run on Windows 7.

I would like to know how I can switch between these 2 configurations using script files or code (C++ or C#)

I appreciate any suggestions you might have.

Thanks!

Re: How do I bridge/unbridge programmatically on Windows 7?

Posted: Sat Jan 10, 2015 11:24 am
by Traffic
Have you tried netsh ?