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

Unix/Linux
Linux下Socket连接超时的一种实现方法
谈一谈至关重要的Linux系统Swap交换区
Linux系统GRUB引导单用户模式三种方式
实例解析:虚拟机中Lvs的负载均衡实验
实用技巧:DOS文件转换成UNIX文件格式
Linux系统多进程查看及调配管理方法
非常实用 Linux系统开机提速我有绝招!
Linux系统中的文件目录结构介绍(表)
Linux操作系统如何完美装载Windows分区
Linux系统访问Windows分区FAT32和NTFS
高手进阶 Linux系统下MTD/CFI驱动介绍
新手看招 Linux系统的参数配置优化技巧
Xmanager 远程登陆Linux系统后配置Xdm
新手学堂:Emacs只启动一个进程的方法
小技巧 在Linux桌面上建立“我的文档”
Linux slab 分配器详解
拨开云雾:Lastlog文件不断变大的原因
使用ImageMagick 的提示与技巧
认识Linux操作系统中的播客客户端
Linux系统中显示设备配置工具介绍

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 165 ::
收藏到网摘: 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] 谁能做到文档中每个细节都能看到并记住呢?碰到问题才会去仔细的看细节,并记住。 文档看一遍是必须的。 还是要谢谢你啊... 祝大家春节快乐!心想事成