This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kvm [2023/05/30 11:19] – old revision restored (2023/05/30 06:01) vissie | kvm [2023/06/01 00:52] (current) – [Debian] vissie | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| < | < | ||
| - | sudo apt install --no-install-recommends 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 |
| + | # 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: | ||
| </ | </ | ||
| + | ======Setup Bridges Network====== | ||
| + | sudo vim / | ||
| + | <sxh bash; gutter: false> | ||
| + | # This file describes the network interfaces available on your system | ||
| + | |||
| + | source / | ||
| + | |||
| + | # 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 | ||
| + | </ | ||
| ====== Allow ping in host====== | ====== Allow ping in host====== | ||