- Enable Hyper-V in Windows Features
- Grab the server ISO, e.g. https://ubuntu.com/download/server
- Set up a new switch in Hyper-V with Internal type
- Set up the host OS' network for the new virtual switch (which should appear as a network card on the OS. Set the IP to 10.0.1.1 and the subnet as 255.0.0.0. Leave the gatway blank.
- Set up the gues OSes:
5a. Log into the OS then set the network up. If you are using netplan edit
/etc/netplan/
file as follows:
5b.eth1: dhcp4: no addresses: [10.0.1.5/24]
sudo netplan apply
- Check network connectivity between the guests and host.
Created
September 2, 2020 10:17
-
-
Save jimbo8098/f8384cf61486b5667b4ea57c4c79226b to your computer and use it in GitHub Desktop.
Creating a Hyper-V Test Network
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment