Centos7网卡配置的两种方式

Centos7网卡配置的两种方式


2024年3月15日发(作者:)

Centos7网卡配置

Linux有两种网络服务的管理组件:network / Network Manager

方法一:network

1. 查看网卡信息

[root@localhost ~]# ip a

这里查看到网卡 ens33

2. 修改网卡配置文件

[root@localhost ~]# cd /etc/sysconfig/network-scripts/

[root@localhost network-scripts]# ls

可以查看到网卡配置文件ifcfg-ens33

[root@localhost network-scripts]# vim ifcfg-ens33

原配置文件

修改后的配置文件(主要修改红色标注)


发布者:admin,转转请注明出处:http://www.yc00.com/news/1710498876a1767352.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信