Dear Justin, No. I'll have a try. But I don't understand why ARP is needed in this scenario.
Thank you very much. Best Regards, Zhiyang Su -----Original Message----- From: Justin Pettit [mailto:jpet...@cs.stanford.edu] Sent: Thursday, September 26, 2013 12:07 AM To: Zhiyang Su Cc: openflow-discuss@lists.stanford.edu Subject: Re: [openflow-discuss] Wildcard rule in openvswitch Do you have flows to handle ARP? --Justin On Sep 25, 2013, at 9:01 AM, "Zhiyang Su" <suzhiy...@gmail.com> wrote: > Hi all, > I want to install wildcard rules to openvswitch that match only source IP and destination IP of a flow. The wildcard rule looks like this: > ovs-ofctl add-flow s1 > priority=50000,dl_type=0x800,tcp,in_port=1,dl_src=00:00:00:00:00:01,dl > _dst=00:00:00:00:00:02,nw_src=10.0.0.1,nw_dst=10.0.0.2,tp_dst=5001,act > ions=output:2 ovs-ofctl add-flow s1 > priority=50000,dl_type=0x800,tcp,in_port=2,dl_src=00:00:00:00:00:02,dl > _dst=00:00:00:00:00:01,nw_src=10.0.0.2,nw_dst=10.0.0.1,tp_src=5001,act > ions=output:1 > > However, this lead to zero match of such flow. I tried other methods like matching by MAC but failed again: > ovs-ofctl add-flow s1 > priority=50000,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:02,actio > ns=output:2 ovs-ofctl add-flow s1 > priority=50000,dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:01,actio > ns=output:1 > > The crude solution I found is: > ovs-ofctl add-flow s1 in_port=1,priority=30000,actions=output:2 > ovs-ofctl add-flow s1 in_port=2,priority=30000,actions=output:1 > > But it doesn't work for more hosts (3 more). > > I found that there were some discussions about this: https://mailman.stanford.edu/pipermail/openflow-discuss/2012-April/003139.ht ml . > > If I build a simple topology with 3 hosts connect to a single switch, is it possible installing rules proactively to make them communicates with each other via these rules? > > Thank you very much! > > Best Regards, > Zhiyang Su > > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss