Created
April 2, 2013 19:35
-
-
Save youribonnaffe/5295471 to your computer and use it in GitHub Desktop.
Openvswitch rules to drop packets from a given IP address
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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