Esxi 网卡(Pcie)直通的坑
Esxi 网卡直通的坑
省流请到文章末尾的总结。
前阵子买了个N5105 突发奇想打算给OpenWrt装一个Pci无线网卡。但装后发现Web管理界面上不去了,OpenWrt网络管理功能也全失效了。插显示器发现管理口从eth0 变成了etc3 口。拔掉Pci 网卡后又好了,管理口也变回了eth0口。
环境介绍
N5105 小主机,I225-V网卡,4网口,Esxi 8 系统。eth0 做管理口;eth1,eth2,eth3 直通给OpenWrt 。
其中 eth0 ,eth1,eth2 在OpenWrt中定义为Lan口,eth3 为Wan 口。
各网口Pci地址如下
0000:02:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V #eth0
0000:03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V #eth1(直通
0000:04:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V #eth2(直通
0000:05:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V #eth3(直通