KVM Kernel Virtualization Machine on Rocky Linux 9: Difference between revisions

mNo edit summary
mNo edit summary
Line 40: Line 40:


'''Network Connectivity, don't forget that;'''
'''Network Connectivity, don't forget that;'''
...and now comes the part where the above noted references show their true colors.  IE, the content in the articles on those websites was not created by the people who own those websites.  It was aggregated from other websites and put into a format that Google likes.  And does it ever show on the Networking aspect of what they document.  In short, ignore it.  You'll hose your system if you do what is written.  Go ahead and try it (no, don't really do that).
The first issue is with the destruction of a perfectly network interface.  The second issue is with the creation of a Bridge Interface that was already created as part of the installation process of QEMU / KVM.  Keeping in mind this article here was written based on Rocky Linux 9 and the iteration of QEMU / KVM as of late 2023.  Earlier versions may have required the creation of a Bridge Interface.
'''Tricks, Tips, and Other Useful Information (all of which applies to Rocky Linux 9, and others based on Red Hat)'''
* Rocky Linux 9 Network Configuration Files Directory: /etc/Network/Manager/system-connections (NOT /etc/sysconfig/network-scripts)
* QEMU / KVM Configuration Files: /etc/libvirt/qemu/
** Heed the warning notes on some of these files as they should not be edited directly.  Although a workaround is to edit the files directly, then restart the libvirtd.service (systemctl restart libvirtd.service)
** virsh net-edit default (it uses the VI editor)
*** VI Editor
**** i = Insert (AKA Edit) Mode
**** ESC = Command Mode
**** : (Colon) = "Beginning of Command"
**** w = Write (as in :w)
**** x = Exit / Quit and Save (AKA Write) (as in :x)
**** q = Quit (AKA Exit)
* QEMU / KVM Additional Bridge Configuration: /etc/qemu-kvm/


*
*