In the above command make sure to change ethernet0 with the name of your adapter and 10121 with the dns server address of your network. To set a static ip address in windows 7 8 and 10.
How To Set A Static Ip Address Using Settings App On Windows
How to setup a static ip. Although dhcp is really great and makes our lives easier there are situations where. Click start menu control panel network and sharing center or network and internet network and sharing center. First click the circle next to use the following ip address. Type the following command to see your current network configuration. Dhcp is fine unless youre looking to perform advanced networking tasks. Select the internet protocol tcpip entry and then click the properties button.
Click change adapter settings. How to set static ip addresses on your router dhcp versus static ip assignment. If your screen looks like the one above then you need to choose a static ip address to use for this computer. How to set up a static ip address. Right click on the network adapter you want to assign an ip address and click properties. Type the following command to set a dns server address and press enter.
Then enter a new ip address in the box labeled ip address. When youre finished click ok. When to use static ip addresses. Highlight internet protocol version 4 tcpipv4 then click the properties button. Now change the ip subnet mask default gateway and dns server addresses. Heres how to set a static ip address or dhcp reservation for any device on your network.
Netsh interface ip set dns nameethernet0 static 10121. Netsh interface ip set address. Ipconfig all note the connection name in the. To set a static ip in windows xp right click the my network places icon and then select properties right click the adapter for which you want to set the ip and then select properties from the context menu. Right click on wi fi or local area connection. This address needs to be similar to the routers ip address.
Set a static ip address with command prompt open a new command prompt instance. To help you understand the application of static ip addresses lets start with the. To set a new ip address execute the following command.