When you install VMware Workstation on Windows, it creates several virtual NICs, one of which is directly bridged to a NIC that's connected to the network (somehow, it appears to always be bridged to the NIC that's currently accessing the default gateway).

How do I create such a NIC without install VMware Workstation? I looked into MS Loopback Adaptor but it doesn't appear to be what I need (unless I'm mistaken).

  • 1
    What are you trying to do? – Zoredache May 31 '12 at 7:24
  • Have a Softphone (VoIP) app that needs to use a separate IP from the rest of the computer. – Yon May 31 '12 at 11:19

One way of doing this, used by software such as colinux/andlinux -and very likely vmware and other virtualization software is to use tap/tun drivers to create a virtual interface and use that - very commonly the drivers that are part of openvpn are used on windows.

You'd naturally need to tweak it to your needs, but here's an example of a C# program that uses the tap/tun interface from openvpn to simulate a remote network

  • Quite complex, is there one that doesn't involve coding? – Yon May 31 '12 at 11:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.