pvelocalost when using DHCP

Robert Dahlem

Active Member
May 7, 2018

I am planning to set up a PVE host in a remote location. The owner of the location will provide me with internet access at one of the LAN interfaces of my host. Through this interface my host will establish a VPN tunnel through which I will be able to access the PVE installation.

My concern is the position of the "pvelocalhost" entry in /etc/hosts. I do not have an IP address yet and it is dynamic, so it may change over time. How/where do I place the "pcvelocalhost" entry in /etc/hosts?

Kind regards,
If you have a dynamic IP you must use a Routed or NATed setup anyway.
Use the IP of the bridge for the hosts file.


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!