ExpressRoute - Where does the effective route virtual network gateway next hop IP address come from and can it be changed?

Davies, Gavin 21 Reputation points
2022-09-23T14:49:57.65+00:00

I have ExpressRoute private peering set up and all works fine, routes are advertised via BGP into azure and these can be seen in the routing table of the peering with entries from the relevant BGP peer as expected.

If I select a network interface and display effective routes, those routes advertised from ExpressRoute are shown as next hop type Virtual network gateway, with a next hop IP address. My question is, where does this address come from, is it generated by azure as some sort of gateway translation address, and do I have to avoid using it? Mine happen to be a private address 10.20.x.x, other peoples examples I've seen were not, I find it strange that a random private address I may be using within Azure vnets could be used.

Am I missing something? Any insight appreciated.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,544 questions
Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
388 questions
0 comments No comments
{count} votes

Accepted answer
  1. msrini-MSFT 9,286 Reputation points Microsoft Employee
    2022-09-24T05:45:26.597+00:00

    Hi,

    Return traffic from Azure VNet to your On-Premises will not flow via ER gateway. It directly hits the MSEE ( Microsoft Edge) and the ip which you see in the effective route is the MSEE's Provider Address.

    It's the default behaviour and you don't need to worry about this IP address.

    Regards,
    Karthik Srinivas

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vignesh D 0 Reputation points
    2024-12-04T19:08:00.06+00:00

    Hello Karthik,

    Can we check those IPs on Azure portal?

    0 comments No comments

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.