Palo Alto BGP Scenario Quiz with Explanations

Scenario 1: Your organization has two eBGP connections to the internet via ISP-A and ISP-B. You want all outbound internet traffic originating from your network to prefer the link to ISP-A, using ISP-B only as a backup.

1. What is the most standard and effective method on the Palo Alto firewall to achieve this outbound preference?

Scenario 2: Continuing Scenario 1, you now want to influence inbound traffic. You want external networks to prefer reaching your advertised prefixes via ISP-A, making ISP-B the less preferred entry point into your network.

2. What is a common technique used on the Palo Alto firewall to make the path through ISP-B less attractive for inbound traffic?

Scenario 3: You peer with Partner-X via eBGP. You need to advertise your internal network 10.50.0.0/16 to them, but you absolutely must ensure Partner-X does not advertise this prefix to any of their other eBGP peers.

3. How can you use BGP communities on the Palo Alto firewall to signal this requirement to Partner-X?

Scenario 4: Your firewall learns the route to network 172.16.100.0/24 from both ISP-A (AS 65001) and ISP-B (AS 65002). By default, the path via ISP-A is chosen. However, you want outbound traffic destined specifically for 172.16.100.0/24 to use the path through ISP-B instead.

4. How can you override the default path selection for only this specific destination prefix?

Scenario 5: You have two separate eBGP links to the *same* upstream provider, ISP-C. You want ISP-C to prefer sending traffic destined for your network 203.0.113.0/24 via Link-1, and use Link-2 as a backup for this specific prefix.

5. Which BGP attribute, set via an Export Rule on your Palo Alto firewall, is specifically designed to signal this preference to a single adjacent AS (ISP-C)?

Scenario 6: You want to advertise your primary public IP range (e.g., 198.51.100.0/24) to your internet peers (ISP-A and ISP-B), but ONLY if the firewall currently has an active default route (0.0.0.0/0) learned via BGP from either ISP.

6. Which Palo Alto BGP feature allows you to implement this logic?

Scenario 7: Your Palo Alto firewall is part of a large iBGP network using Route Reflectors. You are receiving a route for 10.100.0.0/16 from an iBGP peer (learned via eBGP originally). You need to ensure that traffic *originating from the firewall itself* (e.g., management traffic, VPN tunnel endpoints) uses a specific egress path via Router-Z for this destination, even if BGP selects a different path based on Local Preference or other attributes.

7. How would you typically force the firewall's locally originated traffic towards Router-Z for 10.100.0.0/16, overriding the BGP learned path?

Scenario 8: You peer with ISP-D and ISP-E. You want to influence inbound traffic such that any traffic originating from AS 64555 prefers the path via ISP-D, while traffic from all other ASes should have no specific preference enforced by you (let default BGP selection work).

8. How might you attempt to make the path via ISP-E less attractive specifically for traffic coming *from* AS 64555?

Note: Directly influencing a *specific source AS's* inbound path choice via a *transit ISP* can be tricky. Options 'c' and 'd' are practical ways to de-prefer the ISP-E link in general, indirectly affecting AS 64555.

Scenario 9: You are advertising the prefix 192.0.2.0/24 to ISP-A and ISP-B. You want to use the link to ISP-A primarily for outbound traffic towards destinations primarily learned via ISP-A (e.g., networks in AS 65100), and use ISP-B for outbound traffic towards destinations primarily learned via ISP-B (e.g., networks in AS 65200). You want to avoid forcing *all* traffic out via one ISP.

9. What configuration allows the Palo Alto firewall's BGP process to potentially select different best paths for different destinations, assuming comparable paths are learned from both ISPs?

Scenario 10: Your company has a primary internet link via ISP-X (Fiber) and a backup link via ISP-Y (LTE). The LTE link has limited bandwidth and high cost. You have configured BGP successfully on both. You observe that even when the Fiber link is up, some outbound traffic occasionally uses the LTE link.

10. What is the most likely reason BGP might choose the LTE link (ISP-Y) for some outbound traffic, and what is the best way to ensure it's strictly used only as a backup for outbound flows?