[ovs-discuss] Reg. flow based tunneling

Jesse Gross jesse at nicira.com
Fri Oct 25 16:11:01 UTC 2013


On Thu, Oct 24, 2013 at 7:46 PM, ESWAR RAO <eswar7028 at gmail.com> wrote:
> 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

You need two output actions, otherwise the second time it sets the
fields it will just overwrite the first values.



More information about the discuss mailing list