Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
The BGP Configuration for Azure VPN Gateway is managed by Azure itself.
- See : Gateway settings
- Users can only add Custom APIPA BGP IP Address if that is a requirement
For BGP Configuration of the OnPrem device, generally, the IP should come from the OnPrem network.
See :
Link Border Gateway Protocol:> Configuring BGP on a virtual WAN link is equivalent to configuring BGP on an Azure virtual network gateway VPN. Your on-premises BGP peer address must not be the same as the public IP address of your VPN to device or the VNet address space of the VPN site. Use a different IP address on the VPN device for your BGP peer IP. It can be an address assigned to the loopback interface on the device. Specify this address in the corresponding VPN site representing the location.> For BGP prerequisites, see About BGP with Azure VPN Gateway. You can always edit a VPN link connection to update its BGP parameters (Peering IP on the link and the AS #).
You confirmed you were able to resolve the issue yourself.
Kindly let us know if you need further assistance on this issue.
Thanks, Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.