Static default route setup for DHCP client WAN interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Static default route setup for DHCP client WAN interface

L1 Bithead

Hello All

 

I would be much appreciated if you can help with setting up my static default route which I believe is the culprit why I'm not able to route data traffic to internet.

 

eth1/1:  WAN interface, the interface is set as L3 untagged, configured DHCP-client for IPv4.  ISP assigns a new IP every 10-12 hours  and the bridge-mode cable modem is connected to the eth 1/1 port.  I'm not able to reach internet from 10.0.9.5 and I don't know what needs to be set from the "Next Hop" pull down menu.  Can't use IP address since my ISP assigns IP dynamically and changes every 10-12 hours.  Please see my settings below which should help you visualize better how my PA is setup as of now.

--thanks for your help in advance

 

static route setup.png

routing table and metric.png

Screenshot 2023-08-19 at 23.49.57.png

SNAT rule.png

 

DHCP client setup.png

 

 

 

 

 

 

2 REPLIES 2

Cyber Elite
Cyber Elite

Hi @palorox2023 ,

 

When you check the box "Automatically create default route pointing to default gateway provided by server", you do not have to manually create a default static route. The NGFW does so.  The route created from DHCP looks like the 2nd route in the routing table.  https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClQRCA0

 

Delete your static default route.  That looks like the 1st entry in the routing table.  It is not active and not needed.

 

Your routing and NAT look fine.  Do you see the traffic in the traffic logs allowed and forwarded to the proper interface?

 

Thanks,

 

Tom

Help the community: Like helpful comments and mark solutions.

thanks for your reply.  I deleted the static default route, but I still can't route data traffic to outside WAN via eth1/1.  I checked the traffic from the Monitor tab but I don't see traffic going out.  here is updated route table after deleting the static default route.  I am also attaching the interface setup.

 

 

 

updated.route.table.png

 

interfaces.png

  • 2704 Views
  • 2 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!