bgp local address apipa

ares 206 Reputation points
2022-08-01T22:20:53.187+00:00

Hi
I have a vpn S2S, up and working the only thing not working is bgp, it remains on connecting.
I use apipa addresses, so I have configured it on the azure side , but when looking on bgp peers it seems it use the vpn gateway subnet ip on azure side, and apipa on prem.
How can I force apipa on azure side?

226839-apipa.png

Thanks

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,786 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. msrini-MSFT 9,291 Reputation points Microsoft Employee
    2022-08-02T04:27:08.567+00:00

    Hi,

    Your scenario is documented here: https://learn.microsoft.com/en-us/azure/vpn-gateway/bgp-howto

    By default, Azure assigns a private IP address from the GatewaySubnet prefix range automatically as the Azure BGP IP address on the Azure VPN gateway. The custom Azure APIPA BGP address is needed when your on premises VPN devices use an APIPA address (169.254.0.1 to 169.254.255.254) as the BGP IP. Azure VPN Gateway will choose the custom APIPA address if the corresponding local network gateway resource (on-premises network) has an APIPA address as the BGP peer IP. If the local network gateway uses a regular IP address (not APIPA), Azure VPN Gateway will revert to the private IP address from the GatewaySubnet range.

    The APIPA BGP addresses must not overlap between the on-premises VPN devices and all connected Azure VPN gateways.

    When APIPA addresses are used on Azure VPN gateways, the gateways do not initiate BGP peering sessions with APIPA source IP addresses. The on-premises VPN device must initiate BGP peering connections.

    Regards,
    Karthik Srinivas


  2. Shaileshkumar Beldar 1 Reputation point
    2022-08-04T21:13:53.867+00:00

    I am facing the same issue. Any comment on will be much appreciated.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.