kvm虚拟机网卡主要通过修改xml配置文件来添加

cd /etc/libvirt/qemu


vim XAT01-WSUS.xml

复制配置文件中的下面内容

    <interface type='bridge'>
      <mac address='52:54:00:b5:49:5d'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>

在配置文件中添加一次上面的内容并做一下修改

   <interface type='bridge'>
    删除mac地址
      <source bridge='br1'/>
      <model type='virtio'/>
     删除pci信息
    </interface>


linux虚拟机添加启动后需要执行start_udev才可检测到

然后拷贝eth0网卡配置到eth1