Windows10 dual network card configuration, easy to achieve internal and external intercommunication

  1 Background
        I usually need to connect to the external network to check information, chat, etc. When doing experiments, I need to package and deploy the written code to the internal network server, so I need to switch between internal and external networks frequently and modify the static network configuration. Very distressed.

        2 Methods
        Recently, I found several workarounds.

        Method 1. To purchase a multi-network port soft router, you can plug the intranet and external network cables into the soft router at the same time, configure the routing rules, and then connect my computer to the soft router. But the soft route is too expensive.

        Method 2: Add another network card for my desktop to connect to the intranet. It seems that ε=(´ο`*))) Alas. Since there is no available PCI-E slot on the motherboard, my roommate asked me to use his Ethernet expansion dock. After a search, Taobao found that it was 25 yuan each, which was economically available.

        3 The experiment
        uses the second method to configure the network and routing.

        Network environment: external network 10.10.83/23, internal network 10.10.2/24, and experimental network 10.20.1/24 behind the internal network.

        Write the following routes permanently to your computer.

        The external network 10.10.83/23 goes through the gateway 10.10.83.254;

        The intranet 10.10.2/24 and the experimental network 10.20.1/24 behind it go through the gateway 10.10.2.254.

        4 As a result,
        the internal and external networks can be accessed at the same time, which is perfect.

Guess you like

Origin blog.csdn.net/vcit102/article/details/129705447