- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-16-2020 01:42 AM
04-16-2020 02:29 AM
Hi @ukmercenary ,
Default gateway for what exactly ? (mgmt ? dataplane ?)
For your management interface it's part of the system IP-address configuration command. Here's an example :
admin@PA-200# set deviceconfig system ip-address 10.0.0.10 netmask 255.255.255.0 default-gateway 10.0.0.1 dns-setting servers primary 4.2.2.2
It's explained in this article:
Getting Started: Setting Up Your Firewall
For your dataplane interfaces you can check the following article:
Getting Started: Layer 3, NAT, and DHCP
Note that if you don't know a specific CLI command you can use the following command to find existing command options :
admin@PA-200# find command keyword default-gateway
This will return all the existing CLI commands containing 'default-gateway'
I hope this helps,
-Kiwi.
04-16-2020 09:28 AM - edited 04-16-2020 09:29 AM
From the GUI.
In the virtual router, just add a static route destination 0.0.0.0/0. Next hop. (Gateway address)
05-04-2022 06:33 AM
I utilized the full command "
set deviceconfig system ip-address 10.0.0.10 netmask 255.255.255.0 default-gateway 10.0.0.1 dns-setting servers primary 4.2.2.2"
on the command line with a console cable and it cut if off after the netmask 4 digits then placed the rest of the statement "default-gateway...... & dns ontop of that line. So I could only set the ip nothing else. Has any one experienced this? It is a PA 220. Is there a way around it so I can add the default gateway and dns by themselves?
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!