pve網路配置 虛擬機外部連服務
修改/etc/network/interfaces # Loopback interface auto lo iface lo inet loopback # 主網卡配置 auto eno1 iface eno1 inet static address 120.120.XXX.XXX netmask 255.255.255.0 gateway 120.126.XXX.XXX post-up echo 1 > /proc/sys/net/ipv4/ip_forward # 虛擬網橋配置 auto vmbr0 iface vmbr0 inet static address 192.168.1.1 netmask 255.255.255.0 bridge-ports none bridge-stp off bridge-fd 0 --------------------- auto lo iface lo inet loopback auto eno1 iface eno1 inet static address 120.120.XXX.XXX netmask 255.255.255.0 gateway 120.120.XXX.XXX auto vmbr0 iface vmbr0 inet static address 192.168.1.1 netmask 255.255.255.0...