linux网络管理命令
- IT科技
- 关注:8.61K次
基本介绍:ifconfig命令,ifconfig命令用于显示或管理网络设备,ifconfig命令用于设置Linux系统的网络参数,ifconfig可设置网络设备的状态,或是显示目前的设置。
入门测试:
启动关闭指定网卡:
[root@linux ~]# ifconfig eth0 down
[root@linux ~]# ifconfig eth0 up
代码说明及拓展:
add<地址> 设置网络设备IPv6的IP地址
del<地址> 删除网络设备IPv6的IP地址
down 关闭指定的网络设备
up 启动指定的网络设备
IP地址 指定网络设备的IP地址
- 文章版权属于文章作者所有,转载请注明 https://shqsg.com/zh/dianzi/l2999x.html