[ovs-discuss] Match the flow entry in OVS

Ben Pfaff blp at nicira.com
Fri Mar 22 04:48:50 UTC 2013


On Fri, Mar 22, 2013 at 12:35:40PM +0800, Hong Wayne wrote:
> In my scenario, I have two machines and one OVS(1.9) connect to POX
> Controller.
> 
> Machine 1 (IP): 192.168.15.5 netmask:255.255.255.252 (Port 42)
> Machine 2 (IP): 192.168.15.6 netmask:255.255.255.252 (Port:2)
> 
> And I modify POX to set only one flow rule like below:
> cookie=0x0, duration=14.086s, table=0, n_packets=0, n_bytes=0, ip,nw_src=
> 192.168.15.4/30 actions=output:2
> 
> In this case, ''nw_src=192.168.15.4/30'' should match the machines which ip
> address is 192.168.15.4~192.168.15.7.
> 
> But when Machine1 ping to Machine2, the packet send to controller again and
> don't match the flow rule like above.
> 
> What's wrong about my scenario? Thanks for helping.

The ofproto/trace command described in the ovs-vswitchd manpage might
help you to figure it out.



More information about the discuss mailing list