How to Configure IP address in Windows Server

Configuring the IP address on a Windows Server involves setting the server's network settings, including IP address, subnet mask, default gateway, and DNS servers. Here's a step-by-step guide to configuring the IP address on a Windows Server:

Note: You should have administrative access to the Windows Server to perform these steps.

Steps:

  • Type control panel in the search box, then click Control Panel.

  • After that, click View network status and tasks.

  • Choose Change adapter settings.

  • Next, select Ethernet click the mouse with the right button and go to properties.

  • Select Internet Protocol version 4(TCP/IPv4)

  • Afterward, choose Use the following IP Address.

The IP address can then be entered in the IP address text box along with the subnet and gateway
information, and then click OK.

 

Method 2: Using Command Prompt (CMD)

You can also configure the IP address using the Command Prompt:

  1. Open Command Prompt as Administrator:

    • Press the Windows key.
    • Type "cmd" into the search bar.
    • Right-click on "Command Prompt" from the search results.
    • Select "Run as administrator."
  2. Display Network Interfaces:

    • To view a list of network interfaces, type:
      ipconfig /all
  3. Change IP Address:

    • To change the IP address of an interface, use the following command as an example (replace the placeholders with your own values):

      netsh interface ipv4 set address "Local Area Connection" static 192.168.1.10 255.255.255.0 192.168.1.1
      • "Local Area Connection" should be replaced with the name of your network adapter.
      • 192.168.1.10 is the desired IP address.
      • 255.255.255.0 is the subnet mask.
      • 192.168.1.1 is the default gateway.
  4. Set DNS Servers (optional):

    • To configure DNS servers, use the following command (replace the placeholders with your DNS server addresses):

      netsh interface ipv4 set dns "Local Area Connection" static 8.8.8.8 primary netsh interface ipv4 add dns "Local Area Connection" 8.8.4.4 index=2
      • "Local Area Connection" should be replaced with the name of your network adapter.
      • 8.8.8.8 and 8.8.4.4 are Google's public DNS server addresses.
  5. Check Configuration:

    • To verify the changes, run ipconfig /all in the Command Prompt.
  6. Exit Command Prompt:

    • Close the Command Prompt window.

These steps should help you configure the IP address on a Windows Server using either the GUI or Command Prompt. Make sure to adapt the settings to your specific network requirements.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 509