On Thu, Mar 17, 2022 at 6:39 AM 黄海伦 <[email protected]> wrote:
>
> Hi,
>
>
> In OVN logical flows table, the table number of Router policies table 
> (lr_in_policy) in ovn logical router is 13, and IP Routing 
> table(lr_in_ip_routing) is 11.
> The priority of router policy route is higher than that of static route in 
> linux kernel.
> Learn it that PBR can override routing decisions and provide a different 
> next-hop from [1].
> We encountered such a scene,  after deleting the default route of static 
> route, the flow table in table 11(lr_in_ip_routing) can not match and 
> advances to the next table. Then the PBR cannot take effect.
> In other words, PBR depends on lr_in_ip_routing table match and advances to 
> next table.
> Is this a bug?
>
>
>
Hi,

In my opinion,  it doesn't seem like a bug and I would expect the user
to add a default static route.
In OVN, PBR is generally used to override the routing decision taken
in the lr_in_ip_routing stage.

Thanks
Numan


>
> [1] 
> https://patchwork.ozlabs.org/project/openvswitch/patch/[email protected]/
>
>
>
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to