This is an old revision of the document!
Openvswitch (OVS) tips & trips
Before anything - RTFF - FAQ (Frequently Asked Questions)
Installation/compile
Debian / from source / GIT
export DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -us -uc -nc
Configuration tips
Frequently use (useful) command
# Dump flows
ovs-ofctl dump-flows br0
# Show mac table
ovs-appctl fdb/show br0
# Show switch
ovs-vsctl show
# Show datapath
ovs-dpctl show
# Turn debugging on
ovs-appctl vlog/set dbg
Troubleshooting
GRE problem
“You need to unload ip_gre
and gre
module, openvswitch GRE does not work along with kernel GRE module for now.”