[ovs-discuss] problems about nw_src and nw_dst

Fang wchunx416 at 126.com
Wed Apr 17 00:29:12 UTC 2013


Thank you.








At 2013-04-16 00:38:57,"Justin Pettit" <jpettit at nicira.com> wrote:
>On Apr 10, 2013, at 9:39 PM, Fang <wchunx416 at 126.com> wrote:
>
>> 1.I found an error when I specified nw_dst as www.google.com.
>> sudo ovs-ofctl add-flow br0 cookie=10,nw_src=www.google.com,ip,actions=drop
>> ovs-ofctl: www.google.com: invalid IP address
>
>Only a numeric IP address is allowed.
>
>> 2.How to specify nw_src or nw_dst as a segment of IP address like 192.168.0.10~192.168.0.20
>
>As described in the ovs-ofctl man page, you can specify a netmask to group multiple addresses to together.  To get that kind of range, you would have to use multiple sets of netmasks.
>
>--Justin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130417/c0bfbf28/attachment.html>


More information about the discuss mailing list