首页 > 代码库 > Solaris 10 改ip參考文档之二
Solaris 10 改ip參考文档之二
參考自:Cannot change IP address of Solaris[TM] 10 host (Doc ID 1007942.1)
本文不做翻译。全文转载。
Symptoms
Changing the IP address in /etc/hosts (linked to /etc/inet/hosts) and rebooting does not change the primary interface‘s address.
Resolution
Change the entry for the host in /etc/inet/ipnodes.
Additional Information
Prior to Solaris[TM] 10, IPv6 was not enabled by default. So there would only be entries in /etc/inet/ipnodes for any systems you may want to use IPv6 with.
The host itself is only (by default) in /etc/inet/hosts. Therefore changes to /etc/inet/hosts would be effective on the next reboot.
Starting in Solaris 10, the host has entries in both /etc/inet/hosts and /etc/inet/ipnodes. Both files should be kept in sync; however, if they do not match, ipnodes has precedence. If ipnodes has the old IP address, changes in /etc/inet/hosts will appear not to have any effect.
Product
Solaris 10 Operating System
Solaris 10 改ip參考文档之二
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。