Additional IP on Proxmos V.E to service a VM

galvatec

Member
Sep 1, 2021
29
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: