Created
April 12, 2018 14:31
-
-
Save kurtis318/ae9d840c732ccdaf2601af3c7f9e2a34 to your computer and use it in GitHub Desktop.
How-to get rid of virbr0 and or virbr1 in KVM guests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I have installed some RHEL 7.4 that were custom built by someone. They were intended for a bare-metal OS so they | |
| have full virtualization enabled. This means libvirtd is automatically started and there are virbr0 and sometimes virbr1 | |
| bridges enabled. This usually causes the KVM guest to not have any access to any network via NAT because the bridges | |
| are trying to route all traffic. | |
| Here is a website I found that I found useful: | |
| https://www.cyberciti.biz/faq/linux-kvm-disable-virbr0-nat-interface/ | |
| The following commands will probably work to disable the two bridged networks. | |
| # virsh net-destroy default | |
| # virsh net-undefine default | |
| # service libvirtd restart | |
| # ifconfig | |
| I think a better way is to remove the rpms for libvirtd or just do the following (my solution for now): | |
| # systemctl disable libvirtd | |
| # systemctl stop libvritd | |
| After a reboot, virbr0 and virbr1 should be gone. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment