1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

setup ovs bridges from webgui

Discussion in 'Proxmox VE: Networking and Firewall' started by immo, Oct 12, 2017.

  1. immo

    immo Member

    Joined:
    Nov 20, 2014
    Messages:
    37
    Likes Received:
    0
    HI,

    I use proxmox 4.4

    if I create a ovs bridge the gui creates the interfaces part automatically and I can see the is just

    +auto vmbr251
    +iface vmbr251 inet manual
    + ovs_type OVSBridge
    + ovs_ports eth1

    but your documentation says
    https://pve.proxmox.com/wiki/Open_vSwitch#Bridges
    ...
    However, any interfaces (Physical, OVSBonds, or OVSIntPorts) associated with a bridge should have their definitions prefixed with allow-$brname $iface, e.g. allow-vmbr0 bond0
    ...​

    whats the correct way ? gui or documentation ?
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    15,375
    Likes Received:
    176
    We usually do the correct setup (Did you run into any problems?)
     
  3. immo

    immo Member

    Joined:
    Nov 20, 2014
    Messages:
    37
    Likes Received:
    0
    I just do see a difference between docu and gui process....
    And my support engineer told me he created all manually and never via GUI. So may be nobody knows...

    this seems to be a working setup:
    auto vmbr250
    allow-ovs vmbr250
    iface vmbr250 inet manual
    ovs_type OVSBridge
    ovs_ports eth3.250
    post-up ifconfig vmbr250 up
    mtu 9000

    auto eth3.250
    allow-vmbr250 eth3.250
    iface eth3.250 inet manual
    ovs_bridge vmbr250
    ovs_type OVSPort​

    BUT from now I get a GUI Error
    interface 'eth3.250' is not defined as OVS port/bond (500)
    if I try to create a further one.
    But it is defined as OVS port
     
  4. Richard

    Richard Proxmox Staff Member
    Staff Member

    Joined:
    Mar 6, 2015
    Messages:
    288
    Likes Received:
    6

    The above will not work - define OVS bridges as well as internal ports with VLAN tags by GUI (the created /etc/network/interfaces[.new] will show you the correct syntax).

    The allow-vmbr.. statement is correct and always generated by GUI too - maybe there was a misunderstanding when interpreting the diff-file.
     

Share This Page