Hi Jesse,

Thanks for the mail.

Please correct me if my below understanding is wrong.

VM port: 1, tunnel port:2 , needs to send broadcast flow to remote machines
with remoteIP_1 and remoteIP_2
 # ovs-ofctl add-flow br-tun in_port=1  actions=set_field:<remoteIP-1>
->tun_dst, set_field:<vni>->tun_id, output:2

Can I add the flow as :
 # ovs-ofctl add-flow br-tun in_port=1  actions=set_field:<remoteIP-1>
->tun_dst, set_field:<vni>->tun_id,  set_field:<remoteIP-2> ->tun_dst,
set_field:<vni>->tun_id output:2

I thought I can add 2 flows with in_port as 1 and actions with remote ips
respectively. But if the flow matches to first entry it will not adhere to
2nd flow and doesn't send to remoteIP_2.

Thanks
Eswar


On Fri, Oct 25, 2013 at 12:03 AM, Jesse Gross <[email protected]> wrote:

> On Thu, Oct 24, 2013 at 9:53 AM, ESWAR RAO <[email protected]> wrote:
> > Hi all,
> >
> > Can someone please help me in below scenario??
> >
> > I have launched VMs of same subnet on 3 different machines.
> > By using flow based tunneling, I created only 1 tunnel port on each node.
> >
> > #ovs-vsctl add-port br-tun vxlan0 -- set Interface vxlan0 type=vxlan
> >     options:remote_ip=flow options:key=flow
> >
> > Now I need to add broadcast flows (2 is tunnel port , 1 is the VM port)
> >  # ovs-ofctl add-flow br-tun in_port=1
> > actions=set_field:<remoteIP-1>->tun_dst,set_field:<vni>->tun_id,output:2
> >
> > Can I add additional tunnel-destination and tunnel-id to the above flow
> so
> > that the packet goes to other machine also??
>
> Yes, you can have multiple output actions.
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to