

If the test is unsuccessful at this point, check the firewall of the host machine and make sure it allows ICMP echo from the local 192.168.56.0/24 subnet. As they are in the same IPv4 network, they should be able to communicate without routing which we can test with the ping command. Without going to too much detail about the above command, we are setting the IP address of the enp0s8 interface to be in the same range, and with the same netmask as the connected host interface. FInding the ethernet adapter on the Live Raizo virtual machineħ Type “sudo ifconfig enp0s8 192.168.56.10/24” (without quotes) to configure the IP address for the interface.
#GNS3 VIRTUAL MACHINE MAC#
The MAC address that is shown at (3) matches the MAC address of the adapter enp0s8 (4) so we now know which adapter to configure our IP address on. Once the VM has started type in “ifconfig” and press enter to show the details of the adapters present.įrom the VirtualBox Manager window, we can see that the host adapter is “Adapter 2” (1), and if we click on “Network” (2) the “Settings” window opens and we can click on the Adapter 2 tab to see the details. Setting up the virtual machine interface to hostĦ We also need to identify the interface on the VM that connects to the host so open VirtualBox and start the Live Raizo VM.
#GNS3 VIRTUAL MACHINE WINDOWS#
Click on the Windows Start Button and type “network” and then click on “Network and Sharing Center”, then click “Change Adapter Settings” Finding the VirtualBox Host-Only Ethernet Adapter in the GUIĤ Right-click on the VirtualBox Adapter and choose “Properties”, then in the Networking tab, scroll down and select Internet Protocol Version 4 and again click “Properties”.Ĭhanging the IP address and default gateway of an adapter. Finding the VirtualBox Host-Only Ethernet Adapter in the CLIģ We can use the above information to find the adapter in the Network section of the Windows Control Panel. Note that without the “/all” completion in the command line, the description line isn’t shown in the output. Since we are using VirtualBox as our virtualization platform, we can see that Connection 9: is the one we need because of the description ” VirtualBox Host-Only Ethernet Adapter”.

The output will show details of all the network adapters on the computer, both virtual and physical. You can either then press return or click on the cmd.exe icon to start the program.Ģ In the command window type “ipconfig /all” and press the Enter key. Open a command window by clicking on the Windows Start button and typing “cmd” (without the quotes). Setting up the host interface to the virtual machineġ We need to identify which network interfaces connect between the host machine and the virtual machine. In this case, it means the host machine can communicate with the Live Raizo VM, and the Live Raizo VM can communicate with the GNS3 environment. The first thing required before any routing can take place is that the directly connected hosts can communicate with each other.
#GNS3 VIRTUAL MACHINE HOW TO#
In an earlier blog post, we covered how to create a Live Raizo VM that used the VM hard drive to save persistent files. Conversely, you could access an authentication server on the host machine from a GNS3 client in the Virtual Machine.

What that means is you could use a web browser installed on the host to access the https GUI on a virtual switch in GNS3. It needs a couple of routing hops but it will enable applications on the host machine to access things within the GNS3 environment and vice versa. To do this, we need to set up routing from the host machine, to the Live Raizo VM and on to the GNS3 host that resides within that environment. In this blog, I’m going to cover how to route to a GNS3 host in a Live Raizo VM.
