Hello all,
I've used Proxmox v3 quite a bit, and their OpenVZ containers extensively.
I'm trying to setup a 4.1 based system, but so far am having trouble with basic network connectivity for containers (LXC).
A fresh install of Proxmox 4.1, the Proxmox host has VM xxx.xxx.xxx.151 (masking my actual IP's with x's for paranoia I suppose).
I download a vanilla Debian-8-standard template from the built in template catalog.
Then I create a container from it.
I name it's network interface eth0, I select vmbr0 as the bridge (the only one available), MAC address is auto generated, I leave the firewall box unchecked, and leave the VLAN setting untouched. I select a static IPv4 address, and enter xxx.xxx.xxx.156/27 in the IPv4/CIDR box (.156 is on the same physical subnet as the proxmox host's .151 address, and one of my available IP's that I can assign to VM's). I put in xxx.xxx.xxx.129 as the IPv4 gateway (as it's my gateway, the same IP I have configured as the gateway for my proxmox host.
For IPv6, I leave it set to the DHCP radio button as I don't have any IPv6 info for it.
The command line "pct list" shows my PXC container as running. And I can use pct enter <vmid> to get into the command prompt for the running container. But I cannot so much as eternally ping the container's IP, or get so much as a ping response out from inside the container (except to the proxmox host, and the containers own ip).
ifconfig from within the container shows the eth0 interface as "UP" and having the IP I assigned to it.
the /etc/network/interfaces file shows:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.156
netmask 255.255.255.224
gateway xxx.xxx.xxx.129
iface eth0 inet6 dhcp
Any idea why I can't get any traffic either way, from outside in, or inside out?
I've tried several containers, from several templates, and it just doesn't work.
I'm quite frustrated at this point.
I've used Proxmox v3 quite a bit, and their OpenVZ containers extensively.
I'm trying to setup a 4.1 based system, but so far am having trouble with basic network connectivity for containers (LXC).
A fresh install of Proxmox 4.1, the Proxmox host has VM xxx.xxx.xxx.151 (masking my actual IP's with x's for paranoia I suppose).
I download a vanilla Debian-8-standard template from the built in template catalog.
Then I create a container from it.
I name it's network interface eth0, I select vmbr0 as the bridge (the only one available), MAC address is auto generated, I leave the firewall box unchecked, and leave the VLAN setting untouched. I select a static IPv4 address, and enter xxx.xxx.xxx.156/27 in the IPv4/CIDR box (.156 is on the same physical subnet as the proxmox host's .151 address, and one of my available IP's that I can assign to VM's). I put in xxx.xxx.xxx.129 as the IPv4 gateway (as it's my gateway, the same IP I have configured as the gateway for my proxmox host.
For IPv6, I leave it set to the DHCP radio button as I don't have any IPv6 info for it.
The command line "pct list" shows my PXC container as running. And I can use pct enter <vmid> to get into the command prompt for the running container. But I cannot so much as eternally ping the container's IP, or get so much as a ping response out from inside the container (except to the proxmox host, and the containers own ip).
ifconfig from within the container shows the eth0 interface as "UP" and having the IP I assigned to it.
the /etc/network/interfaces file shows:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.156
netmask 255.255.255.224
gateway xxx.xxx.xxx.129
iface eth0 inet6 dhcp
Any idea why I can't get any traffic either way, from outside in, or inside out?
I've tried several containers, from several templates, and it just doesn't work.
I'm quite frustrated at this point.