Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Openvswitch rules to drop packets from a given IP address
ovs-ofctl add-flow xenbr0 "in_port=1,ip,nw_src=172.20.0.1,actions=drop"
ovs-ofctl add-flow xenbr0 "in_port=1,ip,nw_dst=172.20.0.1,actions=drop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment