Identify the network interface controllers to be used for the management or compute traffic and assign the IP address to the first port.
Log in to the host console of each system using iDRAC virtual console and assign host IPs and respective VLANs.
- Disable the DHCP on the management adapters.
Set-NetIPInterface -InterfaceAlias "Integrated NIC 1 Port 1-1","Integrated NIC 1 Port 2-1" -Dhcp Disabled
- Disable disconnected network interface controllers.
Get-NetAdapter | Where-Object {$_.status -eq "disconnected"} | Disable-NetAdapter
- Assign management IP address to the first port.
New-NetIPAddress -InterfaceAlias "Integrated NIC 1 Port 1-1" -IPAddress 192.168.11.11 -DefaultGateway 192.168.10.1 -PrefixLength 24 -AddressFamily IPv4 –Verbose
Note: If the management network has untagged vLAN configured in the switch, then this step is not required.
- Set a DNS IP address.
Set-DnsClientServerAddress -InterfaceAlias "Integrated NIC 1 Port 1-1" -ServerAddresses 192.168.11.50, 192.168.11.51