Let Windows turn on DHCP. Next, go to the Network and Sharing Center and press Change Adapter Settings. Right-click "Local Area Connection" and select Status. Press Details.
Write down your:
- IPv4 Address - Your computer's address.
- IPv4 Subnet Mask - Identifies which IP addresses are neighbours and which are on other networks.
- IPv4 Default Gateway - Your gateway to the Internet.
- IPv4 DNS Server - Translates names like www.google.com into IP
addresses like 18.104.22.168.
Close this window. Now you can set you static IP address.
Type in the same Subnet Mask, Default Gateway, and DNS Server as you had before. Your subnet mask will probably be 255.255.255.0. If so, then the first three numbers in your IP Address must stay the same as the DHCP assigned address. For example, if you had 192.168.0.100, you must use something like 192.168.0.xxx, where you can choose xxx.