Assigning a Static IP to a PC
Open Network & Internet Settings: Click the Start button and select the "Settings" gear icon. In the Settings window, click "Network & Internet."
Choose Connection Type: In the sidebar, select either "Ethernet" or "Wi-Fi," depending on your connection type.
Select Your Network: Under "Ethernet" or "Wi-Fi," click on the network you're connected to.
Edit Network Settings:
Click "Manage" under the network.
Scroll down to "IP settings" and click "Edit."
Switch to Manual IP: Change "IP assignment" from "Automatic (DHCP)" to "Manual."
Enter IP Details:
IP Address: Choose an IP within your network's range that doesn't conflict with other devices.
Subnet Prefix Length: Enter "24" (common for most home networks; corresponds to a subnet mask of 255.255.255.0).
Default Gateway: Enter the router's IP address.
Preferred DNS Server: Enter your preferred DNS server's IP (e.g., Google's 8.8.8.8).
Alternate DNS Server: Optionally, add a backup DNS server.
Save and Restart:
Click "Save" to apply changes.
Restart your PC to ensure the changes take effect.
Tips
Avoid Conflicts: Make sure the static IP doesn't clash with other devices.
Consult Documentation: If unsure about network settings, check with your network administrator or your router's manual.
Why Use a Static IP?: Assigning a static IP is useful for network configurations and port forwarding, providing more control over network settings.
Comments