当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > solaris 10 修改网络配置

Unix/Linux
Slackware中MPlayer的手动安装方法
rhel5硬盘安装常见问题
FC6 beryl 0.2.1 编译安装手记
Ubuntu Linux上安装SSH和Vsftpd的方法
新手看招 手把手教你安装VMware虚拟机
tomcat及jdk安装配置文档
Ubuntu6.06 Linux安装Mplayer过程解析
Linux下安装RPM和TAR管理软件包的方法
Linux操作系统下以太网卡的安装及配置
嵌入式Linux 中的应用中的GTK+
对远程数据同步工具Rsync的一些了解
使用自由软件Rexx 的实现来编写脚本
介绍一个Linux下画电路图的软件
集成了大量软件包的DSL Linux
Debian和Gentoo包管理机制比较及延伸
一步一步安装服务器监视软件MRTG
pacman终极提速--metalink
介绍linux上两种rootkits检测工具
Linux下用Mtrace来检查程序内存溢出
如何用APT维护红帽企业版Linux

Unix/Linux 中的 solaris 10 修改网络配置


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 59 ::
收藏到网摘: n/a


修改了这几个文件后,重启,网络没有被更改。
hostname.interface_name
hosts
defaultrouter
netmasks
n o d e n a m e
supereyes 回复于:2005-02-06 19:04:59 没人帮忙,自己解决
还需要更改/etc/inet/ipnodes。
为什么solaris9不用更改呢?还是我没注意?
supereyes 回复于:2005-02-06 19:39:42 [quote:1ce01183eb]Note –
If you need to add addresses, you must add IPv4 addresses to both the hosts and ipnodes files. You add only IPv6 addresses to the ipnodes file.[/quote:1ce01183eb]
无生相 回复于:2005-02-07 18:04:33 sys-unconfig and reboot ........
supereyes 回复于:2005-02-07 19:20:07 [quote:ad40c98004="无生相"]sys-unconfig and reboot ........[/quote:ad40c98004]
我是要找出问题所在..
thx
无生相 回复于:2005-02-07 20:24:37 细节在Sun的文档里说得很清楚...................
lightspeed 回复于:2005-02-08 02:30:46 [quote:81a5f76d6c="supereyes"]修改了这几个文件后,重启,网络没有被更改。
hostname.interface_name
hosts
defaultrouter
netmasks
n o d e n a m e[/quote:81a5f76d6c]

Address search order is ipnodes first, then hosts. (solaris 8, 9, 10)
So ipnodes needn't be modified if it's no information about IPv4 address.
But in Solaris 10, a new feature added:
The /etc/nsswitch.conf file policies for the hosts database and ipnodes repositories are synchronized.
In your case, hosts changed but ipnodes untouched so that
system got old ip address from ipnodes.
supereyes 回复于:2005-02-08 13:26:13 [quote:c1444a05f0="无生相"]细节在Sun的文档里说得很清楚...................[/quote:c1444a05f0] 谁能做到文档中每个细节都能看到并记住呢?碰到问题才会去仔细的看细节,并记住。 文档看一遍是必须的。 还是要谢谢你啊... 祝大家春节快乐!心想事成