Hi,
I am new to CentOS and use it as a desktop workstation. After install, I realized that two network devices were created that I am not familiar with:
virbr0
virbr0-nic
Which process/service is creating them? It seems that some masquerading from this device via my normal ethernet is enabled. So I assume they must be some virtual devices, however I am not aware that I installed anything software that would do that.
How can I remove this device and disable it?
How to deactive virbr0?
Re: How to deactive virbr0?
They're used for virualisation. You've probably got KVM and/or "Gnome Boxes" installed.
Re: How to deactive virbr0?
The libvirt has "Default network" configured and auto-started by default.
The libvirtd.service is enabled by default.
Thus, if you have libvirt installed, then the service is running and on start it has
created those (virtual) interface devices.
The virbr0 (bridge) is like a switch into which you can connect your virtual guests
and your host. The host can act as a router between outside physical subnet and
internal virtual subnet. The router can do NAT (aka masquerade).
You can, on the configuration of libvirt, disable the autostart of the Default network.
You can disable libvirtd.service, if you don't use it.
The libvirtd.service is enabled by default.
Thus, if you have libvirt installed, then the service is running and on start it has
created those (virtual) interface devices.
The virbr0 (bridge) is like a switch into which you can connect your virtual guests
and your host. The host can act as a router between outside physical subnet and
internal virtual subnet. The router can do NAT (aka masquerade).
You can, on the configuration of libvirt, disable the autostart of the Default network.
You can disable libvirtd.service, if you don't use it.
Re: How to deactive virbr0?
Hi,
yes, I did two things: removed the gnome boxes. -> Afterwards, the interfaces still existed.
Second, I removed the libvirt interfaces (that got automatically created) by using these commands:
Afterwards, they were gone. Thanks for the help!
yes, I did two things: removed the gnome boxes. -> Afterwards, the interfaces still existed.
Second, I removed the libvirt interfaces (that got automatically created) by using these commands:
Code: Select all
virsh net-destroy default
virsh net-undefine default