Home > Common Problem > body text

How to add a secondary IP address in Windows 11

WBOY
Release: 2023-04-14 16:10:16
forward
2379 people have browsed it

Why do I need to assign a secondary IP address in Windows 11?

Now, we come to the most important question, why do you need to assign a secondary IP address or even more than one in Windows 11?

Assuming you have a device with a default IP address and want to use another device, this may require adding a secondary device. Apart from this, it is also used to host various SSL websites.

If you have to send a large amount of email in a short period of time, it may be helpful to obtain multiple IP addresses, as there are limits on how much can be sent from one IP address in a specific time frame.

Additionally, some users set it up to avoid being blacklisted by spam filters. Additionally, adding a secondary IP address can help circumvent firewalls.

Expert Tip: Some PC problems are difficult to solve, especially if the repository is corrupted or Windows files are missing. If you are having trouble fixing errors, your system may be partially corrupted.

Apart from this, there are several other reasons why users add secondary or multiple IP addresses in Windows 11. Now that you have a basic understanding of the concept, let's see how to do it.

How to add secondary and multiple IP addresses in Windows 11?

1. Connect through the network

  1. Press Windows R to start the "Run" command and enter ncpa in the text field .cpl, and then click "OK" or click Enter to launch the "Network Connection" window. How to add a secondary IP address in Windows 11
  2. Now, right-click on the relevant network adapter and select Properties from the context menu. How to add a secondary IP address in Windows 11
  3. Double-click the Internet Protocol Version 4 (TCP/IPv4) entry here, or select it and click Properties. 双击 IPv4 到 Windows 11 添加辅助 IP 地址
  4. Now, select the Use the following IP address and Use the following DNS server address options and enter the required addresses in the fields under both. How to add a secondary IP address in Windows 11
  5. When finished, click the Advanced button. How to add a secondary IP address in Windows 11
  6. Next, click the Add button. How to add a secondary IP address in Windows 11
  7. You can now enter the IP address and subnet in the relevant fields here and click Add. 键入值到 Windows 11 添加辅助 IP 地址
  8. When finished, click "OK" at the bottom of each window to save your changes.
  9. Similarly, you can add multiple IP addresses by clicking the Add button and entering additional IP addresses.

2. Launch the search menu via Command Prompt

  1. by pressing Windows S with the text at the top Enter Windows Terminal in the field, right-click the relevant search result, and select Run as administrator from the context menu. Windows 终端
  2. Click Yes on the pop-up UAC (User Account Control) prompt. How to add a secondary IP address in Windows 11
  3. Next, click the down arrow at the top and select Command Prompt from the list of options. Alternatively, you can click Ctrl in a new tab Shift2 to launch the Command Prompt. How to add a secondary IP address in Windows 11
  4. Next, execute the following command while replacing the NIC (Network Interface Card) name, IP address, and subnet: <strong>netsh int ipv4 add address "NIC name" 192.168.21.102 255.255.255.0</strong>How to add a secondary IP address in Windows 11

Just! The secondary IP address will now be added, you can verify it in the network properties or use the ipconfig /all command.

There are several users who prefer to execute commands instead of using the traditional GUI (Graphical User Interface) method and this method will help them do that.

Also, check out the next section to learn how to add multiple IP addresses in Windows 11.

3. Add multiple IP addresses using Command Prompt

  1. Launch an elevated Windows terminal and open the Command Prompt tab there.
  2. You must now execute the following command to automatically add multiple IP addresses, replacing the relevant entries here, as you did before: <strong>FOR /L %variable IN ( Start,Increase/Decrease,Stop) DO netsh interface ipv4 add address "NIC name" IP address (with variable) Subnet</strong>
  3. If you want to add the IP address 192.168.21.101 to 192.168.21.103 To the desired network adapter, the command is as follows: <strong>FOR /L %x IN (101,1,103) DO netsh interface ipv4 add address "NIC name" 192.168.21.%x 255.255.255.0</strong>How to add a secondary IP address in Windows 11
  4. This command may take a few seconds to execute, depending on the number of IP addresses to be added, please be patient. How to add a secondary IP address in Windows 11
  5. Once completed, you can check the new IP address using the following command: <strong>ipconfig /all</strong>

This method It's a bit tricky and requires the use of a For loop, which is often used in computing languages. But adding multiple IP addresses at once in Windows 11 saves a lot of time.

How to remove secondary IP address in Windows 11?

  1. Press Windows S to launch the search menu, enter View Network Connections in the text field, and click the related search that appears result. How to add a secondary IP address in Windows 11
  2. Right-click on the relevant network adapter and select Properties from the context menu. How to add a secondary IP address in Windows 11-1
  3. Double-click the Internet Protocol Version (TCP/IPv4) entry to launch its properties. How to add a secondary IP address in Windows 11
  4. Now, click the Advanced button near the bottom. How to add a secondary IP address in Windows 11-1
  5. Finally, select the IP addresses you no longer need and click the Delete button How to add a secondary IP address in Windows 11
  6. When finished, click on each window "OK" at the bottom to save changes.

The process of removing a secondary IP address is as simple as adding it. But make sure not to delete key addresses or even enter any random addresses as this may cause problems when connecting to the Internet.

How do I hide or block my IP address on a LAN (Local Area Network)?

There are several arguments in favor of hiding or blocking your IP address, but they certainly don't apply to large numbers of users. Many people believe that it maintains anonymity and security, two of the most important things on the internet.

Apart from that, people from certain countries cannot access certain websites or data due to geographical restrictions, but by masking your IP address, you can easily access it as this is what identifies you on the web Location is the only way.

The above is the detailed content of How to add a secondary IP address in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template