Deploying a new enterprise firewall requires establishing basic layer 3 connectivity before applying threat inspection or traffic controls. Unlike traditional routers that apply access control lists directly to interfaces, Palo Alto Networks firewalls use a zone-based security architecture. Every interface that passes traffic must belong to a designated security zone. Understanding how to configure Palo Alto interfaces and zones is the fundamental step for any network deployment.
In this guide, you will learn how to configure network interfaces, assign them to virtual routers, and bind them to security zones using both the PAN-OS Web Interface (GUI) and the Command Line Interface (CLI). You will also learn how PAN-OS processes traffic between zones and how to verify your deployment.
Real-Life Scenario
Your organization is opening a new branch site. The deployment team installed a hardware firewall (host name: Branch-FW01) in the equipment rack. Your task is to bring up initial connectivity.
The site requires a dedicated WAN interface connected to an Internet Service Provider (ISP) and an internal gateway interface connected to the core LAN switch. Security policy enforcement cannot begin until these interfaces are functioning and mapped to logical security zones.
To complete this task, you must:
- Configure
ethernet1/1as an external Layer 3 interface bound to the ISP gateway. - Configure
ethernet1/2as an internal Layer 3 interface acting as the default gateway for the LAN. - Assign each interface to a Virtual Router for IP routing.
- Create and assign security zones (
Trust-ZoneandUntrust-Zone) to isolate internal assets from external networks.
Lab Topology
The following ASCII diagram shows the physical and logical layout of the branch firewall deployment:
+-------------------+
| ISP Router |
| 203.0.113.1/30 |
+---------+---------+
|
| (WAN Link)
|
+---------+---------+
| ethernet1/1 |
| 203.0.113.2/30 |
| Untrust-Zone |
+-------------------+
| Branch-FW01 |
| (Virtual Router) |
+-------------------+
| ethernet1/2 |
| 192.168.10.1/24 |
| Trust-Zone |
+---------+---------+
|
| (LAN Trunk/Access)
|
+---------+---------+
| Core Switch |
| 192.168.10.2/24 |
+-------------------+
Example Addressing and Objects
The table below details the lab parameter values used throughout this tutorial. Adapt these IP addresses, zone names, and interfaces to fit your enterprise network plan.
| Interface | Interface Type | IPv4 Address | Virtual Router | Security Zone | Description |
|---|---|---|---|---|---|
ethernet1/1 |
Layer 3 | 203.0.113.2/30 |
default |
Untrust-Zone |
External WAN connection to ISP |
ethernet1/2 |
Layer 3 | 192.168.10.1/24 |
default |
Trust-Zone |
Internal LAN default gateway |
Prerequisites
Before proceeding with interface and zone configuration, ensure you have satisfied the following prerequisites:
- Administrative access to the firewall via HTTPS or SSH using account credentials with
superuserprivileges. - Physical network links connected to
ethernet1/1andethernet1/2showing active link status LEDs. - A documented IPv4 allocation plan provided by your network administrator or ISP.
- Basic familiarity with PAN-OS navigation concepts.
Understanding Palo Alto Interfaces and Zones
PAN-OS separates physical network attachments from security policy construction. Physical interfaces route packets, but security policies evaluate source and destination zones.
Interface Types
PAN-OS supports several interface modes depending on how you plan to integrate the appliance into the topology:
- Layer 3: Performs routing, supports IP addressing, participates in routing protocols, and acts as a network gateway.
- Layer 2: Performs switching between interfaces without routing packets across subnets.
- Virtual Wire (V-Wire): Binds two physical interfaces transparently. It passes traffic without altering IP or MAC headers and requires no network re-architecture.
- Tap: Connects to a switch SPAN/mirror port to passively monitor network traffic without inline deployment.
Security Zones
A security zone is a logical grouping of interfaces that share similar security requirements. Interfaces belong to zones, and security rules apply between zones.
Key rules regarding security zones include:
- An interface can belong to only one security zone at a time.
- A security zone can contain multiple interfaces of the same interface type (for example, multiple Layer 3 interfaces).
- Traffic flowing between interfaces in the same zone (intrazone) is allowed by default.
- Traffic flowing between interfaces in different zones (interzone) is denied by default until an explicit Security Policy rule allows it.
Step-by-Step GUI Configuration
Follow these operational steps in the PAN-OS Web Interface to build the required security zones, configure the Layer 3 interfaces, and assign them to the default virtual router.
Step 1: Create the Security Zones
- Log in to the PAN-OS Web Interface.
- Navigate to Network > Zones.
- Click Add at the bottom of the window to create the untrusted zone.
- In the Zone Properties dialog, enter the following parameters:
- Name:
Untrust-Zone - Type: Select
Layer3from the drop-down menu.
- Name:
- Click OK.
- Click Add again to create the trusted zone.
- In the Zone Properties dialog, enter the following parameters:
- Name:
Trust-Zone - Type: Select
Layer3from the drop-down menu.
- Name:
- Click OK.
Step 2: Configure the WAN Interface (ethernet1/1)
- Navigate to Network > Interfaces > Ethernet.
- Click the entry for ethernet1/1.
- On the Config tab, set the Interface Type to
Layer3using the drop-down menu. - In the Config section, set the following fields:
- Virtual Router: Select
default. - Security Zone: Select
Untrust-Zone.
- Virtual Router: Select
- Select the IPv4 tab.
- Click Add inside the IPv4 section and enter
203.0.113.2/30. - Click OK to save the interface configuration.
Step 3: Configure the LAN Interface (ethernet1/2)
- On the Network > Interfaces > Ethernet tab, click ethernet1/2.
- Change the Interface Type drop-down menu to
Layer3. - In the Config tab, set the following fields:
- Virtual Router: Select
default. - Security Zone: Select
Trust-Zone.
- Virtual Router: Select
- Select the IPv4 tab.
- Click Add inside the IPv4 section and enter
192.168.10.1/24. - Click OK to save the interface configuration.
Step 4: Commit the Configuration
PAN-OS maintains a candidate configuration separated from the active running configuration. Changes made in the GUI remain staging entries until committed.
- Click the Commit link in the top-right corner of the administrative console.
- In the Commit window, review the summary of changes and click Commit.
- Wait for the commit process to complete to 100% success status before proceeding to verification.
CLI Configuration
Engineers often deploy configurations across multiple branch devices using the command line interface. The following structured sequence configures the exact same zones, interface parameters, and virtual router associations.
Establish an SSH session to the management address of Branch-FW01 and log in with your administrative credentials.
Configuration Commands
# Enter configuration mode configure # Create Layer 3 Security Zones set zone Untrust-Zone network layer3 ethernet1/1 set zone Trust-Zone network layer3 ethernet1/2 # Configure Layer 3 parameters for ethernet1/1 (WAN) set network interface ethernet ethernet1/1 layer3 ip 203.0.113.2/30 # Configure Layer 3 parameters for ethernet1/2 (LAN) set network interface ethernet ethernet1/2 layer3 ip 192.168.10.1/24 # Bind interfaces to the default Virtual Router set network virtual-router default interface [ ethernet1/1 ethernet1/2 ] # Commit candidate changes to the running configuration commit
Caution: Applying network settings via CLI directly modifies the candidate configuration. Ensure no other administrator is currently editing the firewall stage before running a commit command, as all staged changes will be activated globally.
How the Traffic Flows
Understanding packet processing within PAN-OS clarifies why interfaces, virtual routers, and zones are tightly linked during evaluation.
When an IP packet arrives at a Layer 3 firewall interface, the single-pass processing engine follows a strict sequence:
- Ingress Interface & Zone Mapping: The firewall receives the frame on a physical interface (such as
ethernet1/2) and determines its associated ingress zone (Trust-Zone). - Virtual Router Lookup: The firewall identifies which Virtual Router owns the ingress interface. It queries the active routing table inside that Virtual Router to find a matching route for the packet’s destination IP address (e.g.,
8.8.8.8). - Egress Interface & Zone Determination: The route lookup identifies the outbound next-hop and the associated egress interface (such as
ethernet1/1). PAN-OS then resolves the target interface to its configured security zone (Untrust-Zone). - Security Policy Evaluation: PAN-OS evaluates configured Security Rules sequentially from top to bottom. It searches for a matching rule that explicitly permits traffic originating from
Trust-Zoneand terminating atUntrust-Zone. - Session Creation: If a matching rule with an
allowaction exists, PAN-OS creates a entry in its stateful session table. Subsequent packets matching this session flow through accelerating hardware channels without evaluating security rules again.
If the route lookup fails, or if no security policy permits traffic between Trust-Zone and Untrust-Zone, the firewall drops the packet at step 3 or 4.
Verification
After committing your configuration changes, verify interface status, routing entries, and zone binding using operational CLI commands.
1. Check Hardware Interface Status
Run the operational command below to verify link states, operational speeds, and assigned IP addresses:
show interface ethernet1/1 show interface ethernet1/2
Confirm that the output reports State: up and Link status: up for both interfaces.
2. Confirm Security Zone Configuration
Display all configured security zones and their assigned member interfaces:
show zone
Verify that ethernet1/1 appears in the member list for Untrust-Zone and ethernet1/2 appears under Trust-Zone.
3. Inspect the Routing Table
Verify that direct connected routes exist within the virtual router’s routing table:
show routing route
Look for active connected flags (C) pointing to 203.0.113.0/30 via ethernet1/1 and 192.168.10.0/24 via ethernet1/2.
4. Test Layer 3 Reachability
Perform an ICMP ping test sourced from the internal interface toward the ISP gateway IP address:
ping source 192.168.10.1 host 203.0.113.1
Successful ICMP replies confirm that the interface is operational and capable of processing Layer 3 traffic across the Virtual Router.
Troubleshooting
When physical interfaces or security zones fail to operate as expected, use this structured workflow to isolate the problem.
Issue 1: Interface Link Status Reports Down/Down
- Symptom: The GUI shows a red status indicator next to
ethernet1/1orethernet1/2. - Likely Cause: Physical layer disconnect, incorrect speed/duplex autonegotiation, or disabled interface state.
- Fix: Verify physical patch cables. Ensure the administrative interface state is set to
enable. Explicitly set speed and duplex settings on both the firewall and connecting switch if autonegotiation fails.
Issue 2: Traffic Fails to Traversal Between Interfaces
- Symptom: Connected clients on the LAN cannot ping or reach hosts on the WAN, even though interface links are up.
- Likely Cause: Missing security policy rules between zones, missing Virtual Router default route, or absent NAT policy.
- Fix: Check the traffic logs under Monitor > Logs > Traffic. Search for log entries showing a destination zone of
Untrust-Zonedropped by the default implicit deny rule (interzone-default). Create an explicit security rule allowing traffic fromTrust-ZonetoUntrust-Zone.
Issue 3: Configuration Changes Are Not Taking Effect
- Symptom: Interface IP addresses or zone assignments do not appear active during operational tests.
- Likely Cause: Candidate configuration changes were saved but not committed to the running system.
- Fix: Check the top right corner of the Web Interface. If the Commit button shows uncommitted changes exist, click Commit to compile and load the candidate active configuration into memory.
Common Mistakes
Avoid these standard configuration traps when setting up Palo Alto interfaces and zones:
- Omitting Virtual Router Binding: Assigning an IP address and zone to a Layer 3 interface without placing it inside a Virtual Router prevents route processing. The firewall will drop ingress traffic because it cannot locate an outbound forwarding table.
- Zone Type Mismatch: Attempting to assign a Layer 3 interface to a zone defined with a
Layer2orVirtual Wiretype. Ensure the zone type strictly matches the interface configuration mode. - Assuming Interzone Reachability: Expecting traffic to pass between newly created zones immediately. By design, PAN-OS enforces an implicit deny policy on all interzone traffic until you construct matching permissive security policy rules.
- Confusing Pre-NAT and Post-NAT Zone Assignments in Rules: Security rules in PAN-OS always evaluate the original source and destination zones (Pre-NAT zones) even when Network Address Translation is performed on the egress boundary.
Production Considerations
Before placing interfaces and security zones into an enterprise production environment, review the operational best practices below.
Interface Management Profiles
By default, PAN-OS Layer 3 data interfaces suppress administrative management access (such as ping, SSH, or HTTPS). If you must allow network diagnostic pings on internal gateway interfaces:
- Navigate to Network > Network Profiles > Interface Mgmt.
- Create a profile (e.g.,
Allow-Ping) and check the Ping service box. - Assign this Management Profile to the internal interface (
ethernet1/2) under its Advanced configuration tab.
Caution: Never assign an Interface Management Profile that allows SSH, HTTPS, or SNMP access to an untrusted internet-facing interface.
Interface MTU Adjustments
Standard Ethernet MTU defaults to 1500 bytes. If your WAN service provider requires PPPoE headers, IPSec overhead, or custom transport encapsulation, adjust the interface MTU settings under Network > Interfaces > Ethernet > Advanced to prevent fragment drops.
Consistent Naming Standards
Define clear zone naming policies before deploying multiple firewall appliances across an enterprise network. Use clear functional descriptors (e.g., L3-Trust, L3-Untrust, DMZ-Zone) and stick to consistent capitalization, as zone names are case-sensitive in PAN-OS configuration files.
Summary
Configuring Palo Alto interfaces and zones forms the backbone of a secure PAN-OS infrastructure. Layer 3 interfaces enable standard IP routing and establish connection pathways for internal networks and WAN connections. Security zones build logical policy boundaries around these physical assets, ensuring that no traffic moves between segments without passing through inspectable policy enforcement points.
With your WAN and LAN interfaces defined, virtual routers bound, and security zones created, you have established the foundation required to configure NAT rules, Security Policies, and advanced threat inspection services.