SonicWall NAT to SQLMI

Charlie Brown 396 Reputation points
2021-04-30T22:47:15.16+00:00

We are planning on connecting a Colo environment that has a requirement to have a dedicate IP to be used for its connectivity.

We have a site to site vpn established from Colo to SonicWall VPN Appliance

The colo internal IP 10.103.55.135 will be natted to <-NAT-> 10.93.172.4 <-NAT-> and once its hits our SonicWall appliance in Azure this NAT will need to be converted to our Azure network where SQLMI is running 10.20.7.0\24 SQLMI (DEVELOPMENT)

Most of the time you would NAT a single IP but since this is SQLMI that ip could change therefore need to reference by DNS name for the SQLMI instance.

Question - If I NAT 10.93.172.4 to the SQLMI Subnet 10.20.7.0\24 and if the Colo tries to resolve the SQLMI over that natted 10.93.172.4 - will it be able to resolve?

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,762 questions
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,291 Reputation points Microsoft Employee
    2021-05-05T12:09:27.087+00:00

    Hi CharlieBrown-6402,

    The SQL MI FQDN is mapped to the frontend IP of the Load Balancer and when you do a DNS query you will always get the same Frontend IP address. In your case, if the SQL MI FQDN points to the LB's IP of 10.93.172.4, the when you perform DNS query to the SQL MI's FQDN you will always get the same IP.

    Let me know if you have any questions post testing.


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.