mirror of
https://github.com/Estom/notes.git
synced 2026-02-09 05:24:38 +08:00
416 B
416 B
ifcfg
置Linux中的网络接口参数
补充说明
ifcfg命令 是一个Bash脚本程序,用来设置Linux中的网络接口参数。
语法
ifcfg(参数)
参数
网络接口:指定要操作的网络接口;
add/del:添加或删除网络接口上的地址;
ip地址:指定IP地址和子网掩码;
Stop:停用指定的网络接口的IP地址。