Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to test a firewall solution. For that i would like to create a virtual network, without contact with my network and configure two virtual ethernet cards in my firewall. is that possible? say that my virtual machine has two ethernets? If with virtualbox is not possible, is it possible with any VM solution? To create virtual network and virtual devices in my virtual operational system

share|improve this question
up vote 2 down vote accepted

This is quite easy in VirtualBox (and most virtualization products):

When creating/configuring the new Virtual Machine, enable Network Adapters 1 and 2, and instruct them to be attached to "Internal Network". If you give the same value for the internal network name, the cards will be attached to the same virtual switch. This will completely sandbox the network access for the VM.

You can also do the same through the command line:

VBoxManage modifyvm <VM Name> --nic<x> intnet

share|improve this answer

Your Answer


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.