How to query the CVM address
What this article shares with you is about how to query CVM addresses. The editor thinks it is very practical, so I hope you can learn something after reading this article. Let's take a look at it with the editor.
Generally, the public network IP address and private network IP address can be obtained through the CVM control panel.
The way to check the IP address is very simple. If the user does not know the IP address of the CVM, you can use the command line query.
Windows server
Click enable-run-enter cmd on the local computer, and type ipconfig / all in the dos command box. You can list the Nic information in the server, including subnet mask, gateway, DNS and MAC information. Net Device PV Driver is the internal network card and Net Device PV Driver # 2 is the external network card.
Linux server
Users use the ifconfig command to view the ENI information, and you can list the ENI information in the CVM, including subnet mask, gateway, DNS and MAC information. The eth0 on the server is the internal network card, and the eth2 is the external network card.
The above is how to query the CVM address. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.