Home > Storage > PowerMax and VMAX > Storage Admin > iSCSI Implementation Guide for Dell EMC Storage Arrays Running PowerMaxOS > Configure IP address and subnet information for VLAN NICs
In the get-netadapter output, identify the VLAN NICs and make a note of their interface indexes (ifIndex). Use the new-netipaddress command to set the IP address and subnet specifying the ifindex for each VLAN NIC. In the example, the subnet prefix of 24 (255.255.255.0) is used. Again, be sure that the network configuration information is consistent across the entire iSCSI infrastructure (PowerMax iSCSI IP interfaces, switch ports, host NICs).
PS C:\> New-NetIPAddress -InterfaceIndex 33 -IPAddress 192.168.82.108 -PrefixLength 24
IPAddress : 192.168.82.108
InterfaceIndex : 33
InterfaceAlias : SAN1 VLAN82
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Tentative
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore
IPAddress : 192.168.82.108
InterfaceIndex : 33
InterfaceAlias : SAN1 VLAN82
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Invalid
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : PersistentStore
PS C:\> New-NetIPAddress -InterfaceIndex 29 -IPAddress 192.168.83.108 -PrefixLength 24
IPAddress : 192.168.83.108
InterfaceIndex : 29
InterfaceAlias : SAN2 VLAN83
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Tentative
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore
IPAddress : 192.168.83.108
InterfaceIndex : 29
InterfaceAlias : SAN2 VLAN83
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Invalid
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : PersistentStore