Hi!
PVE version 8.4.1
cat /etc/network/interfaces
...
auto enp3s0
iface enp3s0 inet manual
auto vmbr1
iface vmbr1 inet dhcp
bridge-ports enp3s0
bridge-stp off
bridge-fd 0
auto vmbr2
iface vmbr2 inet static
address 10.28.0.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.28.0.0/24' -o vmbr1 -j MASQUERADE
...
Then I'm create a VM with vmbr2 as network interface, run a VM and setup ip address 10.28.0.100 with gw 10.28.0.1 inside a VM.
I can ping 10.28.0.1 , but I can't ping 8.8.8.8 or any other external ips
Help me please.
Thx.
PVE version 8.4.1
cat /etc/network/interfaces
...
auto enp3s0
iface enp3s0 inet manual
auto vmbr1
iface vmbr1 inet dhcp
bridge-ports enp3s0
bridge-stp off
bridge-fd 0
auto vmbr2
iface vmbr2 inet static
address 10.28.0.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.28.0.0/24' -o vmbr1 -j MASQUERADE
...
Then I'm create a VM with vmbr2 as network interface, run a VM and setup ip address 10.28.0.100 with gw 10.28.0.1 inside a VM.
I can ping 10.28.0.1 , but I can't ping 8.8.8.8 or any other external ips

Help me please.
Thx.
Last edited: