0 Replies Latest reply on Feb 20, 2018 5:18 PM by mcfobair

    How to set primary Interface on Windows Server 2012 + for Solarwinds Agent deployment...

    mcfobair

      As we deploy server with multiple NICs (Network Interface Cards) we run into an issue with Solarwinds agent not using the Interface Ipaddress we are expected.

      At one time Windows let us change this in the Network Control panel GUi, BUT, know Windows is force us to use Powershell to set the priority.

       

      Here are example Powershell commands for this...

       

      Step 1. Learn

      Get-NetIPInterface

      results:

      ifIndex InterfaceAlias                  AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp     ConnectionState PolicyStore

      ------- --------------                  ------------- ------------ --------------- ----     --------------- -----------

       

      4       blue                               IPv4                  1500              40  Disabled Disconnected    ActiveStore

      15      Lan                               IPv4                  1400              50  Disabled Disconnected    ActiveStore

      10      Wi-Fi                            IPv4                  1500             50 Enabled  Disconnected    ActiveStore

      1       Loopback 1                  IPv4            4294967295        50  Disabled Connected       ActiveStore

       

      Step 2. CHANGE

      Set-NetIPInterface -InterfaceIndex 10 -InterfaceMetric 20

       

      Step 3. Confirm

      Get-NetIPInterface

      results:

      ifIndex InterfaceAlias                  AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp     ConnectionState PolicyStore

      ------- --------------                  ------------- ------------ --------------- ----     --------------- -----------

       

      4       blue                               IPv4                  1500              40  Disabled Disconnected    ActiveStore

      15      Lan                               IPv4                  1400              50  Disabled Disconnected    ActiveStore

      10      Wi-Fi                            IPv4                  1500              20 Enabled  Disconnected    ActiveStore

      1       Loopback 1                  IPv4            4294967295        50  Disabled Connected       ActiveStore

       

       

      Thanks for the discussion.