linux中为什么设的固定ip每次重启就变为自动获取了?

来源:百度知道 编辑:UC知道 时间:2024/05/20 21:02:51
详细的问题说明,有助于回答者给出准确的答案

你要把你的IP地址信息写到相关的文件中才可以!
路径是:/etc/sysconfig/network-scripts/ifcfg-eth0
编辑完配置文件后要重启一下接口使配置生效!

http://hi.baidu.com/naruto6006/blog/item/de853c3a962da3ed15cecba4.html

aa