Hi, i have problem with my containers, i think i have tried everything.
I'm trying to ping my router from container, ping google dns's and nothing working. I can ping only other container.
This is my network setup.
Proxmox:
Container1:
Container2:
I'm trying to ping my router from container, ping google dns's and nothing working. I can ping only other container.
This is my network setup.
Proxmox:
Code:
auto lo
iface lo inet loopback
iface enp1s0 inet manual
auto enp2s0
iface enp2s0 inet manual
post-up /usr/sbin/ethtool -s enp2s0 wol g
post-down /usr/sbin/ethtool -s enp2s0 wol g
auto vmbr0
iface vmbr0 inet static
address 192.168.0.11/24
gateway 192.168.0.1
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '192.168.0.0/24' -o enp2s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.0.0/24' -o enp2s0 -j MASQUERADE
Container1:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Container2:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.122/24
gateway 192.168.0.11