From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id E5CFD63BA4 for ; Thu, 27 Jan 2022 09:54:35 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CC6A51F7EF for ; Thu, 27 Jan 2022 09:54:05 +0100 (CET) Received: from relay164.nicmail.ru (relay164.nicmail.ru [91.189.117.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id D5CB81F7DE for ; Thu, 27 Jan 2022 09:54:03 +0100 (CET) Received: from [10.28.138.151] (port=35274 helo=[192.168.8.155]) by relay.hosting.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1nD0XV-0001Wb-Cv; Thu, 27 Jan 2022 11:53:57 +0300 Received: from [62.105.41.93] (account tsabolov@t8.ru HELO [192.168.8.155]) by incarp1103.int.hosting.nic.ru (Exim 5.55) with id 1nD0XU-0000Vg-St; Thu, 27 Jan 2022 11:53:56 +0300 Message-ID: <723dff71-7daf-6a4d-cb0f-7c2aac5f1bcc@t8.ru> Date: Thu, 27 Jan 2022 11:53:56 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US From: =?UTF-8?B?0KHQtdGA0LPQtdC5INCm0LDQsdC+0LvQvtCy?= To: Proxmox VE user list , Dimitri Alexandris Reply-To: Proxmox VE user list References: In-Reply-To: X-KLMS-AntiSpam-Auth: dkim=none X-MS-Exchange-Organization-SCL: -1 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.369 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% HTML_MESSAGE 0.001 HTML included in message KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.001 Looks like a legit reply (A) RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H2 -0.001 Average reputation (+2) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [PVE-User] openvswitch + bond0 + 2 Fiber interfaces. X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2022 08:54:35 -0000 Hello, I have before 30 min this problem. I complete the interfaces edit by cli. But I have problem when I try to edit from GUI something like add comment or add new OVS Bridge or new OVS IntPort (new lan) GUI answer something like # OVS bond 'bond0' - wrong interface type on slave 'ens1f0np0' ('' != 'eth') (500) # OVS bond 'bond1' - wrong interface type on slave 'eno1' ('' != 'eth') (500) Below my Interfaces : auto lo iface lo inet loopback auto ens1f0np0 iface ens1f0np0 inet manual     ovs_type OVSPort     ovs_mtu 9000 #Fiber auto ens1f12np0 iface ens1f12np0 inet manual     ovs_type OVSPort     ovs_mtu  9000 #Fiber auto eno1 iface eno1 inet manual     ovs_type OVSPort auto eno2 iface eno2 inet manual     ovs_type OVSPort auto vlan10 iface vlan10 inet static     address 10.10.29.10/24     gateway 10.10.29.250     ovs_type OVSIntPort     ovs_bridge vmbr0     ovs_mtu 9000     ovs_options tag=10     ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif auto vlan29 iface vlan29 inet static     address 192.168.29.96/24     ovs_type OVSIntPort     ovs_bridge vmbr1     ovs_mtu 1500     ovs_options tag=29     ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif auto vlan250 iface vlan250 inet static     address 192.168.250.100/24     ovs_type OVSIntPort     ovs_bridge vmbr0     ovs_mtu 9000     ovs_options tag=250     ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif auto bond0 iface bond0 inet manual     ovs_type OVSBond     ovs_bridge vmbr0     ovs_bonds ens1f0np0    ens1f12np0     ovs_options trunks=10,29,250 bond_mode=active-backup     ovs_mtu        9000 #Fiber auto bond1 iface bond1 inet manual     ovs_type OVSBond     ovs_bridge vmbr1     ovs_bonds eno1    eno2     ovs_options bond_mode=active-backup     ovs_mtu    1500 auto vmbr0 iface vmbr0 inet manual     ovs_type OVSBridge     ovs_ports bond0 vlan10 vlan250     ovs_mtu 9000 auto vmbr1 iface vmbr1 inet manual     ovs_type OVSBridge     ovs_ports bond1 vlan29     ovs_mtu 1500 ---------------------------------------------------------------------------- Now I found solution : In interfaces wrong is ovs_type OVSPort if we comment it out or remove the GUI worked fine. auto ens1f0np0 iface ens1f0np0 inet manual #    ovs_type OVSPort #    ovs_mtu 9000 #Fiber auto ens1f12np0 iface ens1f12np0 inet manual #    ovs_type OVSPort #    ovs_mtu  9000 #Fiber auto eno1 iface eno1 inet manual #    ovs_type OVSPort auto eno2 iface eno2 inet manual #    ovs_type OVSPort 21.01.2022 15:28, Сергей Цаболов пишет: > Dimitri, hello > > Thank you with you share > > My Proxmox  is proxmox-ve: 6.4-1 (running kernel: 5.4.143-1-pve) > > I try change allow-vmbr0 with auto. > > I found the link > https://metadata.ftp-master.debian.org/changelogs/main/o/openvswitch/testing_openvswitch-switch.README.Debian > > > In section  ex 9: Bond + Bridge + VLAN + MTU  allow is used. > > But nothing wrong I try allow and auto, just comment one line. > > > Dimitri, thanks again for you share. > > > > > 21.01.2022 15:03, Dimitri Alexandris пишет: >> I have Openvswitch bonds working fine for years now, but in older >> versions >> of Proxmox (6.4-4 and 5.3-5): >> >> -------------- >> auto eno2 >> iface eno2 inet manual >> >> auto eno1 >> iface eno1 inet manual >> >> allow-vmbr0 ath >> iface ath inet static >> address 10.NN.NN.38/26 >> gateway 10.NN.NN.1 >> ovs_type OVSIntPort >> ovs_bridge vmbr0 >> ovs_options tag=100 >> . >> . >> allow-vmbr0 bond0 >> iface bond0 inet manual >>    ovs_bonds eno1 eno2 >>    ovs_type OVSBond >>    ovs_bridge vmbr0 >>    ovs_options bond_mode=balance-slb lacp=active >> allow-ovs vmbr0 >> iface vmbr0 inet manual >> ovs_type OVSBridge >> ovs_ports bond0 ath lan dmz_vod ampr >> -------- >> >> I think now, "allow-vmbr0" and "allow-ovs" are replaced with "auto". >> >> This bond works fine with HP, 3COM, HUAWEI, and MIKROTIK switches. >> Several OVSIntPort VLANS are attached to it. >> I also had 10G bonds (Intel, Supermicro inter-server links), with the >> same >> result. >> >> I see the only difference with your setup is the bond_mode. Switch setup >> is also very important to match this. >> >> >> >> >> >> On Fri, Jan 21, 2022 at 1:23 PM Сергей Цаболов  wrote: >> >>> Hello, >>> >>> I have PVE cluster and I thinking to install on  the pve-7 openvswitch >>> for can move and add VM from other networks and Proxmox Cluster >>> >>> With base Linux bridge all work well without problem with 2 interface >>> 10GB ens1f0np0 ens1f12np0 >>> >>> I  install openvswitch  with manual >>> https://pve.proxmox.com/wiki/Open_vSwitch >>> >>> I want use Fiber  10GB interfaces ens1f0np0 ens1f12np0  with Bond I >>> think. >>> >>> I try some settings but is not working. >>> >>> My setup in interfaces: >>> >>> auto lo >>> iface lo inet loopback >>> >>> auto ens1f12np0 >>> iface ens1f12np0 inet manual >>> #Fiber >>> >>> iface idrac inet manual >>> >>> iface eno2 inet manual >>> >>> iface eno3 inet manual >>> >>> iface eno4 inet manual >>> >>> auto ens1f0np0 >>> iface ens1f0np0 inet manual >>> >>> iface eno1 inet manual >>> >>> auto inband >>> iface inband inet static >>>       address 10.10.29.10/24 >>>       gateway 10.10.29.250 >>>       ovs_type OVSIntPort >>>       ovs_bridge vmbr0 >>> #Proxmox Web Access >>> >>> auto vlan10 >>> iface vlan10 inet manual >>>       ovs_type OVSIntPort >>>       ovs_bridge vmbr0 >>>       ovs_options tag=10 >>> #Network 10 >>> >>> auto bond0 >>> iface bond0 inet manual >>>       ovs_bonds ens1f0np0 ens1f12np0 >>>       ovs_type OVSBond >>>       ovs_bridge vmbr0 >>>       ovs_mtu 9000 >>>       ovs_options bond_mode=active-backup >>> >>> auto vmbr0 >>> iface vmbr0 inet manual >>>       ovs_type OVSBridge >>>       ovs_ports bond0 inband vlan10 >>>       ovs_mtu 9000 >>> #inband >>> >>> >>> Can some one help me if I set all correctly or not? >>> >>> If someone have setup openvswitch with Bond interfaces 10GB share with >>> me configuration. >>> >>> Thank at lot. >>> >>> >>> Sergey TS >>> The best Regard >>> >>> _______________________________________________ >>> pve-user mailing list >>> pve-user@lists.proxmox.com >>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user >>> >>> _______________________________________________ >>> pve-user mailing list >>> pve-user@lists.proxmox.com >>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user >>> >> _______________________________________________ >> pve-user mailing list >> pve-user@lists.proxmox.com >> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > > Sergey TS > The best Regard > > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user Sergey TS The best Regard _______________________________________________ pve-user mailing list pve-user@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user