solaris网络连接

来源:互联网 发布:花千骨游戏辅助软件 编辑:程序博客网 时间:2024/05/16 18:14

关键是以下四个文件:
1. /etc/host      127.0.0.1   localhost
                        192.168.1.132  hostname loghost (可通过sys-uncofig命令重新设置)
2. /etc/resolv.conf (自建的,DNS设置)         nameserver   192.168.1.1
  
3. /etc/defaultroute(自建的,网关设置)         192.168.1.1
4. /etc/nsswitch.conf                  hosts一行添加 files dns        即为:  hosts: files dns