Additional IP on Proxmos V.E to service a VM

galvatec

Member
Sep 1, 2021
27
0
6
48
Hello everybody ! I'm using a VPS from Oneprovider I installed Proxmox V.E on Debian 11 and I ask about how to configure the second IP, because Proxmox V.E has two network cards eno1 and eno2 eno1 has the main IP and I hired an additional IP but I can't put it to serve a VM.
My main IP for example is 64.220.120.65/32
my second IP
62.210.180.34/32 how do I make this second IP be directed to a specific VM?
 
VMs or CT use vmbridges like vmbr0 to get a virtual nic that is available in vm after creation.
Inside the vm you can put the IP manually. How does your /etc/network/interfaces file look like?

How does you vm look like? qm config VMID

Routing needs to be correct so the IP also works.
 
Last edited:

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!