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.