[SOLVED] open vswitch in Proxmox

fizik051

New Member
Aug 12, 2014
9
0
1
Hi! I am trying to configure open vswitch. I have installed it by "apt-get install openvswitch-switch".
root@proxmox:~# dpkg -l | grep openvswitch
ii openvswitch-common 1.4.2+git20120612-9.1~deb7u1 amd64 Open vSwitch common components
ii openvswitch-switch 1.4.2+git20120612-9.1~deb7u1 amd64 Open vSwitch switch implementations
root@proxmox:~# ovs-vsctl show
9092e232-395a-4580-b038-6adfafbe12fc
ovs_version: "1.4.2"
And configured second (eth1) interface on server by using web interface


root@proxmox:~# cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback


iface eth0 inet manual


allow-vmbr1 eth1
iface eth1 inet manual
ovs_type OVSPort
ovs_bridge vmbr1


auto vmbr0
iface vmbr0 inet static
address 10.10.0.167
netmask 255.255.254.0
gateway 10.10.0.1
bridge_ports eth0
bridge_stp off
bridge_fd 0


auto vmbr1
iface vmbr1 inet static
address 10.10.0.168
netmask 255.255.254.0
ovs_type OVSBridge
ovs_ports eth1

But after reboot the vmbr1 doesn't up. And eth1 is down...
 
Last edited:
Hi,
you need to install openvswitch packages from proxmox (version 2.0.90-4)

#apt-get install openvswitch-switch

It's available in proxmox pve-no-subscription repository
I installed ovs by the same command "apt-get install openvswitch-switch" and have an another version...
 
I installed ovs by the same command "apt-get install openvswitch-switch" and have an another version...

you should have:

Code:
root@proxmox~# dpkg -l | grep openvswitch
ii  openvswitch-common               2.0.90-4                      amd64        Open vSwitch common components
ii  openvswitch-switch               2.0.90-4                      amd64        Open vSwitch switch implementations

if not, you have wrong sources.list.
 

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!