Koolshare 的 大佬们,提前祝大家 新年快乐,万事如意!
我的工控机是双网口,普通的 iKuai+LEDE 搭配使用貌似最少需要 3 个网卡。 Proxmox VE 平台
我找到了 Up 主针对双网卡安装 iKaui+LEDE 的教程: &t=1204s
三金大佬的解决方式是,在 PVE 中虚拟一张网卡。网卡是虚拟成功了。
cat <<EOF >/etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# echo "1200000" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq
# echo "3100000" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
# echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
#echo "performance" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
ip tuntap add name ens10 mode tap
ip link set ens10 up
exit 0
EOF
使用中我发现虚拟的网卡速率是 100M。 我的宽带是 500M。 这样我损失了 80%的带宽。 下行最高只有 10M/s
是虚拟网卡的脚本不正确呢,还是虚拟的网卡就只能 100M ?
或者大佬们还有别的方式吗? 救救我把,我太难了

enp2s0、enp4s0 = 是我工控机的实际网卡。 工控机是双网口
ens10,是用上面的代码虚拟出来的
我的工控机是双网口,普通的 iKuai+LEDE 搭配使用貌似最少需要 3 个网卡。 Proxmox VE 平台
我找到了 Up 主针对双网卡安装 iKaui+LEDE 的教程: &t=1204s
三金大佬的解决方式是,在 PVE 中虚拟一张网卡。网卡是虚拟成功了。
cat <<EOF >/etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# echo "1200000" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq
# echo "3100000" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
# echo "powersave" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
#echo "performance" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
ip tuntap add name ens10 mode tap
ip link set ens10 up
exit 0
EOF
使用中我发现虚拟的网卡速率是 100M。 我的宽带是 500M。 这样我损失了 80%的带宽。 下行最高只有 10M/s
是虚拟网卡的脚本不正确呢,还是虚拟的网卡就只能 100M ?
或者大佬们还有别的方式吗? 救救我把,我太难了

enp2s0、enp4s0 = 是我工控机的实际网卡。 工控机是双网口
ens10,是用上面的代码虚拟出来的