FANDOM


Description: Edit

Sometimes, computers will have more than one IP address in their NIC settings so that they can communicate with devices on a subnetwork so as not to interfere with the primary network. The problem is, Windows isn't designed to have a computer handling two IP Addresses on a single NIC, so you have to "trick" Windows to get it to work. You can check this by running ncpa.cpl - right click on "NIC Name (Local Area Connection in most cases)" - Properties - Internet Protocol Version 4 - Properties - "Advanced" button on the first tab. Here you will see two IP addresses. You will need to remove the second IP and re-add it back using the netsh command with a specific flag.

To Resolve: Edit

1. Run - cmd - netsh int ipv4 add address “Local Area Connection” 1.2.3.4/24 SkipAsSource=true where 1.2.3.4 is the IP you are adding to the NIC, and /24 is the subnet mask you are using. Examples:

a. You want to add the IP 192.168.5.2 with a subnet mask of 255.255.255.0 to the NIC "Local Area Connection", the command would be:

netsh int ipv4 add address “Local Area Connection” 192.168.5.2/24 SkipAsSource=true

b. You want to add the IP 10.1.1.2 with a subnet mask of 255.255.0.0 to the NIC "Wireless Network Connection", the command would be:

netsh int ipv4 add address “Wireless Network Connection” 10.1.1.2/16 SkipAsSource=true

2. To make sure the command worked, run the following command to check: netsh int ipv4 show ipaddresses level=verbose

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.