selen jia
2012-04-06 08:42:44 UTC
hi,
im using openvswitch 1.2.2 and setting controller ptcp:6633
now from controller i add following flows
1. ovs-ofctl add-flow tcp:15.1.2.3 "ip actions=output:2"
2. ovs-ofctl add-flow tcp: 15:1.2.3 "icmp icmp_type=0 icmp_code=0
actions=output:2"
Now when i send packet with icmp type=0 and icmp code=0 ,
packet matches rule 1) with ip actions=2 and not with second rule icmp
icmp_type=0 and icmp_code=0
although rule 2 was exact match rule for packet..
How ever when i add these two flows from switch ,packet matches icmp rule
only.
why is switch behaving this way with random rule insertion and matching?
also rule insertion order is different form switch and controller?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120406/0b064515/attachment.htm>
im using openvswitch 1.2.2 and setting controller ptcp:6633
now from controller i add following flows
1. ovs-ofctl add-flow tcp:15.1.2.3 "ip actions=output:2"
2. ovs-ofctl add-flow tcp: 15:1.2.3 "icmp icmp_type=0 icmp_code=0
actions=output:2"
Now when i send packet with icmp type=0 and icmp code=0 ,
packet matches rule 1) with ip actions=2 and not with second rule icmp
icmp_type=0 and icmp_code=0
although rule 2 was exact match rule for packet..
How ever when i add these two flows from switch ,packet matches icmp rule
only.
why is switch behaving this way with random rule insertion and matching?
also rule insertion order is different form switch and controller?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120406/0b064515/attachment.htm>