--- title: "sys.dm_hadr_cluster_networks (Transact-SQL) | Microsoft Docs" ms.custom: "" ms.date: "06/10/2016" ms.prod: sql ms.reviewer: "" ms.technology: system-objects ms.topic: "language-reference" f1_keywords: - "dm_hadr_cluster_networks" - "sys.dm_hadr_cluster_networks_TSQL" - "sys.dm_hadr_cluster_networks" - "dm_hadr_cluster_networks_TSQL" dev_langs: - "TSQL" helpviewer_keywords: - "Availability Groups [SQL Server], monitoring" - "Availability Groups [SQL Server], WSFC clusters" - "sys.dm_hadr_cluster_networks dynamic management view" ms.assetid: ece32b15-d63f-4f93-92b7-e2930333e97a author: MikeRayMSFT ms.author: mikeray --- # sys.dm_hadr_cluster_networks (Transact-SQL) [!INCLUDE[tsql-appliesto-ss2012-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2012-xxxx-xxxx-xxx-md.md)] Returns a row for every WSFC cluster member that is participating in an availability group's subnet configuration. You can use this dynamic management view to validate the network virtual IP that is configured for each availability replica. Primary key: **member_name** + **network_subnet_IP** + **network_subnet_prefix_length** > [!TIP] > Beginning in [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)], this dynamic management view supports Always On Failover Cluster Instances in addition to Always On Availability Groups. |Column name|Data type|Description| |-----------------|---------------|-----------------| |**member_name**|**nvarchar(128)**|A computer name of a node in the WSFC cluster.| |**network_subnet_ip**|**nvarchar(48)**|Network IP address of the subnet to which the computer belongs. This can be an IPv4 or IPv6 address.| |**network_subnet_ipv4_mask**|**nvarchar(45)**|Network subnet mask that specifies the subnet to which the IP address belongs. **network_subnet_ipv4_mask** to specify the DHCP options in a WITH DHCP clause of the [CREATE AVAILABILITY GROUP](../../t-sql/statements/create-availability-group-transact-sql.md) or [ALTER AVAILABILITY GROUP](../../t-sql/statements/alter-availability-group-transact-sql.md)[!INCLUDE[tsql](../../includes/tsql-md.md)] statement.

NULL = IPv6 subnet.| |||| |**network_subnet_prefix_length**|**int**|Network IP prefix length that specifies the subnet to which the computer belongs.| |**is_public**|**bit**|Whether the network is private or public on the WSFC cluster, one of:

0 = Private

1 = Public| |**is_ipv4**|**bit**|Type of the subnet, one of:

1 = IPv4

0 = IPv6| ## Security ### Permissions Requires VIEW SERVER STATE permission on the server. ## See Also [Failover Clustering and Always On Availability Groups (SQL Server)](../../database-engine/availability-groups/windows/failover-clustering-and-always-on-availability-groups-sql-server.md) [Monitor Availability Groups (Transact-SQL)](../../database-engine/availability-groups/windows/monitor-availability-groups-transact-sql.md) [sys.dm_os_cluster_nodes (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-os-cluster-nodes-transact-sql.md) [Querying the SQL Server System Catalog FAQ](../../relational-databases/system-catalog-views/querying-the-sql-server-system-catalog-faq.md) [Catalog Views (Transact-SQL)](../../relational-databases/system-catalog-views/catalog-views-transact-sql.md)