Hi Donald Please find the below is the ip rule show output sudo ip rule show 0: from all lookup local 300: from 192.168.59.10/24 to 192.168.56.10/24 iif enp0s3 lookup 10000 301: from 192.168.55.10/24 to 192.168.54.11/24 iif enp0s3 lookup 10000 32766: from all lookup main 32767: from all lookup default sudo ip route ls table 10000 default via 192.168.58.11 dev enp0s9 proto 195 metric 20 Thanks, Valli On Mon, 3 Dec 2018 at 19:32, Donald Sharp <sharpd@cumulusnetworks.com> wrote:
Can we get the output of `ip rule show` from the linux cli?
On Mon, Dec 3, 2018 at 8:36 AM valli rama <pvallirama@gmail.com> wrote:
Hi,
We have the below setup with RIP and PBR configurations
[image: image.png]
We have RIP default learned for 192.168.57.0 and we are trying to install the PBR Policeis with the Next-hop 192.168.58.0 (other than the default one)
Step -1 First we are trying to install the PBR Policy “One” with Sequance Number “1” and binded it to an interface on both the FRRouters A and B
[image: image.png]
Step -2 And we observed that the Traffic is redirected to the Nexhop given in the policy. Which is working Fine.
Step -3 Now we are trying to update and re-install the PBR Policy “One” with Sequance Number “2” and bound it to the same interface on both the FRRouters A and B
[image: image.png] [image: image.png]
Step-4 We observed that the Traffic is NOT redirected to the Nexhop for Policy with Sequance Number “2”.
As per my understanding both the Policies Seq “1” and “2” are belongs to same Policy-Map and Binded to the Interface and Both should work as per the Policy Rules... But Rule with Sequance Number “1” is working as per the Policy Rule But Rule with Sequance Number “2” is not working.
Could you please guide me whether I’m missing any configuration steps that should be considered for getting the above stuff working.
And could you please let me know how to check the corresponding insalled iptable entry in the linux kernel for the configured FRR PBR policy.
Thanks and Regards,
Valli _______________________________________________ dev mailing list dev@lists.frrouting.org https://lists.frrouting.org/listinfo/dev