Internal network between VM's with OVS

mario_rep

New Member
Jul 12, 2016
1
0
1
41
Hi all,

I have a problem configuring an internal LAN between several KVM machines.

Theoretically if you creates a OVS bridge without any configuration and then creates a vNIC OVS Bridge based for each VM proxmox interface it shows me an error message:

Parameter verification failed. (400)

net2: hotplug problem - VM 100 qmp command 'netdev_add' failed - network script /var/lib/qemu-server/pve-bridge-hotplug failed with status 512

Network config in host:

auto lo
iface lo inet loopback

iface eth0 inet manual

auto eth1
iface eth1 inet static
address ...
netmask ...

auto vmbr0
iface vmbr0 inet static
address ...
netmask ...
gateway ...
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address ...
netmask ...
bridge_ports eth1
bridge_stp off
bridge_fd 0


auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge


Then added last line to vmbr2:

auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge
bridge_ports none

Now I can create vNIC's vmbr2 based for VM's, but I have no network access in any other vNIC based in any other vmbr.

I have the same configuration working in other proxmox 4.1, but this 4.2 shows me the error or I have no network access...

Can you help me please?
 
Last edited:
auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge


Then added last line to vmbr2:

auto vmbr2
iface vmbr2 inet manual
ovs_type OVSBridge
bridge_ports none

Now I can create vNIC's vmbr2 based for VM's, but I have no network access in any other vNIC based in any other vmbr.

I have the same configuration working in other proxmox 4.1, but this 4.2 shows me the error or I have no network access...


I did not encounter any problem using the actual version. The line "bridge_ports none" is not necessary and may cause a problem. vmbr2 is not visible in the host, but also this can be changes easily by:

Code:
ifconfig vmbr2 up
 

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!