On Fri, Aug 23, 2013 at 12:46 PM, Jarno Rajahalme <[email protected]> wrote:
> On Aug 23, 2013, at 11:26 AM, Ben Pfaff <[email protected]> wrote:
>> Looking at tnl_find() in ofproto/tunnel.c, it maintains the invariant
>> "set <field> to 0 if and only if we set <field>_flow to true", except
>> for <field> = ip_src.  Is that a bug?
>>
>
> No, it is not a bug. Tunnel config allows you to leave local address unset 
> (=0), allowing the selected route to determine the source address to use. 
> Even more, it looks like find_route() in kernel might override the source 
> address, even if it is given (in the config, or in the flow with _flow set to 
> true).

If you specify a source IP then the kernel should preserve it across
the route lookup.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to