Vmware-Esxi
KVM 上的 ESXi - 找不到網路驅動程序
我正在嘗試使用 virt-install 在 KVM 上成功安裝 .iso - 但是從 2 個磁碟映像(一個 Debain,另一個 ESXi)我無法獲得網路連接。
以下是一些試圖確定 VM 看不到網卡的原因的輸出:
[root@server2 ~]# lspci -v | grep -A1 -i ethernet 03:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01) DeviceName: NIC Port 1 Subsystem: Hewlett-Packard Company Ethernet 1Gb 4-port 331FLR Adapter Flags: bus master, fast devsel, latency 0, IRQ 51, NUMA node 0 -- 03:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01) DeviceName: NIC Port 2 Subsystem: Hewlett-Packard Company Ethernet 1Gb 4-port 331FLR Adapter Flags: bus master, fast devsel, latency 0, IRQ 52, NUMA node 0 -- 03:00.2 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01) DeviceName: NIC Port 3 Subsystem: Hewlett-Packard Company Ethernet 1Gb 4-port 331FLR Adapter Flags: bus master, fast devsel, latency 0, IRQ 51, NUMA node 0 -- 03:00.3 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01) DeviceName: NIC Port 4 Subsystem: Hewlett-Packard Company Ethernet 1Gb 4-port 331FLR Adapter Flags: bus master, fast devsel, latency 0, IRQ 52, NUMA node 0
我很難過 - 我做錯了什麼嗎?我嘗試了以下方法:
[root@server2 ~]# dnf install libvirt-daemon-driver-network Last metadata expiration check: 3:37:43 ago on Tue 26 Oct 2021 13:32:29 BST. Package libvirt-daemon-driver-network-6.0.0-35.1.module_el8.4.0+2523+3300d70f.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete!
僅供參考,我正在使用 AlmaLinux 版本 8.4(Electric Cheetah)- 完全與
dnf
.親切的問候
為此建立了一座橋,還安裝了一些新的軟體包。我做了以下事情:
首先,通過def:
dnf install qemu-kvm qemu-img libvirt virt-install libvirt-client echo "BRIDGE=br0" >> /etc/sysconfig/network-scripts/ifcfg-eno1
然後打開網橋文件:
vi /etc/sysconfig/network-scripts/ifcfg-br0
進入:
DEVICE=br0 TYPE=Bridge IPADDR=192.168.1.100 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 DNS=192.168.1.1 ONBOOT=yes BOOTPROTO=static DELAY=0