Linux - Virtualisation: Difference between revisions
Jump to navigation
Jump to search
NickPGSmith (talk | contribs) No edit summary |
NickPGSmith (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== libvrit == | == libvrit == | ||
systemctl enable libvirtd | |||
systemctl start libvirtd | |||
Use Virtual Machine Manager to create new [https://wiki.libvirt.org/VirtualNetworking.html virtual network(s)]: | |||
* NAT: default (with internal DNS/DHCP) | |||
* Routed: External networks need to have static routes | |||
* Open: like routed but no firewall rules | |||
* Isolated: Only internal communications | |||
* Single Root I/O Virtualization: Use a dedicated hardware NIC and bypass host network stack | |||
Default virtual network device: virbr0 | |||
TODO: dnsmasq conflicts with dhcpd ? | |||
Use virsh for command line tools | Use virsh for command line tools | ||
Line 11: | Line 24: | ||
Here we use "default" as the pool name. | Here we use "default" as the pool name. | ||
Default storage: | |||
* /var/lib/libvirt/images | |||
== VirtualBox == | == VirtualBox == |
Latest revision as of 05:48, 10 May 2024
libvrit
systemctl enable libvirtd systemctl start libvirtd
Use Virtual Machine Manager to create new virtual network(s):
- NAT: default (with internal DNS/DHCP)
- Routed: External networks need to have static routes
- Open: like routed but no firewall rules
- Isolated: Only internal communications
- Single Root I/O Virtualization: Use a dedicated hardware NIC and bypass host network stack
Default virtual network device: virbr0 TODO: dnsmasq conflicts with dhcpd ?
Use virsh for command line tools
pool-list pool-destroy default pool-undefine default
pool-define-as --name default --type dir --target /mnt/vm pool-autostart default pool-start default
Here we use "default" as the pool name.
Default storage:
- /var/lib/libvirt/images
VirtualBox
Download the repo file into /etc/yum.repos.d
dnf install VirtualBox