linux_wiki:kernel-based_virtual_machine_kvm

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:kernel-based_virtual_machine_kvm [2015/03/09 22:22]
billdozor
linux_wiki:kernel-based_virtual_machine_kvm [2019/05/25 23:50] (current)
Line 6: Line 6:
  
 **Checklist**  **Checklist** 
-  * Some Red Hat based distro is already installed. (CentOS, Scientific, RHEL, etc+  * Distro(s): Enterprise Linux 6 
-  * This page was written using CentOS 6.6 with GNOME desktop (headless KVM is on the to do list!)+  * Other: This page was written using CentOS 6.6 with GNOME desktop (headless KVM is on the to do list!)
   * 2015-02-13: These are rough notes and in progress as I learn KVM.   * 2015-02-13: These are rough notes and in progress as I learn KVM.
  
 ---- ----
  
-===== Installation =====+====== Installation ======
  
 ==== Install: Required Virtualization Packages (CLI) ==== ==== Install: Required Virtualization Packages (CLI) ====
Line 50: Line 50:
 ---- ----
  
-===== Verify Installation and Start Services =====+====== Verify Installation and Start Services ======
  
   * Ensure that the KVM kernel module is loaded   * Ensure that the KVM kernel module is loaded
Line 86: Line 86:
 ---- ----
  
-===== Setup Networking =====+====== Setup Networking ======
 By default, VMs will be on a private network with no access to the outside world unless they use a physical host network interface as a bridge. By default, VMs will be on a private network with no access to the outside world unless they use a physical host network interface as a bridge.
  
Line 168: Line 168:
 ---- ----
  
-===== SELinux =====+====== SELinux ======
 If SELinux is on and in Enforcing mode, there is additional configuration if you change the default directory for VM images. If SELinux is on and in Enforcing mode, there is additional configuration if you change the default directory for VM images.
  
Line 205: Line 205:
 ---- ----
  
-===== Creating VMs =====+====== Creating VMs ======
  
 VMs can be installed via a command line tool (virt-install) or a GUI (virt-manager). VMs can be installed via a command line tool (virt-install) or a GUI (virt-manager).
Line 297: Line 297:
     * Step 5 =>     * Step 5 =>
       * Ready to install: Confirm settings, set advanced options such as Host network device.       * Ready to install: Confirm settings, set advanced options such as Host network device.
 +
 +----
 +
 +====== Disabling virbr0 NAT Interface ======
 +
 +On some desktop installations, a NAT interface "virbr0" is auto created.
 +
 +To disable this interface:
 +  * View the interface<code bash>virsh net-list</code>
 +  * Turn off the interface<code bash>virsh net-destroy default</code>
 +  * Disable auto start on the interface<code bash>virsh net-autostart default –disable</code>
 +  * Verify State is "inactive" and Autostart is "no", then ensure virbr0 is not in the interface list<code bash>virsh net-list --all
 +ip addr show</code>
 +  * Restart the network service
 +    * EL6<code bash>service network restart</code>
 +    * EL7<code bash>systemctl restart network</code>
 +
 +----
 +
  • linux_wiki/kernel-based_virtual_machine_kvm.1425954158.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)