Internal network between VM's with OVS

  • Thread starter Thread starter Deleted member 38455
  • Start date Start date
D

Deleted member 38455

Guest
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 by a moderator:
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