VM cannot ping interface proxmox et not acces internet


#1

Hi everyone
I have a proxmox server i have private subnet with VMS but i can’t ping gateway of proxmox so internet too.
my set up on proxmox
vmbr0 public ip of dedibox bridge
vmbr1 private subnet 192.168.0.1/24 bridge
vmbr2 private subnet 192.168.1.1/24 bridge

iptables -t nat -A POSTROUTING -s ‘192.168.0.0/24’ -o vmbr0 -j MASQUERADE
and ip_forward=1

on vm
eth0
ip 192.168.0.2
gateway 192.168.0.1
but cannot ping 192.168.0.1 why what i miss
Or it is necessry to use rpn or ipfailover i don’t understand
thank for your return


#2

I resolve some troubles by my self now i can ping my interfaces it was iptables now i allow icmp but my vm cannot always reach google or dns 62.210.16.9 by ping or nslookup. I think at first it is iptables so i try to allow all dns traffic from any src to any dest but nothing change. i think normally when nat is configure you don’t need to allow all dns trafic maybe i am wrong.
my resolv.conf of my vm have dns 8.8.8.8 or ip of host proxmox or dns online but