I have setup a openvswitch bridge “br-ex” and put “eth0” to this “br-ex” using wicked successfully. May I ask how can I add one VXLAN tunnel using wicked configuration files? Thank you.
Below is configuration, which create a “br-ex” ovs bridge and put “eth0” into this bridge.
sudo nano /etc/sysconfig/network/ifcfg-eth0 STARTMODE='auto' BOOTPROTO='none' sudo nano /etc/sysconfig/network/ifcfg-br-ex STARTMODE='auto' OVS_BRIDGE='yes' OVS_BRIDGE_PORT_DEVICE_1='eth0' IPADDR='x.x.x.x/24' BOOTPROTO='static' STARTMODE='auto' sudo nano /etc/sysconfig/network/routes default y.y.y.y - br-ex
Now I want to do “sudo ovs-vsctl --may-exist add-port br-ex vxlan0 – set interface vxlan0 type=vxlan options:remote_ip=x.x.x.x options:key=8888 options:dst_port=8888” using configuration file like above. May I ask how can do it?
I have tried below code, but it doesn’t work. I’m not sure if I should use “VXLAN=‘yes’” type, and “options:key=8888” means “VXLAN_ID=‘8888’”?
sudo nano /etc/sysconfig/network/ifcfg-vxlan0 NAME='vxlan0' STARTMODE='auto' VXLAN='yes' VXLAN_REMOTE_IP='x.x.x.x' VXLAN_DST_PORT='8888' VXLAN_ID='8888'
man ifcfg-ovs-bridge man ifcfg-vxlan
Does wicked not support all OVS functions at the moment?