On Mon, Oct 7, 2013 at 5:39 PM, Nithin Nayak Sujir <[email protected]> wrote:
> Hi,
> The open-fcoe service fcoemon does a vlan discovery on configured
> interfaces. However, when this interface is added as a port in an
> openvswitch bridge, the fcoemon socket does not receive the vlan replies.
> The FIP vlan request is made with a "SAN MAC" which is different from the
> interface MAC addr and this is probably why openvswitch does not deliver it
> to the stack? I'm not sure.
>
> I'm trying to add a flow which will make openvswitch ignore the 0x8914 (FIP)
> packet type and deliver it to the stack.
>
> I added the following flows. But the socket still does not get the Fipvlan
> packets. I'm probably misunderstanding the command/options. How can I get
> openvswitch to not process packets of mac type 0x8914? I apologize if this
> is something obvious in the FAQ. I couldn't figure it out.
>
>
> # ovs-ofctl add-flow br0 "table=0, dl_type=0x8914, in_port=1,
> actions=output:LOCAL"
> # ovs-ofctl add-flow br0 "table=0, dl_type=0x8914, in_port=LOCAL,
> actions=output:1"
>
> Trace shows -
> # ovs-appctl ofproto/trace br0 dl_type=0x8914
> Flow:
> metadata=0,in_port=ANY,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x8914
> Rule: table=0 cookie=0 dl_type=0x8914
> OpenFlow actions=LOCAL
>
> Final flow: unchanged
> Relevant fields: skb_priority=0,in_port=ANY,dl_type=0x8914,nw_frag=no
> Datapath actions: 1
>
>
>
> To summarize, I'm looking for an openvswitch command which does the same
> thing as
>
> "ebtables -t broute -A BROUTING -p 0x8914 -j DROP"
>
> for the standard linux bridge.

To get back to the heart of the matter, there is no exact equivalent
to this in OVS. This command will return the packet to the stack on
the original interface (i.e. eth0) whereas sending to LOCAL will
output on the bridge interface (such as br0). I suspect that the
problem is that your listener is bound to the Ethernet interface.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to