Home  >  Article  >  System Tutorial  >  How to uninstall the virbr0 virtual network card? How to uninstall the virbr0 virtual network card

How to uninstall the virbr0 virtual network card? How to uninstall the virbr0 virtual network card

WBOY
WBOYforward
2024-01-07 09:29:581490browse

In the process of using dual-machine software, if the system is centos 5.x, the default system installation is xen kernel, then the xen kernel will have a virtual network card (vethx, vif0.x, virbr0, xenbr1, etc.) after booting. exist.

This will directly lead to the same IP address existing in both machines of the dual-machine software (the IP addresses of the virbr0 network cards are both 192.168.122.1). Therefore, when the main machine in a dual-machine system shuts down, the backup machine will not take over. Therefore, you need to uninstall virbr0:

1. Please take out the JOB of the two machines first, execute the yum groupremove "Virtualization" command to try to uninstall the virbr0 device, and check if the virbr0 device still exists through ifconfig -a;

2. If the virbr0 network card is still not uninstalled, execute this command again: yum remove libvirt, and use ifconfig -a to check whether the network card virbr0 has been uninstalled.

3. If an error is reported when executing yum, you can vi /etc/yum/plugincon.d/rhnplugin.conf and then change enable=1 in the file to enable=0. The purpose is to disable this function first and then execute yum remove libvirt to uninstall.

Use yum to delete old errors. First perform step 3, then perform 1 and 2. Generally, 1 is enough. After the execution is completed, restart the machine and find that the virtual network card disappears, but a device of sito appears.

I don’t know what it does. After checking, SIT is IPv6-in-IPv4 tunnel interfaces. This interfaces (interface or interface) is also called sitx. sit is the abbreviation of "Simple Internet Transition". It can IPv6 data packets are stuffed into IPv4 and reach another location through IPv4. Sit0 cannot be used on dedicated tunnels. Use the lsmod command to find that the system has the ipv6 module loaded.

Generally it is of no use and will slow down the Internet speed. You can modify /etc/modprobe.d/aliases to comment out the alias net-pf-10 ipv6 line and add a line of alias net-pf-10 off under the line to complete the uninstallation. Restart the machine and the virtual network card will no longer exist.

The above is the detailed content of How to uninstall the virbr0 virtual network card? How to uninstall the virbr0 virtual network card. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete