Hi all,
        Why OvS does not support that we output a packet to a port which it is 
coming from.
In the case, eth1 can receive vlan1 and vlan2 packets and I hope when receiving 
packets, 
ovs can strip vlan1 packets, push it vlan2 and send it to eth1, and strip vlan2 
packets,
push it vlan1 and send it eth1. 

openflow:
ovs-ofctl add-flow br-trans 
priority=100,in_port=1,dl_vlan=1,actions=strip_vlan,mod_vlan_vid:2,output:in_port
ovs-ofctl add-flow br-trans 
priority=100,in_port=1,dl_vlan=2,actions=strip_vlan,mod_vlan_vid:1,output:in_port

I guess it is necessary to support that feature. If not, we can doc the 
ovs-ofctl manpage for more detail.


Thanks.
Nick

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to