0

I want to allow the complete range of IPv6 on an Azure SQL-server. The code in Azure Cli I use is: az sql server ipv6-firewall-rule create --name --resource-group --server --start-ipv6-address 0000:0000:0000:0000:0000:0000:0000:0000 --end-ipv6-address ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff

I get the error "(IPv6EndpointDisabled) The IPv6 endpoint is not allowed because it is disabled".

so question is: what is the allowed range for IPV6 on sql-server?

Ukkie
  • 11

1 Answers1

0

I tried to replicate the issue in my environment with below command:

az sql server ipv6-firewall-rule create --name <name> --resource-group <resourcegroupName>  --server <serverName> --start-ipv6-address 0000:0000:0000:0000:0000:0000:0000:0000 --end-ipv6-address ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff

Firewall rule created without any error:

enter image description here

To list the firewall rules, I executed below command.

az sql server ipv6-firewall-rule list -g <resourcegroupName> -s <serverName> 

enter image description here

what is the allowed range for IPV6 on sql-server?

As per this IPV6 is not supported by Azure sql server.

enter image description here

As per this It only supports for sql server.

enter image description here

You should use IPV4 firewall rule to connect Azure sql server. You can refer this for more information.

Bhavani
  • 1,725
  • 1
  • 3
  • 6