Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.