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

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

58352
Created On 09/25/18 17:59 PM - Last Modified 06/14/23 06:14 AM


Resolution


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.

ss1.png

ss2.png

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

ss3.png

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.

    ss4.png

    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).

  7. 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:
    Loopback.png
  2. Create a Static Route for loopback, pointing to itself.
    Loopback_static.png
  3. Create a redistribution profile for static route.
    Redistribution_Profile.png
  4. Redistribute it in BGP
    BGP_Redistribution.png
  5. Routing output on BGP peer:
    Routing_Output.png

owner: ppatel



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClMGCA0&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language