linux下启动和关闭网卡命令

如题所述

第1个回答  2021-05-10
网卡配置后可以用多种方式启动和关掉网卡

1、服务形式开关网卡
启动:service network start
关闭:service network stop
2、还可以在这里开关网络服务
启动网络服务:/etc/init.d/network start
停止网络服务:/etc/init.d/network stop
2、ifconfig开关网卡
启动:ifconfig eth网卡编号 up
关闭:ifconfig eth网卡编号 down
相似回答