🔄 Palo Alto Networks: Dynamic IP and Tag Registration

1. Introduction

Modern network architectures often involve virtual machines (VMs) and applications that can be provisioned, modified, or decommissioned on demand. While this provides agility, it poses challenges for security administrators due to limited visibility into the IP addresses of dynamically provisioned VMs and the multitude of applications that can run on these resources.

Palo Alto Networks firewalls (both hardware-based and VM-Series) support the dynamic registration of IP addresses, IP sets (ranges and subnets), and tags. These can be registered directly on the firewall or via Panorama. Additionally, tags can be automatically removed from source and destination IP addresses based on firewall logs.

Note: PAN-OS supports only IPv4 subnets and ranges in dynamic address groups.

2. Methods for Dynamic Registration

The following methods can be used to enable dynamic registration:

3. Tag Timeout Configuration

To prevent stale tag associations, configure a timeout to automatically remove tags after a specified duration. For instance, setting the timeout to match the DHCP lease duration ensures that IP-to-tag mappings expire concurrently with IP address assignments, preventing unintended policy applications when IP addresses are reassigned.

4. Additional Resources