Connection to Azure Storage account
Hi folks,
I have a machine that has a route table associated with it which transfers 0.0.0.0/0 to our NVA. I enabled Service Endpoint of Azure Storage in the subnet of the VM and as expected a route to the 'VirtualNetworkServiceEndpoint' got created for all the relevant IPs of Storage service.
The Storage Account doesn't have any PE associated with it, now if traffic is leaving to the Azure Storage, at the route table it should be getting two routes; i.e.
- SDR: StorageServicetagIPRanges --> 'VirtualNetworkServiceEndpoint'
- UDR: 0.0.0.0/0 --> 10.X.X.X
As per the routing preferences mentioned here, Azure picks up the longest prefix to route the traffic to, which means my UDR (which directs all traffic to NVA) 0.0.0.0/0 should be ignored and SDR (which is specific to the service IP ranges) should be picked, and the traffic should go to Storage Account directly (OfCourse via Service Endpoints) rather than my NVA.
But, this is not happening, when I am doing a tracert, it is hitting my NVA. When I do a TNC it hits my NVA and it goes through that.
Could anyone please help me clarify this.
Azure routing preference snip:
tracert/ tnc results:
Effective routes on the VM's subnet(as per my current understanding Green routes should be preferred to Red ones on the basis of longest prefix):
Thanks in advance!
Cheers!