Site Overlay

Network Settings for Viritual Box Virtual Machines

Network Settings for Viritual Box Virtual Machines

In this article, we will make network settings for the virtual machines that we have installed in the virtual machine manager. You can test it by applying the various settings that we are going to make and what they do.

After opening the virtual machine manager, right-click on the virtual machine where we are going to change the network setting and click on Settings .

BNs nV4 BUh6sh1AzC6U03bNakK2e4JxVo2rlQVEmcWW Zb9QLRuOruyuwjQeLBAHfiWUtZfO9nMlH2ejPlD5h6CS5DUjNAV5O666ulBBL6DBorMWFnm TcNsJ4 VDcAUAZ0qtYq

Then open the Network tab from the menu that opens;

2WQUqNkfxyM Kz7NHLRQGXuUc58ysYJOSIbLCJ hFLet97QPdYkm918tdD3xWA7WNJR Ro3eiumN nzA5LXf8

Virtualbox allows us to add multiple virtual network cards to virtual machines. In the example we will discuss here, we will set Adapter 1 , that is, only the first adapter. For this reason, activate the Enable this adapter option in the first tab.

0d7ugtHinrwWq2mLs0kpHgg552kuks hRV77WBDqiospavCmkj8UZchvnh10QeW5n5Br7ZGWkddoV 6E n e3wGn 3 4USUcRJfOTsvgDj54C2zvYZgD4TI4NTeo3LuetHPebpMT

Let's take a look at the options and touch on the settings and others we'll use in the course;

NAT NAT
Network Bridged Adapter Internal Network

Host-only Adapter

Generic Driver

Nat

NAT, or network address translation technology (which we will talk about in the basic networking section of our course), is a network technology that creates an internal network and allows multiple machines to benefit from the external address at the same time. The virtual machines that we select the NAT option will be included in an internal network just like the computers in the house and will communicate with each other through IP addresses on the internal network. The external IP address of this NAT table is our computer, which is the physical server. In other words, while the virtual machines communicate within themselves, Virtualbox acts as a router and access to the internet is provided through our physical computer.

NAT Network

When we want to create more than one different internal network on VirtualBox, we can create different NAT networks and run virtual machines on these networks. Virtual machines A and B are on network X, virtual machines C and D can run on network Y, and if they do not have a common network share, they cannot communicate with each other when there are no common machines.

Attention! You must set this setting to the NAT Network location on each machine to enable the virtual machines used to communicate with each other. After making this setting, restart your virtual machines.

As you can see in the picture, we can create Nat Network segments.

E6H2GyIw2p8GOxqPlNFoYCwznl2eI8M493NUGOMg6tWCM 5fqDRvzET yM1zc0ONiBtAhFJQU i5 ISUJW9UpAeRSzR5Zoxqi7PPHQcDIL3k8SEPWG59xg1JqyK3i iDjStb67j6

In order to add different machines to the same NAT segment, we need to select NatNetwork from the network settings on our virtual machine.

Bridged Adapter

When we want the virtual machines running on VirtualBox to be connected directly to the network card on our physical computer, we use the bridge connection. In this case, the IP address of your virtual machine will be the same as your physical computer.

Internal Network

Internal Network is pretty much the same thing as the Bridged Adapter, your virtual machine can access your computer's network card. However, the external network that is connected to is limited to only virtual machines running on the same computer.

Leave a Reply