[ovs-dev] [PATCH v2] tnl-ports: Add destination IP and MAC address to the match.

Ben Pfaff blp at nicira.com
Tue Sep 8 22:50:21 UTC 2015


On Thu, Sep 03, 2015 at 12:42:34AM -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 <blp at nicira.com>
> Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
> ---
> tnl-port table does not depends on /32 route.

Thank you!

I see that the test still adds a /32, is it still necessary?

    dnl First setup dummy interface IP address, then add the route
    dnl so that tnl-port table can get valid IP address for the device.
    AT_CHECK([ovs-appctl netdev-dummy/ip4addr br0 1.1.2.88/32], [0], [OK
    ])

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list