Proxmox:将来自不同子网的IP添加到LXC容器

我正在使用proxmox 4.1。

如果我将IP地址添加到我的CentOS-7-LXC我只能这样做,如果这个IP来自同一个子网。 如果我在另一个网关上使用另一个子网,则容器不能再被ping – 我必须从另一个子网中删除IP,然后重新启动容器。

主机节点的接口configuration是:

 auto lo iface lo inet loopback auto vmbr0 iface vmbr0 inet static address 84.xxx.xxx.x4 netmask 255.255.255.240 gateway 84.xxx.xxx.x1 bridge_ports eth0 bridge_stp off bridge_fd 0 

更详细的例子:

84.xxx.xx1.x4gateway 84.xxx.xx1.x1 – >一切都很好

如果我添加

84.xxx.xx1.x6gateway 84.xxx.xx1.x1 – >一切都很好

如果我添加

84.xxx.xx2.x4gateway 84.xxx.xx2.x1 – >容器的所有IP都不响应传入的PING。 传出的PING也不起作用。

问题不是与CentOS相关的。 一个debian-lxc-模板也有同样的问题。