cd /etc/sysconfig/network-scripts
进入网络配置文件目录

ip a
查看网络接口 eht0 eth1

vi ifcfg-eth0
配置网络接口eth0,没有对应配置文件,就创建一个

service network restart
重启网络接口

cd /etc/sysconfig/network-scripts
进入网络配置文件目录

ip a
查看网络接口 eht0 eth1

vi ifcfg-eth0
配置网络接口eth0,没有对应配置文件,就创建一个

service network restart
重启网络接口

1963
921
583
291
567

被折叠的 条评论
为什么被折叠?