OVS - Host connection to Internet

Stroker89

New Member
Sep 26, 2013
9
0
1
Hey guys,

im new with OVS and i want to try to migrate from Linux Bridge to OVS.

OVS-Version

Code:
dpkg -l | grep openvswitch
ii  openvswitch-common               2.3.0-1                       amd64        Open vSwitch common components
ii  openvswitch-switch               2.3.0-1                       amd64        Open vSwitch switch implementations

My Setup:

I have one physical NIC (eth0)
Here are my /etc/network/interfaces

Code:
# network interface settingsauto lo
iface lo inet loopback


auto eth0
iface eth0 inet manual


auto vmbr0
iface vmbr0 inet static
        address  144.76.153.103
        netmask 255.255.255.255
        gateway 144.76.153.97
        broadcast 144.76.153.127
        network 144.76.153.96
        pointopoint 144.76.153.97
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0


#auto vmbr1
#iface vmbr1 inet manual
#       bridge_ports none
#       bridge_stp off
#       bridge_fd 0


auto vmbr1
allow-ovs vmbr1
iface vmbr1 inet manual
        ovs_type OVSBridge

My VMs are all connected to "vmbr1" and it work very well.
In addition i have a routerVM (pfsense) that is connected to "vmbr0" and "vmbr1" and doing the routing and firewalling for the VMs.

Now if i try to migrate "vmbr0" to OVS like that:

Code:
auto vmbr0
allow-ovs vmbr0
iface vmbr0 inet static
        address  144.76.153.103
        netmask 255.255.255.255
        gateway 144.76.153.97
        broadcast 144.76.153.127
        network 144.76.153.96
        pointopoint 144.76.153.97
        ovs_type OVSBridge
        ovs_ports eth0

i lost my hole connection to the hostsystem and i can´t reach it anymore.

What am i doing wrong here?

Cheers Martin
 
Anyone?

When i making the changes in eth0 and vmbr0 for OVS and i restarting the host it has no connection to the internet.
Is there any requirement for startup an OVS bridge for eth0/vmbr0?

Martin
 

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!