Route selection algorithm

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Palo Alto Networks Approved
Palo Alto Networks Approved
Community Expert Verified
Community Expert Verified

Route selection algorithm

L0 Member

Hi everyone!

 

I have a question about PA virtual router logic. For example, I have two static routes

 

0.0.0.0/0 AD 10 metric 10 next hop 1.1.1.1

0.0.0.0/0 AD 10 metric 10 next hop 2.2.2.2

 

ECMP disabled. All dynamic routing protocols are disabled.

 

Which of these two routes will be chosen and why? Does anybody know how the firewall selects the route and which parameters it uses for route selection?

1 accepted solution

Accepted Solutions

L6 Presenter

Hi @Ilya_Kuranov ,

 

Normally when the PA have multiple routes for the same destination, then firewall gives preference to the route which have lowest AD. Unless you have ECMP enabled on PA you can't add multiple routes for the same destination with same AD value. Now if you are seeing multiple route towards same destination with same AD then ECMP is enabled on the Virtual Router.

 

Hope it helps!

M

Check out my YouTube channel - https://www.youtube.com/@NetworkTalks

View solution in original post

3 REPLIES 3

L6 Presenter

Hi @Ilya_Kuranov ,

 

Normally when the PA have multiple routes for the same destination, then firewall gives preference to the route which have lowest AD. Unless you have ECMP enabled on PA you can't add multiple routes for the same destination with same AD value. Now if you are seeing multiple route towards same destination with same AD then ECMP is enabled on the Virtual Router.

 

Hope it helps!

M

Check out my YouTube channel - https://www.youtube.com/@NetworkTalks

L6 Presenter

You're right. There is no way to create two identical static routes with the same AD with ECMP option disabled. The commit will fail.

 

Thank you!

  • 1 accepted solution
  • 4438 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!