Skip to main content

Set static IP on Windows Server

Step 1: Check the current state

After editing the NIC, the NIC IP is 132.0.0.182.

NIC information for a Windows 2012 VM on FPT Cloud Portal

  1. Open Console and sign in to the instance.
  2. Open PowerShell or Command Prompt, type ipconfig, and press Enter to view the current IP address.

Output of ipconfig command in PowerShell on the Windows VM

Step 2: Open Network Connections

Press Win + R, type ncpa.cpl, and press Enter.

Run dialog with ncpa.cpl command to open Network Connections

Step 3: Open the network adapter properties

Right-click the network adapter you want to change and select Properties.

Network adapter list with right-click context menu showing Properties option

Step 4: Update the IP settings

Select Internet Protocol Version 4 (TCP/IPv4)Properties. Enter the new IP address, subnet mask, default gateway, and DNS server. Click OK to save.

IPv4 configuration form with new static IP settings

Step 5: Verify and test connectivity

Open PowerShell or Command Prompt again to verify the new IP configuration and ping a network address to confirm connectivity.

Verification of new IP settings and ping test in PowerShell