Centos7.4配置网卡方法

2024-10-18 20:11:51

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配置网卡方法
猜你喜欢