Network for KVM virtual machines

paulocoghi

Active Member
Oct 23, 2014
7
0
41
How can I configure network in a guest VM (CentOS 6.6) that was instantiated with KVM in "bridged mode" (with vmbr0).

I have a dedicated server in OVH with multiple dedicated IP ranges, many OpenVZ containers and everything is fine. But the instructions in OVH docs and Proxmox forums posts didn't help me to get network working correctly in my first KVM machine.

In the vm, it didn't recognize the the vmbr0 automatically. Do I need to add it manually and, later, the eth0? Or just an eth0 interface is enough?

(I really need to buy a subscription, but I can't afford it in an annual payment)
 
Last edited:
In KVM your network device is presented as ETH. Vmbr is for the host only.

Inside the KVM, configure your ETH device just like you would a physical machine.
 

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!