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.


Details of the system - RHEL 6.3
# ovs-vsctl -V
ovs-vsctl (Open vSwitch) 2.0.90
Compiled Oct  7 2013 15:38:01

# modinfo openvswitch
filename:       
/lib/modules/2.6.32-279.el6.i686/extra/openvswitch/openvswitch.ko
version:        2.0.90


Thanks,
Nithin.

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to