1、查看原有网卡信息
root@localhost
~]# virsh domiflist centos73
Interface Type
Source Model MAC
-------------------------------------------------------
vnet1 bridge
br0 virtio 52:54:00:9d:7a:94
2、临时添加新网卡
#
[root@localhost
~]# virsh attach-interface centos73 --type bridge --source br0
Interface
attached successfully
成功附加接口
永久添加网卡命令
#virsh attach-interface centos73 --type bridge --source br0 --config
3、查看
[root@localhost
~]# virsh domiflist centos73
Interface Type
Source Model MAC
-------------------------------------------------------
vnet0 bridge
br0 virtio 52:54:00:9d:7a:94
vnet1 bridge
br0 rtl8139 52:54:00:c4:8d:84
Last login: Mon Aug 2