Autoconfiguration ipv4 address 196.254.x.x IP Nightmare

Sunday, August 3, 2014 0 comments
Today when i connect my laptop to Lan it wasn't getting the ip from my DHCP server. Instead it gives me some weird IP like 196.254.x.x . while my Wifi was working fine, I searched Alot to get to know until i found a great piece of code on a blog. so going to share with you guys.

Problem with my Ip.


Steps to follow:
  1. If you are Using any Firewall disable it (like i use comodo so i disable it temporary)
  2. Click on start and click on RUN (or simple press windowsKey+R ) type CMD
  3.  Now type the below Codes
     netsh interface ipv4 show inter
  4. It will show like this.
  5.  As we have problem in LAN so my LAN here is Local Area Connection  and Its Idx=11 (we will use this idx number in next code)
  6. Now type in this code and replace your Idx number, as mine is 11 
     netsh interface ipv4 set interface 11 dadtransmits=0 store=persistent  
  7. It will show like this. 
  8. If it says OK. Congratulations you have done the difficult part
  9. Now Click on Start and Run again and Type Services.msc a box will appear Search for DHCP client right click on it and Click on Properties click on Startup Type select Disable
  10. Now Click on Stop Button Below And click on Ok
  11. Unplug Your Lan Cable And Restart your System
  12. After Restart don't Plugin your Cable, Come again to Services.msc find DHCP client right click on it and Click on Properties click on Startup Type now select Automatic
  13. Click on Start button below and then Ok.
  14. Now Plugin your Lan Cable and Enjoy.
By the way you can Enable your Firewall again :) 

0 comments:

Post a Comment

 

©Copyright 2012 npicx | we share | w3db