Condividi tramite


struttura CLUSTER_IP_ENTRY (clusapi.h)

Descrive un indirizzo IP per un cluster.

Sintassi

typedef struct _CLUSTER_IP_ENTRY {
  PCWSTR lpszIpAddress;
  DWORD  dwPrefixLength;
} CLUSTER_IP_ENTRY, *PCLUSTER_IP_ENTRY;

Members

lpszIpAddress

Stringa Unicode con terminazione NULL contenente un indirizzo di rete numerico IPv4 o IPv6 valido.

dwPrefixLength

Specifica il numero di bit nella subnet mask, ad esempio 24 per una maschera di rete IPv4 di 255.255.255.0.

Commenti

Per specificare un indirizzo DHCP, usare l'identificatore di rete (tutti i bit nella subnet impostata su 0) e la lunghezza del prefisso della subnet. Ad esempio, se il server DHCP effettua il mani out degli indirizzi nel blocco di indirizzi 192.168.1.0/24 (da 192.168.1.0 a 192.0. 168.1.255), specificare "192.168.1.0" per il membro lpszIpAddress e 24 per il membro dwPrefixLength .

Un puntatore a una matrice di strutture CLUSTER_IP_ENTRY viene passato nel membro pIpEntries della struttura CREATE_CLUSTER_CONFIG , che a sua volta viene passato come parametro pConfig della funzione CreateCluster .

Requisiti

Requisito Valore
Client minimo supportato Nessuno supportato
Server minimo supportato Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Intestazione clusapi.h

Vedi anche

CREATE_CLUSTER_CONFIG

CreateCluster

Strutture di utilità