Hi everyone, I've a newly installed Proxmox 6.1-7 and I'm trying to get OpenvSwitch to work without much success.
Everythin works as expected with the following configuration but after every reboot I have to open a console in the server and run "ifup vmbr0" because the interfaces wont start on boot.
Also the packages versions in case is needed:
I've setup the proxmox no subscription repo and also installed net-tools and ifupdown2 package.
Is there anything I'm missing?
Thanks in advance.
Everythin works as expected with the following configuration but after every reboot I have to open a console in the server and run "ifup vmbr0" because the interfaces wont start on boot.
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eno1 eno2 enp2s0f0 enp2s0f1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options lacp=active bond_mode=balance-tcp
auto lo
iface lo inet loopback
allow-bond0 eno1
iface eno1 inet manual
allow-bond0 enp2s0f0
iface enp2s0f0 inet manual
allow-bond0 enp2s0f1
iface enp2s0f1 inet manual
allow-bond0 eno2
iface eno2 inet manual
allow-vmbr0 vlan1
iface vlan1 inet static
address 192.168.0.2
netmask 24
gateway 192.168.0.1
ovs_type OVSIntPort
ovs_bridge vmbr0
allow-vmbr0 vlan2
iface vlan2 inet static
address 192.168.2.2
netmask 24
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=2
allow-ovs vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan1 2
Also the packages versions in case is needed:
root@pve:~# pveversion --v
proxmox-ve: 6.1-2 (running kernel: 5.3.18-1-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-5.3: 6.1-4
pve-kernel-helper: 6.1-4
pve-kernel-5.3.18-1-pve: 5.3.18-1
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph: 14.2.6-pve1
ceph-fuse: 14.2.6-pve1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 2.0.1-1+pve4
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.14-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-12
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-4
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
openvswitch-switch: 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-12+deb10u1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-19
pve-docs: 6.1-4
pve-edk2-firmware: 2.20191127-1
pve-firewall: 4.0-10
pve-firmware: 3.0-5
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-5
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1
I've setup the proxmox no subscription repo and also installed net-tools and ifupdown2 package.
Is there anything I'm missing?
Thanks in advance.