that means i have add all the fields in the flow to match..?
and why is necessary to add a flow to table 0 if i added flow to other
table it will not show me the packets in that table after dump-table.
or if i added default flow to table other than 0 why it is not showing
matching and lookup in that table..?




On Mon, Apr 8, 2013 at 9:36 PM, Jesse Gross <[email protected]> wrote:

> On Mon, Apr 8, 2013 at 4:59 AM, Prashant Chougule
> <[email protected]> wrote:
> > in my ovs setup i have bridge br0 and port eth0 under it
> > m1 ip:192.168.1.15
> > m2 ip:192.168.1.9
> >
> >
> > I have delete the default flow as below using ovs-ofctl del-flows br0
> > NXST_FLOW reply (xid=0x4):
> >  cookie=0x0, duration=12.006s, table=0, n_packets=95, n_bytes=11126,
> > idle_age=0, priority=0 actions=NORMAL
> > after deleting i am trying to ping m2 to m1 not possible i understand
> > i added flow
> > sudo ./ovs-ofctl add-flow br0
> >
> priority=0,idle_age=0,nw_src=192.168.1.9,nw_dst=192.168.1.15,actions=NORMAL
> > it will start the ping
> >
> > but if i change action field with some value like actions=output:1 it
> stop
> > the ping , why ?
> > if i added flow with the dl_dst and dl_src it will again block, why ?
> >
> > i am not able to get packet match as per added flow in the table. how m i
> > suppose to add flow so that it will take mac as well as action field
> after
> > deleting default flow..?
> >
> > i.e after deleting default flow and added new flow like
> >
> > sudo ./ovs-ofctl add-flow br0
> >
> priority=0,idle_age=0,nw_src=192.168.1.9,nw_dst=192.168.1.15,dl_dst=c2:b8:ec:e1:2e:46,dl_src=e8:40:f2:3c:ad:93,actions=output:1
> >
> > i am not able to ping m2 - m1 why ? help me with this.
>
> Presumably you need to add flows that handle traffic in both
> directions.  You should look at the flow table after inserting flows
> and running traffic to confirm that the flows you added match what you
> expect and are being hit.
>



-- 
Thanks &Regards,
Prashant Chougule.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to