Red Hat/CentOS Linux:解释网络接口virbr0的使用
时间:2020-01-09 10:43:23 来源:igfitidea点击:
问题描述:我已经安装了Red Hat Enterprise Linux 5.2,并且看到virbr0网络接口和eth0接口吗?
这是什么?
如何禁用或者删除virbr0?
A. virbr0是虚拟化来宾和主机用于网络通信的xen接口。
以下是Red Hat/CentOS Linux下的软件包:组:虚拟化描述:虚拟化支持。
强制性软件包:- xen - kernel-xen默认软件包:- virt-manager - Virtualization-en-US - gnome-applet-vm - libvirt如果不需要xen Virtualization支持,可以禁用virbr0,执行:
# yum groupremove "Virtualization"
输出示例:
Loading "rhnplugin" plugin Loading "security" plugin Setting up Group Process rhel-x86_64-server-vt-5 100% |=========================| 1.4 kB 00:00 rhn-tools-rhel-x86_64-ser 100% |=========================| 1.2 kB 00:00 rhel-x86_64-server-5 100% |=========================| 1.4 kB 00:00 No package matched to remove No package matched to remove No package matched to remove No package matched to remove No package matched to remove Resolving Dependencies --> Running transaction check ---> Package libvirt.x86_64 0:0.3.3-7.el5 set to be erased --> Processing Dependency: libvirt.so.0()(64bit) for package: libvirt-python --> Processing Dependency: libvirt = 0.3.3 for package: libvirt-python --> Running transaction check ---> Package libvirt-python.x86_64 0:0.3.3-7.el5 set to be erased --> Processing Dependency: libvirt-python for package: rhn-virtualization-host --> Running transaction check ---> Package rhn-virtualization-host.noarch 0:1.0.1-55 set to be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Removing: libvirt x86_64 0.3.3-7.el5 installed 3.4 M Removing for dependencies: libvirt-python x86_64 0.3.3-7.el5 installed 230 k rhn-virtualization-host noarch 1.0.1-55 installed 155 k Transaction Summary ============================================================================= Install 0 Package(s) Update 0 Package(s) Remove 3 Package(s) Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Erasing : libvirt-python ######################### [1/3] Erasing : rhn-virtualization-host ######################### [2/3] Stopping crond: [ OK ] Starting crond: [ OK ] Erasing : libvirt ######################### [3/3] Removed: libvirt.x86_64 0:0.3.3-7.el5 Dependency Removed: libvirt-python.x86_64 0:0.3.3-7.el5 rhn-virtualization-host.noarch 0:1.0.1-55 Complete!