Delete virbr0 Nic information under Centos7

Source: Internet
Author: User

Delete virbr0 Nic information under Centos7

Note: After configuring the bridge in CentOS7 and changing the bridge mode to the normal mode, you can still see a lot of junk information when viewing the NIC, to completely delete the NIC configurations you do not want, perform the following operations:

[root@linux-node1~] #ipaddlist 1:lo:<LOOPBACK,UP,LOWER_UP>mtu65536qdiscnoqueuestateUNKNOWNqlen1 link /loopback 00:00:00:00:00:00brd00:00:00:00:00:00 inet127.0.0.1 /8 scopehostlo valid_lftforeverpreferred_lftforever inet6::1 /128 scopehost valid_lftforeverpreferred_lftforever 2:eth0:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu1500qdiscpfifo_faststateUPqlen1000 link /ether 00:0c:29:9b:7d:d6brdff:ff:ff:ff:ff:ff inet10.10.10.11 /24 brd10.10.10.255scopeglobaleth0 valid_lftforeverpreferred_lftforever inet6fe80::20c:29ff:fe9b:7dd6 /64 scopelink valid_lftforeverpreferred_lftforever 4:virbr0:<NO-CARRIER,BROADCAST,MULTICAST,UP>mtu1500qdiscnoqueuestateDOWNqlen1000 link /ether 52:54:00:f4:24:05brdff:ff:ff:ff:ff:ff inet192.168.122.1 /24 brd192.168.122.255scopeglobalvirbr0 valid_lftforeverpreferred_lftforever 5:virbr0-nic:<BROADCAST,MULTICAST>mtu1500qdiscpfifo_fastmastervirbr0stateDOWNqlen1000 link /ether 52:54:00:f4:24:05brdff:ff:ff:ff:ff:ff View the Network List: [root@linux-node1~] #virshnet-list NameStateAutostartPersistent ---------------------------------------------------------- defaultactive yes yes Use "virshnet-destroydefault" to delete [root@linux-node1~] #virshnet-destroydefault Networkdefaultdestroyed Remove from configuration file [root@linux-node1~] #virshnet-undefinedefault Networkdefaulthasbeenundefined Restart the libmongod Service [root@linux-node1~] #systemctlrestartlibvirtd.service [root@linux-node1~] #virshnet-list NameStateAutostartPersistent ---------------------------------------------------------- [root@linux-node1~] #ipaddlist 1:lo:<LOOPBACK,UP,LOWER_UP>mtu65536qdiscnoqueuestateUNKNOWNqlen1 link /loopback 00:00:00:00:00:00brd00:00:00:00:00:00 inet127.0.0.1 /8 scopehostlo valid_lftforeverpreferred_lftforever inet6::1 /128 scopehost valid_lftforeverpreferred_lftforever 2:eth0:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu1500qdiscpfifo_faststateUPqlen1000 link /ether 00:0c:29:9b:7d:d6brdff:ff:ff:ff:ff:ff inet10.10.10.11 /24 brd10.10.10.255scopeglobaleth0 valid_lftforeverpreferred_lftforever inet6fe80::20c:29ff:fe9b:7dd6 /64 scopelink valid_lftforeverpreferred_lftforever Check again and find that unnecessary information has been cleared, refreshing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.