【文件属性】:
文件名称:Solaris网络配置
文件大小:14KB
文件格式:TXT
更新时间:2015-01-17 04:45:19
Solaris网络配置
Solaris网络配置
主机名为sampdt,ip 10.1.1.1
1 /etc/hosts 主机名解析
#
# Internet host table
#
127.0.0.1 localhost
10.1.1.1 sampdt loghost
10.1.1.46 test.china.org
10.1.1.3 sidemo
2 /etc/hostmane.hme0 网络接口名
sampdt
3 /etc/netmasks 网络掩码
4 /etc/inetd.conf 服务项目定义
5 /etc/defaultroot 设定路由
6 /etc/nsswitch.files 设定名字搜索顺序
7 /etc/defaultrouter 缺省路由