CentOS 7中關閉刪除virbr0虛擬網絡卡

2021-09-01 11:56:21 字數 328 閱讀 9228

在centos 7的安裝過程中如果有選擇相關虛擬化的的服務安裝系統後,啟動網絡卡時會發現有乙個以網橋連線的私網位址的virbr0網絡卡,這個是因為在虛擬化中有使用到libvirtd服務生成的,如果不需要可以關閉後去掉:

[root@localhost ~]# virsh net-list#檢視是否有連線相關虛擬裝置 

[root@localhost data]# virsh net-destroy default 

[root@localhost data]# virsh net-undefine default 

systemctl restart libvirtd.service

centos7 開啟關閉服務

centos 7 中使用systemctl工具來管理服務程式,包括了service和chkconfig 啟動乙個服務 systemctl start firewalld.service 關閉乙個服務 systemctl stop firewalld.service 重啟乙個服務 systemctl ...

CentOS7開啟 關閉埠

centos7使用的是firewall防火牆,不再是原來的iptables 1 檢視firewall防火牆狀態 firewall cmd state 或者systemctl status firewalld 2 開啟防火牆 systemctl start firewalld 3 關閉防火牆 syst...

CentOS7開啟 關閉埠

centos7使用的是firewall防火牆,不再是原來的iptables 1 檢視firewall防火牆狀態 firewall cmd state 或者systemctl status firewalld 2 開啟防火牆 systemctl start firewalld 3 關閉防火牆 syst...