How to Redistribute the /32 IP Address assigned to an Interface into BGP
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.
These are connected routes but PAN categorizes them as Host connected routes with the Tag A H.
Steps
Perform the following steps to redistribute these /32 routes that appear in the Routing Table into BGP:
- Go to Network > Virtual Routers.
- Select the virtual router created for the device.
- Go to BGP > Redistribution Rules.
- For Name field, enter the IP address or IP subnet to be redistributed.
- Enable the rule by selecting the appropriate Origin.
- Click OK.
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).
- 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
- Create a Loopback Interface:
- Create a Static Route for loopback, pointing to itself.
- Create a redistribution profile for static route.
- Redistribute it in BGP
- Routing output on BGP peer:
owner: ppatel