Host A:
ovs-vsctl add-br br1 ovs-vsctl add-port br1 vx1 -- set interface vx1 type=vxlan options:remote_ip=192.168.1.100 ifconfig br1 10.0.0.1/8 up
Host B:
ovs-vsctl add-br br1 ovs-vsctl add-port br1 vx1 -- set interface vx1 type=vxlan options:remote_ip=192.168.1.200 ifconfig br1 10.0.1.1/8 up
Host A: /etc/network/interface
auto br1 iface br1 inet static address 10.0.0.1 netmask 255.0.0.0
Host B: /etc/network/interface
auto br1 iface br1 inet static address 10.0.1.1 netmask 255.0.0.0
CentOS
DEVICE=br-int ONBOOT=yes DEVICETYPE=ovs TYPE=OVSIntPort BOOTPROTO=static IPADDR=10.0.0.2 NETMASK=255.0.0.0 HOTPLUG=no