Changing IP configuration on NIC does not work - any reason why that would happen?


Recommended Posts

I tried uninstalling NIC and rebooting etc - no matter what  I do, the IP settings go back to default.

 

Could it be a bad NIC?  I've been having random issues with Motherboard - usb ports and other Nic not working properly anymore

Link to comment
Share on other sites

I tried uninstalling NIC and rebooting etc - no matter what  I do, the IP settings go back to default.

 

Could it be a bad NIC?  I've been having random issues with Motherboard - usb ports and other Nic not working properly anymore

What are the actual changes you are making to the NIC?  That is the 1st place to look as there are numerous settings that can be changed.

Link to comment
Share on other sites

ip, subnet, gateway and dns

 

I'm pretty familiar with these sort of changes so handling should be fine.  Plus I don't get any errors when I close.

Link to comment
Share on other sites

ip, subnet, gateway and dns

 

I'm pretty familiar with these sort of changes so handling should be fine.  Plus I don't get any errors when I close.

 

All settings pertaining to the nic are saved in the OS.  The motherboard or card have nothing to do with it.  You can try removing the drivers and reinstalling.

Link to comment
Share on other sites

In device manager, simply fully uninstall the network adapter, then reboot. It should be fine then; as all IP, gateway, and subnet configuration will be lost upon uninstalling the network card.

Link to comment
Share on other sites

Well the issue may be why did it get this way?  Did you mess with some security software?  Having corrupted or broken network stack is usually just a symptom of a greater problem.

Link to comment
Share on other sites

can you set it in your router or switch or access point? Does it stick?

Link to comment
Share on other sites

"no matter what  I do, the IP settings go back to default."

 

So your trying to go from dhcp which would be default to a static setup..

 

So do an ipconfig /all

and then a

Netsh interface ip show config

 

then change your setting via netsh in an elevated prompt and what do you get for the output, then do a ipconfig /all

 

C:\>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : i5-w7
   Primary Dns Suffix  . . . . . . . : local.lan
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : local.lan

Ethernet adapter Local:

   Connection-specific DNS Suffix  . : local.lan
   Description . . . . . . . . . . . : Broadcom NetLink Gigabit Ethernet
   Physical Address. . . . . . . . . : 18-03-73-B1-0D-D3
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.9.100(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, June 30, 2015 8:10:50 AM
   Lease Expires . . . . . . . . . . : Saturday, July 04, 2015 8:10:49 AM
   Default Gateway . . . . . . . . . : 192.168.9.253
   DHCP Server . . . . . . . . . . . : 192.168.9.253
   DNS Servers . . . . . . . . . . . : 192.168.9.253
   NetBIOS over Tcpip. . . . . . . . : Enabled

C:\>Netsh interface ip show config

Configuration for interface "Local"
    DHCP enabled:                         Yes
    IP Address:                           192.168.9.100
    Subnet Prefix:                        192.168.9.0/24 (mask 255.255.255.0)
    Default Gateway:                      192.168.9.253
    Gateway Metric:                       0
    InterfaceMetric:                      10
    DNS servers configured through DHCP:  192.168.9.253
    Register with which suffix:           None
    WINS servers configured through DHCP: None

Configuration for interface "Loopback Pseudo-Interface 1"
    DHCP enabled:                         No
    IP Address:                           127.0.0.1
    Subnet Prefix:                        127.0.0.0/8 (mask 255.0.0.0)
    InterfaceMetric:                      50
    Statically Configured DNS Servers:    None
    Register with which suffix:           None
    Statically Configured WINS Servers:   None


C:\>netsh interface ip set address "Local" static 192.168.9.101 255.255.255.0 192.168.9.253 1


C:\>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : i5-w7
   Primary Dns Suffix  . . . . . . . : local.lan
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : local.lan

Ethernet adapter Local:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom NetLink Gigabit Ethernet
   Physical Address. . . . . . . . . : 18-03-73-B1-0D-D3
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.9.101(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.9.253
   NetBIOS over Tcpip. . . . . . . . : Enabled

C:\>Netsh interface ip show config

Configuration for interface "Local"
    DHCP enabled:                         No
    IP Address:                           192.168.9.101
    Subnet Prefix:                        192.168.9.0/24 (mask 255.255.255.0)
    Default Gateway:                      192.168.9.253
    Gateway Metric:                       1
    InterfaceMetric:                      10
    Statically Configured DNS Servers:    None
    Register with which suffix:           None
    Statically Configured WINS Servers:   None

Configuration for interface "Loopback Pseudo-Interface 1"
    DHCP enabled:                         No
    IP Address:                           127.0.0.1
    Subnet Prefix:                        127.0.0.0/8 (mask 255.0.0.0)
    InterfaceMetric:                      50
    Statically Configured DNS Servers:    None
    Register with which suffix:           None
    Statically Configured WINS Servers:   None

 

you then can set dns with

netsh interface ipv4 add dnsserver "local" address=192.168.9.253 index=1

 

C:\>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : i5-w7
   Primary Dns Suffix  . . . . . . . : local.lan
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : local.lan

Ethernet adapter Local:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom NetLink Gigabit Ethernet
   Physical Address. . . . . . . . . : 18-03-73-B1-0D-D3
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.9.101(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.9.253
   DNS Servers . . . . . . . . . . . : 192.168.9.253
   NetBIOS over Tcpip. . . . . . . . : Enabled

 

So does this work or not, where does it fail?  Keep in mind your name is most likely not "local'  You can view the name of your interface with

 

post-14624-0-25873700-1435941466.png

 

 

 

Link to comment
Share on other sites

Thanks guys!  Bunch a good tips that I didn't think of.

 

I'll try the cmd route now - in the last 20 years that I have been manually setting my IP address, I never thought of just doing it in the cmd prompt ha

Link to comment
Share on other sites

So I tried it - it seems like it does it but when I go into the properties it's still set on DHCP.  It is using the IP I want though.  

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.