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