Configured Public IP Stops Working After Some Time

slykar

New Member
Oct 2, 2020
1
0
1
32
Hello,

I'm struggling with assigning a public IP to a container.
I have 4 IP addresses assigned to my host. One is used by the host itself on vmbr0. I can successfully add other IPs to the host if I create additional vmbrX.

The container belongs to a private network via vmbr1. Assigning a public IP bridged via vmbr0 to a container does not seem to work unless I do the following.
  1. I create a vmbr3 with a next public IP assigned.
  2. I start a ping on the IP from my local PC - ping works and keeps working in the terminal
  3. I now configure my container to use the same new IP address as vmbr3, but I bridge the interface to vmbr0
  4. I remove vmbr3 from the host
  5. Now I can ping my container/connect via SSH
  6. About 1 minute passes and the connection stops working - Destination Host Unreachable
I was re-creating a container few times with the same IP configuration and everything was working fine. At some point it just stopped.

I was contacting my provider to double check if everything is fine on their side, but everything is ok - which could be confirmed by attaching the public IPs to the host directly.

I have no idea why something like this could happen. I would really appreciate any hints.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!