Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to know the limits regarding no. of routes advertised and learned between a VNet Peering.
I am afraid I did not understand the part, "each of them generates a /32 route to Hub".
- I am not aware of this observation.
- What actually happens when you create a Private Endpoint in any virtual network is that the default route table of the subnet in which it is created, includes a
/32
route with a next hop type ofInterfaceEndpoint
, not Hub- And this is done so that the PE's NIC resource can communicate to the PaaS resource (this is all abstracted)
- And as for limits for the number of routes learned between Vnets in a Peering, there are no limits
- The entire address range of the Spoke VNet will be learned by the Hub VNet should they be connected by VNet Peering.
Kindly let us know if this helps or 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.