Loading... # PVE 设置虚拟网桥(网卡直连) `通过虚拟网桥将虚拟机或容器的网络接口桥接到物理网络接口上,允许它们直接与外部网络通信。` ## 1、编辑网卡 编辑网卡 ``` vim /etc/network/interfaces ``` 需要将物理网卡设置为 `DHCP` ``` auto lo iface lo inet loopback auto enp4s0 iface enp4s0 inet dhcp # 改为 dhcp ``` 重启网卡: ``` systemctl restart networking.service ``` ## 2、PVE设置 新建网卡  使用桥网卡:  最后修改:2025 年 02 月 21 日 © 允许规范转载 打赏 赞赏作者 赞 咱们谁跟谁,用不着~