Create a Static Route
Create a static route for a logical router on an Advanced
Routing Engine.
Create a static route for a logical router
on an Advanced Routing Engine.
- Create a static route.
- Selectand select the logical router.NetworkRoutingLogical Routers
- SelectStaticandAddanIPv4orIPv6static route byName(maximum of 63 characters). The name must start with an alphanumeric character, underscore (_), or hyphen (-), and can contain a combination of alphanumeric characters, underscore, or hyphen. No dot (.) or space is allowed.
- ForDestination, enter the route and netmask (for example, 192.168.2.0/24 for an IPv4 address or 2001:db8:123:1::0/64 for an IPv6 address). If you’re creating a default route, enter the default route (0.0.0.0/0 for an IPv4 address or ::/0 for an IPv6 address). Alternatively, you can select or create an address object of type IP Netmask.
- ForInterface, specify the outgoing interface for packets to use to go to the next hop. Specifying an interface provides stricter control over which interface the firewall uses rather than using the interface in the route table for the next hop of this static route.
- ForNext Hop, select one of the following:
- IP AddressorIPv6 Address—Enter the IP address (for example, 192.168.56.1 or 2001:db8:49e:1::1) when you want to route to a specific next hop. You mustEnable IPv6 on the interface(when you Configure Layer 3 Interfaces) to use an IPv6 next hop address. If you’re creating a default route, forNext Hopyou must selectIP Addressand enter the IP address for your internet gateway (for example, 192.168.56.1 or 2001:db8:49e:1::1). Alternatively, you can create an address object of type IP Netmask. The address object must have a netmask of /32 for IPv4 or /128 for IPv6.
- Next LR—Select to make the next logical router (in the list of logical routers) the next hop.
- FQDN—Enter a Fully Qualified Domain Name.
- Discard—Select to drop packets that are addressed to this destination.
- None—Select if there is no next hop for the route. For example, a point-to-point connection does not require a next hop because there is only one way for packets to go.
- Enter theAdmin Distfor the static route (range is 10 to 240; default is 10). This value overrides theStaticorStatic IPv6administrative distance specified for the logical router.
- Enter aMetricfor the static route (range is 1 to 65,535; default is 10).
- (Optional) If you want to use BFD, select aBFD Profileyou created, or select thedefaultprofile, or create a BFD profile to apply to the static route; default isNone (Disable BFD).
- (Optional) Configure path monitoring for the static route; you can monitor up to 128 static routes.
- SelectPath Monitoringto allow configuration of path monitoring (default is disabled).
- Enablepath monitoring (default is disabled).
- Failure Conditiondetermines whether path monitoring for the static route is based on one (any) or all monitored destinations. Select whetherAnyorAllof the monitored destinations for the static route must be unreachable by ICMP for the firewall to remove the static route from the RIB and FIB and add the static route that has the next lowest metric (going to the same destination) to the FiB.SelectAllto avoid the possibility of any single monitored destination signaling a route failure when the destination is simply offline for maintenance, for example.
- (Optional) Specify thePreemptive Hold Time (min), the number of minutes a downed path monitor must remain in Up state before the firewall reinstalls the static route into the RIB; range is 0 to 1,440; default is 2. A setting of 0 (zero) causes the firewall to reinstall the route into the RIB immediately upon the path monitor coming up.The path monitor evaluates all of its monitored destinations for the static route and comes up based on theAnyorAllfailure condition. If a link goes down or flaps during the hold time, when the link comes back up, the path monitor resumes and the Preemptive Hold Time is reset, causing the timer to restart from zero.
- Adda path monitoring destination byName.
- Enablethe path monitoring destination.
- ForSource IP, select the IP address that the firewall uses in the ICMP ping to the monitored destination:
- If an interface has multiple IP addresses, select one.
- If you select an interface, the firewall uses the first IP address assigned to the interface by default.
- If you selectDHCP (Use DHCP Client address), the firewall uses the address that DHCP assigned to the interface. To see the DHCP address, selectand in the row for the Ethernet interface, click onNetworkInterfacesEthernetDynamic DHCP Client. The IP Address displays in the Dynamic IP Interface Status window.
- ForDestination IP, enter an IP address or address object to which the firewall will monitor the path. The monitored destination and static route destination must use the same address family (IPv4 or IPv6).The destination IP address should belong to a reliable endpoint; you shouldn’t base path monitoring on a device that itself is unstable or unreliable.
- (Optional) Specify the ICMPPing Interval (sec)in seconds to determine how frequently the firewall monitors the path (range is 1 to 60; default is 3).
- (Optional) Specify the ICMPPing Countof packets that don’t return from the destination before the firewall considers the static route down and removes it from the RIB and FIB (range is 3 to 10; default is 5).
- ClickOKto save the path monitor destination.
- ClickOKtwice to save the static route.
- (Optional) Control the static routes that are placed in the global RIB.You might configure static routes and redistribute them, but not want them in the protocol’s local route table or global RIB. You might want to add only specific static routes to the global RIB.
- Selectand select a logical router.NetworkRoutingLogical Routers
- SelectRIB Filterto allow routes into or prevent routes from being added to the global RIB.
- To filter IPv4 static routes and connected routes, forStatic Route-Map, select a Redistribution Route Map or create a new one.
- To filter IPv6 static routes and connected routes, forStatic Route-Map, select a Redistribution Route Map or create a new one.
- ClickOK.
- (Optional) Change the default administrative distances for static IPv4 and static IPv6 routes within a logical router.
- Committhe changes.
- Access the CLI to view the static route path monitor:show advanced-routing static-route-path-monitor. The PAN-OS CLI Quick Start lists additional commands in the CLI Cheat Sheet: Networking.
Most Popular
Recommended For You
Recommended Videos
Recommended videos not found.