Hi Ben,


On Thu, Apr 28, 2011 at 11:05 PM, Ben Pfaff <[email protected]> wrote:

> [Adding openflow-discuss back.  Please don't drop the mailing list.]
>
> On Thu, Apr 28, 2011 at 10:26 AM, Anil Vishnoi <[email protected]>
> wrote:
> > I am using the open vSwitch 1.1.0 pre2 version and I downloaded from
> > openvswitch.org following the instruction mentioned in the URL below :
>
> 1.1.0pre2 is old.  You should upgrade to the final released 1.1.
>
> OK, back to your question.
>
> >[root@localhost utilities]# ./ovs-ofctl add-flow dp0
> priority=65535,idle_timeout=50000,dl_type=0x0800,in_port=ANY,nw_src=ANY,nw_dst=192.168.5.12,actions=output:3,mod_dl_dst:00:50:56:a2:00:40
>
> It doesn't make sense to do a mod_dl_dst as the final action.  A
> packet modification only affects outputs that *follow* the
> modification.
>

I even tried with output as a final action

./ovs-ofctl add-flow dp0 priority=65535,idle_timeout=
50000,dl_type=0x0800,in_port=ANY,nw_src=ANY,nw_dst=192.168.5.12,actions=mod_dl_dst:00:50:56:a2:00:40,output:3

but results are same.


>
> I suspect that your switch is going into "fail open" mode and
> forwarding each packet as a regular switch would.  You should be able
> to see that in the logs.  It would also be visible as an additional
> high-priority rule in the output of "ovs-appctl bridge/dump-flows
> dp0".
>

Yes, i can see the verbose output of *openflowd*  and it throws the
fail-safe error with "disconnected from controller" message.

So we do need connectivity from controller?Because when we connect to
controller,it starts learning and it might put the high priority entries in
the flow table which
will get compared before my manual entry and that way my entries will be of
no use.
My knowledge is limited in this as of now,so at this point of time it looks
to me that we must connect to controller else switch will move to fail-safe
mode and it will start broadcasting the packets?

Thanks
Anil
Anil



-- 
Thanks & Regards
--Anil Kumar Vishnoi
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to