网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

Centos7.4配置网卡方法

时间:2026-02-13 20:33:16

1、进入网卡配置文件目录

cd /etc/sysconfig/network-scripts

Centos7.4配置网卡方法

2、ifconfig获取网卡名称ens32

Centos7.4配置网卡方法

3、查找对应的网卡文件,用命令

ll *ens32*

Centos7.4配置网卡方法

4、 vi ifcfg-ens32 

Centos7.4配置网卡方法

5、重启网卡

systemctl restart network

Centos7.4配置网卡方法

6、ifconfig

查看网卡并测试

Centos7.4配置网卡方法

© 2026 智德知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com