Create a Vyos Router VM in Hyper-V for Labs 13

UPDATE 2016-12-28: Updated for latest Vyos 1.1.7 and again a view little script tweaks. I play a lot with VMs and I wanted a small virtual router to allow internet access for my Labs. After some searching I found Vyos and created  a few scripts to automate the router installation. The result will be a router only consuming 256MB and offering DNS, DHCP and NAT to 5 different subnets. If you want you can extend or change the subnets as much as you want. These are the steps I followed: Download Vyos: http://packages.vyos.net/iso/release/1.1.7/vyos-1.1.7-amd64.iso and put it in D:\ISO. If you put ISO somewhere else, change the location in the script. Open Powershell ISE as Administrator and ...

Solution – Windows 8.1 Hyper-V Did Not Find Virtual Machines to Import 1

I wanted to import some exported Virtual Machines I used for a lab environment but after upgrading to Windows 8.1, importing was not possible anymore. Hyper-V gave the error message “Hyper-V Did Not Find Virtual Machines to Import from location”. I will not explain the why of this error, but only give a solution to convert these files, so Windows 8.1 Hyper-V is able to import the Virtual Machines again. Follow the next steps: Create a Virtual Machine (VM) based on Windows 2012 (Not Windows 2012 R2!). You can download the evaluation here. Make sure you give this VM at least as much CPU’s and Memory as the VM you want to fix for ...

Install Hyper-V on a Virtual Machine in Hyper-V 1

If you want to install Hyper-V on a Virtual Machine the following error message will appear: ” Hyper-V cannot be installed: A Hypervisor is already running”. But it’s possible with PowerShell although you will not be able to run a virtual machine in the virtual machine. Open a PowerShell console as administrator in the virtual machine where you want Hyper-V installed. Type te following commands: Set-ExecutionPolicy RemoteSigned Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature Restart-Computer Now Hyper-V is installed for testing purposes, but running a Virtual Machine in a Virtual Machine will not be possible. Tweet