How to have a different public IP for each vm?

Arnau97

New Member
Aug 17, 2022
3
0
1
Hello, I have 5 different vm and everyone it's with the same public ip. Is there any form to make a different public ip for each machine?

Example:

From:

VM1 - 92.92.92.92
VM2 - 92.92.92 .92
VM3 - 92.92.92.92

To:

VM1 - 92.92.92.93
VM2 - 92.92.92.94
VM3 - 92.92.92.95
 
This depends on a multitude of things:
a) Do you just see that when connecting to outside services the source IP is the same? That's how its supposed to work in most cases. The Public IP NATs the private ones via your ISP router.

b) Do you have Public IPs allocated to you by ISP and you want each VM to have one?
- where are those IPs are coming from, ie how they are allocated and received?
- how is the hypervisor/VM is connected to the network?
- what OS is the VM is running?
At a very basic level you need to manually update the configuration: https://www.industrialshields.com/b...how-to-change-the-ip-in-windows-and-linux-242

https://pve.proxmox.com/wiki/Network_Configuration#_choosing_a_network_configuration


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
a) Yes

b) I only have 1 public ip, and yes, each vm to have one.

b1- Ethernet cards
b2- Linux bridge
b3- Windows
 
b) I only have 1 public ip, and yes, each vm to have one.
if you only have one public IP then you cant assign 3 different ones to your hosts, virtual or physical.
I think something is getting lost in the translation between what you have available to you and the end result you want to achieve.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!