From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/vagrant/virtualbox%2Fnetworking.html | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 devdocs/vagrant/virtualbox%2Fnetworking.html (limited to 'devdocs/vagrant/virtualbox%2Fnetworking.html') diff --git a/devdocs/vagrant/virtualbox%2Fnetworking.html b/devdocs/vagrant/virtualbox%2Fnetworking.html deleted file mode 100644 index 0290178f..00000000 --- a/devdocs/vagrant/virtualbox%2Fnetworking.html +++ /dev/null @@ -1,20 +0,0 @@ -

Networking

VirtualBox Internal Network

The Vagrant VirtualBox provider supports using the private network as a VirtualBox internal network. By default, private networks are host-only networks, because those are the easiest to work with. However, internal networks can be enabled as well.

To specify a private network as an internal network for VirtualBox use the virtualbox__intnet option with the network. The virtualbox__ (double underscore) prefix tells Vagrant that this option is only for the VirtualBox provider.

Vagrant.configure("2") do |config|
-  config.vm.network "private_network", ip: "192.168.50.4",
-    virtualbox__intnet: true
-end
-
-

Additionally, if you want to specify that the VirtualBox provider join a specific internal network, specify the name of the internal network:

Vagrant.configure("2") do |config|
-  config.vm.network "private_network", ip: "192.168.50.4",
-    virtualbox__intnet: "mynetwork"
-end
-
-

VirtualBox NIC Type

You can specify a specific NIC type for the created network interface by using the nic_type parameter. This is not prefixed by virtualbox__ for legacy reasons, but is VirtualBox-specific.

This is an advanced option and should only be used if you know what you are using, since it can cause the network device to not work at all.

Example:

Vagrant.configure("2") do |config|
-  config.vm.network "private_network", ip: "192.168.50.4",
-    nic_type: "virtio"
-end
-
-

- © 2010–2018 Mitchell Hashimoto
Licensed under the MPL 2.0 License.
- https://www.vagrantup.com/docs/virtualbox/networking.html -

-
-- cgit v1.2.3