卸载虚拟网桥:
[root@dbserver yum.repos.d]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.133.129 netmask 255.255.255.0 broadcast 192.168.133.255
inet6 fe80::4a8e:4036:af1f:9458 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:c9:d9:6d txqueuelen 1000 (Ethernet)
RX packets 5558507 bytes 8005462038 (7.4 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 395468 bytes 86772485 (82.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 32 bytes 2528 (2.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 32 bytes 2528 (2.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:0f:57:c0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
卸载 virbr0
yum remove libvirt-libs.x86_64
之后,重启。
[root@dbserver ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.133.129 netmask 255.255.255.0 broadcast 192.168.133.255
inet6 fe80::4a8e:4036:af1f:9458 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:c9:d9:6d txqueuelen 1000 (Ethernet)
RX packets 72 bytes 8853 (8.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 98 bytes 14227 (13.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 32 bytes 2528 (2.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 32 bytes 2528 (2.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@dbserver ~]#
已经没有virtbr0了。
|