HI,
I try to configure an OpenVH container in Proxmox.
My container can ping my server but it can't acces internet. I'm not very good in network so if someone can explain me if my bridge is correctyle configured. :
Host configuration : /etc/network/interfaces
iface eth0 inet static
address my.host.IP.adress
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.255
gateway x.x.x.254
auto vmbr0
iface vmbr0 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo > & /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -1 POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
On Proxmox CT network I choose routed mode (venet) : 10.10.10.2
Can anyone tell me what's wrong?
Thanks
I try to configure an OpenVH container in Proxmox.
My container can ping my server but it can't acces internet. I'm not very good in network so if someone can explain me if my bridge is correctyle configured. :
Host configuration : /etc/network/interfaces
iface eth0 inet static
address my.host.IP.adress
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.255
gateway x.x.x.254
auto vmbr0
iface vmbr0 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo > & /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -1 POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
On Proxmox CT network I choose routed mode (venet) : 10.10.10.2
Can anyone tell me what's wrong?
Thanks