On Tue, Apr 14, 2015 at 02:53:37PM +0800, Fang wrote:
> Hello,
> I have two host installed ovs 2.0.1.Every host has two network card eth1 and 
> eth2.
> Two vms on host1.
> 
> I can ping from vm1 to vm2.Now I want to change the packet flow like the read 
> line
> in picture.
> 
> I had set br0 stp_enable=true.
> 
> on host1:
> ovs-ofctl show br0 | grep addr
>  1(tap1): addr:fa:45:84:29:aa:77
>  2(tap2): addr:0a:65:8e:0b:aa:4d
>  3(eth1): addr:00:81:81:81:81:01
>  4(eth2): addr:00:81:81:81:81:02
>  LOCAL(br0): addr:00:81:81:81:81:01
> 
> I add a flow: output packet from port 1 to port 3.
> ovs-ofctl dump-flows br0
> NXST_FLOW reply (xid=0x4):
>  cookie=0xa, duration=241.229s, table=0, n_packets=243, n_bytes=12422, 
> idle_age=2, priority=10,in_port=1 actions=output:3
>  cookie=0x0, duration=10511.65s, table=0, n_packets=1287759, 
> n_bytes=77663334, idle_age=30, priority=0 actions=NORMAL

STP prevents loops, but you're trying to loop the packet back through
a single bridge on host1.  I think that's the problem.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to