On this (simplified) topology, I want to redirect traffic just from PPPoE CLIENT with CGNAT address 100.64.0.1 to CGNAT SERVER, but traffic from PPPoE CLIENT with public address flowing directly to internet, keeping L3HW offload working on ROUTER 1.
I thought it would be possible using PBR, but how? Is It possible?
The way I made, creating a routing table, I need to redirect traffic to CPU and loose the L3HW offload.
Currently PBR (and VRFs) are not available for L3HW. Apparently the hw would have support for it, but it’s currently not implemented. (There are several hurdles, so when and how much will be implemented is unclear.)
The simplest solution would be to avoid routing the PPPoE termination to CGNAT traffic, instead keeping them connected by a separate vlan. (Or if routing is s must, you may also attempt offloaded vxlan.)