Windows 7 is not letting me force a static IP. even after setting the IP, Windows 7 still assigns it's own IP. I am simply trying to setup a NAS system in which I need to set my IP to a certain address. So I am only connected to a switch which connects to the NAS.
Try the command line and see if you have better luck:
netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1
Because a picture is worth 1000 Unicorn Dollars:
Go to "Network and Sharing Center" > "Local Area Connection" > "Properties" > "Internet Protocol Version" > "Properties" > Set a static IP here. Then "OK", "Apply" and "OK" again.
If this doesn't work try connecting your computer stright into the NAS (will need a crossover cable or gigabit network connections in both the NAS and computer).
netsh winsock reset in the Administrative Command Prompt, and then press the Enter key.
Do the same process for refreshing the TCP/IP. Type the following commands:
netsh interface ipv4 reset netsh interface ipv6 reset ipconfig /flushdns
Then reboot the computer. Once it's back up, go to your LAN adapter settings in the Control Panel, and try to set the Static IP information again.
I ran into this recently under Windows 7 and used the GUI to assign a static IP address to an interface, but it was still being additionally auto-assigned a link-local 169.254.xxx.xxx address. This stopped after I rebooted the system, however.
I suspect the DHCP service got confused and:
- didn't correctly identify the interface as having a static IP,
- kept trying to assign it a DHCP address, and
- kept auto-assigning it the link-local address as a fallback.
If this was the problem, configuring a static IP via the GUI and via
netsh might both work equally well.
If you set a static IP like that you will get a static IP. You must be setting the wrong adapter or have some 3rd party software overwriting your settings (Also make sure that you are not using alternate configuration). Autoconfiguration only applies when you have dhcp enabled.
try running ipconfig /all at the command prompt and put up the result
Try the following steps:
(1) First off, go to device manager and uninstall and reinstall nic drivers and then try to assign static IP.
if the above fails try next step.
(2) Run - type lusrmgr.msc - group - Network Configuration Operators - check whether the account name is there in the list, in case you don't find the name, Add it and try to assign IP once again.