[SOLVED] How to add an IP to KVM under proxmox 3

D

Deleted member 33567

Guest
Hello,

I have deployed a new KVM since I want to migrate all my services to KVM. Now I see that the only thing I can change about this in network is MAC or vmbr0 / vmbr1. My OpenVZ containers works under vmbr0 and has each assigned IPs. I have added a reverse mac to one of my free IP and I see it did not helped.
http://prntscr.com/9ourgf here my kvm network config.
http://prntscr.com/9ouru3 here is my virtual mac assigned to the same as in previous.
 
Hi,
with kvm you can't set ip addresses.
KVM and openvz has an complete outer network model.

The only way to set a ip address on KVM nic form outside the vm, is to use dhcp.
Or you have to set it inside the VM like a normal Server.
 
Hi Wolfgang,

I know is not possible, I have assigned a Virtual Mac to the ip in question and added manually the settings in Centos 7, still it seems it is not helping. Any ideas what can I do for debug or so?
 
Hi again I managed to add the IP. Thanks a lot to OVH documentation.
 

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!