I have Proxmox 5.2 server in OVH. I have few LXC containers and everything work just fine except when I add a second IP to the container it doesn't work - inside in the container the interface exists and I can ping it from inside. On the other hand from outside it's unreachable. I checked few of the IP's and everyone of them work perfectly well if alone in the container. The MAC addresses are OVH type.
Ah, and it was working in Proxmox 4.2 before I upgraded it to Proxmox 5... Of course I was trying this with old containers and also with freshly made ones - no difference.
Any idea what's wrong?
You have not provided a whole lot of information, however going of past mistakes people commonly make it's likely that you have a singular interface and two IPV4s with different MAC addresses on each.
The correct setup is to ensure the interface hardware address (MAC Address) is the same as the one set on both IP's.
(within the OVH Control Panel)