unable to create overlay network using OVS

faridz88

Member
Jun 21, 2016
2
0
21
36
I am using OVS and gre tunnel (or maybe VXLAN) to create an overlay network so that VMs on different hosts and separate networks can have access to each other on a private network. (10.x.x.x)
With my configuration, two VMs on two nodes are unable to ping each other.
my /etc/network/interfaces configuration is like the following:
Code:
auto vmbr0
allow-ovs vmbr0
iface vmbr0 inet manual
    ovs_type OVSBridge
    ovs_ports eth0

auto eth0
allow-ovs eth0
iface eth0 inet static
   ovs_bridge vmbr0
   ovs_type OVSPort
    address 192.168.1.10
    network 255.255.255.0
    gateway 192.168.1.1

auto vmbr1
allow-ovs vmbr1
iface vmbr1 inet static
    ovs_ports gre1
    address 10.1.1.10
    netmask 255.255.255.0

auto gre1
allow-vmbr1 gre1
iface gre1 inet manual
    ovs_type OVSTunnel
    ovs-bridge vmbr1
    ovs_tunnel_type gre
    ovs_tunnel_options options:remote_ip=192.168.195.20 options:key=1

I am using the same configuration on the other node with different IP addresses.
I would be appreciated if anyone can help me.
 
Last edited:

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!