Re: [ovs-discuss] how to set a rule that destination not equal

2023-02-23 Thread Ilya Maximets via discuss
On 2/24/23 01:21, Ilya Maximets wrote: > On 2/24/23 00:36, Dr. Omran via discuss wrote: >> is it programmble? i mean: ex.  nw_dst!=10.147.20.0/24 ? > > No, inequality check is not supported in OpenFlow. > >> >> i misunderstand your example, i think you mean the enable the allowed >> network,

Re: [ovs-discuss] how to set a rule that destination not equal

2023-02-23 Thread Ilya Maximets via discuss
On 2/24/23 00:36, Dr. Omran via discuss wrote: > is it programmble? i mean: ex.  nw_dst!=10.147.20.0/24 ? No, inequality check is not supported in OpenFlow. > > i misunderstand your example, i think you mean the enable the allowed > network, which is the other ip. > I want to clarify. > Here

Re: [ovs-discuss] how to set a rule that destination not equal

2023-02-23 Thread Dr. Omran via discuss
is it programmble? i mean: ex. nw_dst!=10.147.20.0/24 ? i misunderstand your example, i think you mean the enable the allowed network, which is the other ip. I want to clarify. Here in this bridge, I have two traffic only 1- from 10.147.20.0/24 other ports on the bridge. 2- outside the bridge to

[ovs-discuss] how to set a rule that destination not equal

2023-02-23 Thread Dr. Omran via discuss
Hello guys, i want to do this rule but instead of giving the destination as ip, i want to say a destination that is not equal to 10.147.20.0/24 ovs-ofctl add-flow br0 "priority=200,ip,nw_dst= 192.168.188.0/24,in_port=enp1s0f0,actions=drop" how do you do it? regards Sherif

Re: [ovs-discuss] how to set a rule that destination not equal

2023-02-23 Thread Ilya Maximets via discuss
On 2/23/23 14:26, Dr. Omran via discuss wrote: > Hello guys, > > i want to do this rule but instead of giving the destination as ip, i want to > say a destination that is not equal to 10.147.20.0/24 > > ovs-ofctl add-flow br0 >

[ovs-discuss] how to set a rule that destination not equal

2023-02-23 Thread Dr. Omran via discuss
Hello guys, i want to do this rule but instead of giving the destination as ip, i want to say a destination that is not equal to 10.147.20.0/24 ovs-ofctl add-flow br0 "priority=200,ip,nw_dst= 192.168.188.0/24,in_port=enp1s0f0,actions=drop" how do you do it? regards Sherif