ifcfg 命令,Linux ifcfg 命令详解:置Linux中的网络接口参数 - Linux 命令搜索引擎

来源:ifcfg.html

时间:2026-05-02 20:00:27


ifcfg

置Linux中的网络接口参数

补充说明

ifcfg命令 是一个Bash脚本程序,用来设置Linux中的网络接口参数。

语法

ifcfg(参数)

参数

网络接口:指定要操作的网络接口;
add/del:添加或删除网络接口上的地址;
ip地址:指定IP地址和子网掩码;
Stop:停用指定的网络接口的IP地址。