bouth 发表于 2007-10-16 18:34

solaris下配置网络

网络配置文件:
1。/etc/hostname.interface
该文件是网卡的配置文件,这个文件包含一个主机名称或者是主机地址,有le(十兆网卡),hme(百兆网卡),等后缀,后面跟一个数字,如:hme0,hme1等。Solaris 安装程序要求您在安装过程中至少配置一个接口,自动配置的第一个接口将成为主网络接口。安装程序为主网络接口和在安装时选择配置的任何其他接口创建/etc/hostname.interface 文件,如果在安装过程中配置了其他接口,请验证每个接口是否有对应的/etc/hostname.interface 文件。

bash-2.05# more /etc/hostname.hme0
sun

2。/etc/hosts
bash-2.05# more /etc/hosts
#
# Internet host table
#
127.0.0.1       localhost
192.168.168.149   sun   loghost



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/32940/showart_401849.html
页: [1]
查看完整版本: solaris下配置网络