网络配置文件: 1。/etc/hostname.interface 该文件是网卡的配置文件,这个文件包含一个主机名称或者是主机地址,有le(十兆网卡),hme(百兆网卡),等后缀,后面跟一个数字,如:hme0,hme1等。solaris 安装程序要求您在安装过程中至少配置一个接口,自动配置的第一个接口将成为主网络接口。安装程序为主网络接口和在安装时选择配置的任何其他接口创建/etc/hostname.interface 文件,如果在安装过程中配置了其他接口,请验证每个接...
by bouth - Solaris文档中心 - 2007-10-16 18:34:03 阅读(952) 回复(0)
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 设定...
主机名为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 缺省路由 做为DNS服务...
出处:Unix爱好者家园unix-cd.com 主机名为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 缺省...
主机名为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 缺省路由 做为DNS服务器...
主机名为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 缺省路由 做为DNS服务器...
查看网卡名称: ifconfig -a ifconfig -a lo0: flags=1000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 pcn0: flags=1000843 mtu 1500 index 2 inet 192.168.5.188 netmask ffff0000 broadcast 192.168.255.255 ether 0:c:29:ec:f6:4a 主机-ip对应关系设置 /etc/Hosts; 192.168.1.1 tocnc ( Chmod 611 ./inet/hosts; vi /etc/hosts ) 除了改/etc/hosts 還要改/etc/inet/ipnodes 网络号及网络...
在这里向前辈们学到了很多东西,现在也该将我的一些收获共享给大家。 本人使用的ADSL拨号上网,电信网络 1、设置IP地址,子网掩码,及DNS所需要修改和建立的配置文件 主机名/etc/ hostname.pcn0 # vi hostname.pcn0 aihua.com IP地址 /etc/hosts # vi hosts 127.0.0.1 localhost 192.168.127.54 aihua.com loghost 说明:由于在安装过程中,设置路由器时,我选了:“重新引导检测一个路由器”,所以最终没有前...
主机名为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 缺省路由 做为DNS服务...
各位高手老哥,因为我以前从来没接触过solaris,现在我们单位要对进行solaris网络配置,配置IP地址为:192.168.33.5 255.255.255.0 配置网关为:192.168.33.1 255.255.255.0 请高手告诉我一个详细的操作过程!谢谢!