ECS Ubuntu system individually disables and starts internal and external network card commands

坏嘻嘻
Release: 2018-09-30 11:47:20
forward
3434 people have browsed it

The content of this article is about the ECS Ubuntu system's commands to individually disable and enable internal and external network cards. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

ECS Ubuntu system individually disables and starts internal and external network card commands

You can use [ifdown network card] and [ifup network card] to individually disable or enable a certain network card.

The [ifconfig] command under the Ubuntu system can check the network card status

ECS Ubuntu system individually disables and starts internal and external network card commands

To disable the intranet network card, you can use ifdown eht0 to disable it. After disabling it, ifconfig cannot see it. The internal network is stuck.

ECS Ubuntu system individually disables and starts internal and external network card commands

To enable the intranet network card, you can use ifup eth0 to start it, and then use ifconfig to query whether the intranet network card is activated.

ECS Ubuntu system individually disables and starts internal and external network card commands

If you want to disable or enable the public network card, replace eth0 in the command with eth1.

The above is the detailed content of ECS Ubuntu system individually disables and starts internal and external network card commands. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:aliyun.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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!