Yeah, the single string "ip/mask" shortcut doesn't work with non-CIDR masks at
present. Use one of the alternate ways of specifying it. For example, I think
the following will work:
msg1.match.ip_dst_with_mask = ("10.0.0.4", "0.0.0.255")
.. on the other hand, this mask and IP don't actually make sense together.
You're specifying something underneath the mask...
-- Murphy
On Oct 30, 2013, at 2:19 AM, Amer <[email protected]> wrote:
> Hello,
>
> I am working on the latest version of OVS, mininet v2 and latest POX ( carp)
> I am working in openflow. Nicira extension with convert packet in.
>
> I would like to use arbitrary netmask which is supported in OVS 1.8 and
> later. When I implemented it i have received a Runtime error Netmask is not
> CIDR compatible.
>
> I have sent the attached email to OVS discuss and there respond is down.
>
> Thank you
> Best regards,
> Amer
>
> Sent from my iPhone
>
> Begin forwarded message:
>
>> From: Ben Pfaff <[email protected]>
>> Date: ٢٩ أكتوبر، ٢٠١٣ ٧:٣٧:٥٧ م جرينتش+٠٣:٠٠
>> To: Amer <[email protected]>
>> Cc: "[email protected]" <[email protected]>
>> Subject: Re: [ovs-discuss] arbitrary netmask
>>
>> It's better to ask questions about POX on a POX mailing list.
>>
>> On Tue, Oct 29, 2013 at 06:59:51PM +0300, Amer wrote:
>>> Hi,
>>> Thank you for the comment, may please tell me how to check that or mitigate
>>> this issue
>>>
>>> Best regards,
>>> Amer
>>>
>>> Sent from my iPhone
>>>
>>> On ???????/???????/????????, at ??:???? ??, Ben Pfaff <[email protected]>
>>> wrote:
>>>
>>>> On Tue, Oct 29, 2013 at 03:20:25PM +0000, AMER wrote:
>>>>> I am working in mininet v 2.0 and OVS v 1.10 and POX with openflow.nicira
>>>>> I am trying to do an experiemnt using arbitrary netmask as the following
>>>>> match:
>>>>>
>>>>> msg1 = nx.nx_flow_mod()
>>>>> msg1.idle_timeout = 100
>>>>> msg1.hard_timeout = 120
>>>>> msg1.match.eth_type = packet.IP_TYPE
>>>>> msg1.match.ip_dst = "10.0.0.4/0.0.0.255"
>>>>> msg1.priority = 65001
>>>>> msg1.actions.append(of.ofp_action_output(port = 1))
>>>>> core.openflow.sendToDPID(1, msg1)
>>>>>
>>>>> But i am facing Runtimerror Netmask is not CIDR compatible.
>>>>
>>>> This doesn't sound like an OVS problem (OVS supports arbitrary
>>>> netmasks). It's probably a bug or a missing feature in POX or
>>>> openflow.nicira.
>>>>
>>