Is it possible to have a Proxmox VM with the same IP as the host?

markrad

New Member
May 12, 2023
8
0
1
I see that when I set the same IP address, netmask, and gateway on my virtual machine (VM), the VM doesn't have an internet connection.
However, when I set an additional IP with a virtual MAC, it works and has an internet connection. Is it normal that I can't set the same IP address as the host?
 
Sure, it is not normal or recommended setting the same IP address on both the host and the VM when they are connected to the same network.
 
I'm not even sure I want to know how/why you'd want to do this...
The need is very simple:
- you rent a dedicated server or a VPS which has just one IP address
- you don't control the router, so this one IP address must be sufficient for proxmox and the VM
 

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!