

Then, in the network settings for the virtual machine ( machine tools icon - hammer), set up two adapters:Īlso don't forget to click on refresh mac address of both adaptersīoot the virtual machine and log in through the console VirtualBox provides.

of the network interface on VM)Ģ) Set up the adapter in network settings of VM You can set IP address whatever you like, but make sure that other options are also set to appropriate address (DHCP server address, Lower/upper address bound, conf. Network Configuration Options in VirtualBox You can get to the network configuration options by clicking on the Network tab as shown in the picture below. In newer versions of VirtualBox select from File menu > Host network manager.Ĭreate new adapter, and set the following options: The number of CPU cores you should allocate depends on your CPU. Increase the number of CPU cores available to a virtual machine. After you’ve launched the settings window, go to System Processor tab. So I decided to provide a step-by-step guide from my personal notes. Access the settings of your virtual machine by right-clicking on it in the list. It will offer a guided procedure to link the disk image again, so don't worry.You can find many tutorials about how to setup host-only adapter, but most of them are incomplete, something is missing. If you move it afterwards, VBox will not find it anymore and will complain about this issue on next start (or when you try to start the VM). It's recommended to place the disk image in a permanent place before linking it with VBox.

Click Create to end this guided procedure. OpenWrt will work fine with much less RAM than the recommended amount, 128 MiB will be enough.Ĭhoose Use an existing hard disk file, click the file icon to open Virtual Media Manager, click Add and choose your openwrt.vdi file using the file chooser window. Start VirtualBox and click New to add a virtual machine (VM)Ĭhoose a Name for your virtual machine, choose Linux for Type, and Linux 2.6 / 3.x / 4.x (64-bit) for Version, then click Next. Tutorial and screenshots from VirtualBox 5.1.8 on Linux host, on Windows or macOS hosts there will be some cosmetic differences (a different top bar) but the VirtualBox panels and buttons will be exactly the same
