Get the App
SLTechnology News&Howtos  ›  Servers  › 

Method of disabling public network IP on ECS CVM

Shulou Source: shulou.com Published: 2022-06-02 04:20:55 10月04日 Update

This article is about how to disable public network IP on ECS CVM. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

How to disable public network IP on ECS CVM

The method of shutting down the external network card by Linux

First, use ifconfig to check the name of the Nic corresponding to the IP of the lower public network. Here, you can see that it is eth2, then use ifdown eth2, and then test the IP of the public network under ping, which cannot be ping.

The method of disabling Public Network Card in Windows

The Windows host can run-enter cmd and ipconfig to view the Nic information of the public network IP. In the following figure, you can see that the public network card is a local connection 2.

Then open Control Panel > Network and sharing Center > change adapter settings to disable local connection 2. Then local to the server for ping test, can not do ping communication.

Thank you for reading! This is the end of the method of disabling public network IP on ECS CVM. I hope the above content can be helpful to you, so that you can learn more. If you think the article is good, you can share it and let more people see it.

Tags: Public network network card method server service content more test input good practical host information name article read knowledge article network adapter Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Redmi Shulou Information Huawei Microsoft