On Fri, Sep 4, 2015 at 1:50 PM, Ben Pfaff <b...@nicira.com> wrote:
> On Wed, Sep 02, 2015 at 09:03:15PM -0700, Pravin B Shelar wrote:
>> Currently tnl-port table wildcard destination ip and mac addresses
>> for given tunnel packet.  That could result accepting tunnel
>> packets destined for other hosts.  Following patch adds
>> support for matching for ip and mac address.
>> IP address upates to tnl-port table are piggybacked on
>> ovs-router updates.
>>
>> Reported-by: Ben Pfaff <b...@nicira.com>
>> Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
>
> When I substitute this for my patch "ovn-controller: Attach local_ip to
> each tunnel." in my series at
> https://github.com/blp/ovs-reviews/tree/ovn-sandbox4, or if I use the
> two together, I get tons of dropped packets in the test that that series
> adds.  With just my patch, it passes consistently.
>
> I haven't read the code in this patch yet.  I'll try to figure what's
> happening.
>

I guess it is missing /32 route for the interface ip-address.
On Linux every net-device has this route set. for example if you
configure 1.1.1.1 on br0, there would be a route 1.1.1.1/32. This
route is used to configure tnl-port table ip-address. If that does not
exist then OVS will drop these packet.
So for ovs-dummy netdevices you need to explicitly set these entries
in ovs-router, so that tnl-port table can use it. You can have look at
diff for tests/tunnel-push-pop.at.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to