Configuring Additional IP Addresses or Subnetwork Interfaces on Windows Server

Configuring Additional IP Addresses or Subnetwork Interfaces on Windows Server

To add a subnetwork interface or an additional IP address on a Windows Server, you can use the following steps:

Method 1: Using GUI (Graphical User Interface)

  1. Open Network Connections:
    • Press Win + X and select “Network Connections” from the Power User menu.
  2. Access Adapter Properties:
    • Right-click on the network adapter for which you want to add the additional IP address and select “Properties.”
  3. Add Additional IP Address:
    • In the “Networking” tab, scroll down and find “Internet Protocol Version 4 (TCP/IPv4)” or “Internet Protocol Version 6 (TCP/IPv6)” depending on your network configuration.
    • Click on it to highlight, then click the “Properties” button.
  4. Configure IP Settings:
    • In the properties window, click the “Advanced” button.
    • In the “Advanced TCP/IP Settings” window, go to the “IP Settings” tab.
    • Click the “Add” button under the “IP addresses” section.
    • Enter the additional IP address and subnet mask.
    • Click “Add,” then “OK” to close the windows.
  5. Verify Configuration:
    • Close the network adapter properties window and verify the changes by running ipconfig in the Command Prompt.

Method 2: Using PowerShell

  1. Open PowerShell:
    • Right-click on the Start menu and select “Windows PowerShell” or “Windows PowerShell (Admin)” to open PowerShell with administrative privileges.
  2. Use PowerShell Commands:
    • To add an additional IP address to an interface, you can use the following command:
      New-NetIPAddress -InterfaceAlias "YourNetworkAdapter" -IPAddress "NewIPAddress" -PrefixLength "SubnetPrefixLength" -Type Unicast

      Replace “YourNetworkAdapter,” “NewIPAddress,” and “SubnetPrefixLength” with your specific values.

  3. Verify Configuration:
    • After running the command, use Get-NetIPAddress to verify that the new IP address has been added.

Method 3: Using netsh Command

  1. Open Command Prompt:
    • Open the Command Prompt with administrative privileges.
  2. Use netsh Command:
    • To add an additional IP address to an interface, you can use the following command:
      netsh interface ipv4 add address "YourNetworkAdapter" address="NewIPAddress" mask="SubnetMask" gateway="GatewayIP"

      Replace “YourNetworkAdapter,” “NewIPAddress,” “SubnetMask,” and “GatewayIP” with your specific values.

  3. Verify Configuration:
    • After running the command, use ipconfig to verify that the new IP address has been added.

Choose the method that suits your preference and environment, and ensure that you have the necessary administrative privileges to make these changes.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.