Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What I want to do, in VMware Workstation 8 on Windows (7 x64), is that one network card be used only by the host and the other only by VMware but not the host. This is because the networks ("Evil" and "Company") are physically separated and they are supposed to. The host is not supposed to be able to connect to both networks, but the VMs using the particular VMNet tied to the second network card should only be able to get into that physical network ("Company"), while the host should only be able to talk to "Evil". In short: I am trying to assign a secondary network card in such a way to VMware that only VMware but not the host can use that network card.

Can I do that? And if I can, how? Would the same problem be solvable in a Linux host with VMware Workstation?

Note: This is somewhat related to this question: How to connect 2 virtual machines(VMWare Workstation 7.0) in a separate network? (I guess) - but it's not the trivial issue from here: How to configure 2nd network card for use in VMWare Workstation?

share|improve this question
    
The linked question has 2 answers, the more helpful answer, should answer your question. WMWare 8 WMWare 9 in this regard would be exactly the same. –  Ramhound Nov 29 '12 at 17:18
    
@Ramhound: it does not. Perhaps you can re-read my question. –  0xC0000022L Nov 29 '12 at 20:41
    
Part of the problem is your question is not clear. The only question I see is "Can I do that?" so the answer to that question "Is of course you can". If your willing to clarify what your confused about, what exactly is different between the VMWare 8 and WMWare 9 in this regard then perhaps one can help. Of course the response by Brian lead me to setting up dedecation network connection to my virtual machine. –  Ramhound Nov 29 '12 at 23:32
    
I am describing in detail what I want to do in my introductory paragraph. I am trying to assign a secondary network card in such a way to VMware that only VMware but not the host can use that network card. I'll edit that into my question. –  0xC0000022L Nov 29 '12 at 23:35
    
Have you tried to disable the network connection on the host computer? Furthermore what sort of network device are we talking about. What you want is really simple if were talking about a USB device. –  Ramhound Nov 29 '12 at 23:42
show 3 more comments

1 Answer 1

up vote 2 down vote accepted

Turns out the solution to this problem is relatively trivial. Assuming you have two physical network adapters (NIC), make sure that one of them doesn't receive any IP (neither static nor via DHCP).

Once that is done in the VMware network editor create a new bridged network bound to this NIC and assign that network for use in VMs.

This way, because the host has received no IP for that NIC, most of the communication from the host to the network this NIC is physically connected to is effectively disabled.

Of course it depends at which OSI layer you want to prevent traffic. For me this was the solution. Works on Linux and Windows the same with VMware Workstation 8 and 9.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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