How a Palo Alto firewall decides where to send traffic — from your first static route to the default gateway.
Routing is how a network device decides which interface to send a packet out of so it reaches its destination. Every packet has a destination IP — routing finds the path.
A list of known networks and "how to get there." The firewall checks this table for every packet, picking the most specific (longest) matching route.
Routes you manually enter. You tell the firewall: "to reach network X, send packets to next-hop Y." Simple and predictable — great for small networks.
The catch-all route (0.0.0.0/0). If no other route matches, use this one. Usually points to your ISP — this is your path to the internet.
The IP address of the next device that should receive this packet. The firewall doesn't need to know the full path — just the next step.
Below is a typical routing table for a small branch firewall. The firewall checks entries from most specific (longest prefix) to least specific (shortest prefix). The highlighted row is the default route — the last resort for all unknown destinations.
| Destination Network | Next Hop | Interface | Type | What it's for |
|---|---|---|---|---|
| 192.168.1.0/24 | — (directly connected) | ethernet1/1 (Trust) | Connected | The internal LAN — devices on your desk |
| 10.10.10.0/30 | — (directly connected) | ethernet1/2 (Untrust) | Connected | The link between firewall and ISP router |
| 10.20.0.0/16 | 192.168.1.254 | ethernet1/1 (Trust) | Static | Remote office network via internal router |
| 0.0.0.0/0 | 10.10.10.1 | ethernet1/2 (Untrust) | Default | Everything else → ISP router → Internet |
Follow a packet from a user's PC all the way to the internet. Click Next → to step through each stage.