centOS用setup配置完IP以后未生效的方法

来源:互联网 发布:软件开发工程师薪酬 编辑:程序博客网 时间:2024/05/14 09:02

安装完centOS 运行setup配置了IP地址,发现用XSHELL4还是不能连接上,service network restart重启了也没有用。

后来发现,配置完以后,要再运行指令如:

ifconfig eth0 192.168.1.110ifconfig eth0 upifconfig

这样就可以了。

0 0
原创粉丝点击