kvm解决1000M网卡问题

时间:2023-03-08 22:00:35
1、当我们安装完虚拟机, 发现虚拟机竟然是 100M 网络, 传输速率很低,
那是怎么导致的呢,如何来解决呢?
需要我们修改 vm01.xml 配置文件网卡段,添加如下红色标记行,改
为 e1000,千兆以太网卡:
<interface type='bridge'>
<mac address='52:54:00:c2:84:c0'/>
<source bridge='br0'/>
<model type='e1000'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x03' function='0x0'/>
</interface>
添加完毕, 然后重新定义 virsh define vm01.xml, 重启虚拟机即可