User Tools

Site Tools


kvm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kvm [2022/10/31 01:57] – [Start a install] vissiekvm [2023/06/01 00:52] (current) – [Debian] vissie
Line 7: Line 7:
 <code> <code>
  
-sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst+sudo apt install --no-install-recommends qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst dnsmasq qemu-utils ovmf 
 +#  Some apps does not get installed with --no-install-recommends and seemds to be added: qemu-utils dnsmasq 
 +# ovmf is for uf
 sudo systemctl status libvirtd.service sudo systemctl status libvirtd.service
 sudo virsh net-list --all sudo virsh net-list --all
Line 60: Line 62:
 </code> </code>
  
 +======Setup Bridges Network======
 +  sudo vim /etc/network/interfaces
 +<sxh bash; gutter: false>  
 +# This file describes the network interfaces available on your system
 +
 +source /etc/network/interfaces.d/*
 +
 +# The loopback network interface
 +auto lo
 +iface lo inet loopback
 +
 +# The primary network interface
 +# allow-hotplug enp0s31f6
 +#iface enp0s31f6 inet dhcp
 +#auto enp0s31f6
 +
 +auto br0
 +iface br0 inet dhcp
 +    bridge_ports enp0s31f6
 +    bridge_stp off
 +    bridge_fd 0
 +    bridge_maxwait 0   
 +</sxh>
  
 ====== Allow ping in host====== ====== Allow ping in host======
kvm.1667206664.txt.gz · Last modified: 2022/10/31 01:57 by vissie