Packet drops due to multiple default routes in routing table

Packet drops due to multiple default routes in routing table

1913
Created On 05/02/22 17:30 PM - Last Modified 07/18/25 01:17 AM


Symptom


  • Traffic not passing through correct path due to multiple default route installed in forwarding table.
  • Load balancing not working as expected.
  • Multiple static route in routing table.


Environment


  • Palo Alto Firewalls
  • Supported PAN-OS
  • Multiple interfaces configured as DHCP Client


Cause


  • "Automatically create default route pointing to default gateway provided by server" option is enabled on interfaces configured as DHCP Client
  • When multiple interfaces are configured as DHCP Client, number of default routes are created with the same metric.
  • This causes traffic to randomly choose different paths causing traffic drops.


Resolution


Option1:

  1. Disable the option "Automatically create default route pointing to default gateway provided by server" on the DHCP interfaces.
  2. Configure the correct static route manually.
  3. Commit the configuration.

Option2:

  1. If only one interface is preferred to be used as default route, set the default route metric lower on the applicable interface.
  2. The lower metric route is installed and used for forwarding traffic.
  3. Commit the configuration.

Configuration Reference: Configure an Interface as a DHCP Client



Additional Information


Create a Default Route to the SD-WAN Interface

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000oNonCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail