How to Redistribute the /32 IP Address assigned to an Interface into BGP

Overview

This document describes 2 approaches on how to redistribute a /32 IP address assigned to an interface into BGP.

Approach 1

Details

When binding a /32 route to an interface or assigning an IP address to a loop back, the PAN will categorize those routes with the Tag A H.

These are connected routes but PAN categorizes them as Host connected routes with the Tag A H.

A screenshot of a computer AI-generated content may be incorrect.

Steps

Perform the following steps to redistribute these /32 routes that appear in the Routing Table into BGP:

  1. Go to Network > Virtual Routers.

  2. Select the virtual router created for the device.

  3. Go to BGP > Redistribution Rules.

  4. For Name field, enter the IP address or IP subnet to be redistributed.

  5. Enable the rule by selecting the appropriate Origin.

  6. Click OK.

A screenshot of a computer AI-generated content may be incorrect.

In the screenshot, 10.10.10.10/32 will be redistributed.  Follow the same steps for Ehternet 1/12 (11.11.11.11/32) and loopback.1 (13.13.13.13/32).

  1. Commit the configuration.  The routes will be distributed into BGP.

Approach 2

Details

Palo Alto Networks treats a loopback interface as a Host route. Therefore, applying a regular interface redistribution doesn't work with Loopback. The steps below describe how to redistribute the /32 IP address into BGP using a loopback interface.

Steps

  1. Create a Loopback Interface:
    A screenshot of a computer AI-generated content may be incorrect.

  2. Create a Static Route for loopback, pointing to itself.
    A screenshot of a computer AI-generated content may be incorrect.

  3. Create a redistribution profile for static route.
    A screenshot of a computer AI-generated content may be incorrect.

  4. Redistribute it in BGP
    A screenshot of a computer AI-generated content may be incorrect.

  5. Routing output on BGP peer:
    A screen shot of a computer AI-generated content may be incorrect.