huoniao326 发表于 2008-04-07 10:30

Solaris10 网卡配置

Solaris10 网卡配置
修改相关配置文件,然后重启网卡。
1) vi /etc/hosts
192.168.0.55                sun280-1            loghost         #sun280-1为hostname
2) vi /etc/inet/ipnodes
127.0.0.1            localhost      
192.168.0.55         sun280-1         loghost
3) vi /etc/hostname.
sun280-1
4)vi /etc/netmask
192.168.0.0         255.255.255.0
5)vi /etc/defaultrouter      #默认没有需要添加
192.168.0.254
6)vi       /etc/nodename
sun280-1
7) 重启网卡(直接执行reboot命令重启操作系统也可以)
#svcadm disable physical
#svcadm enable physical


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/42672/showart_519649.html
页: [1]
查看完整版本: Solaris10 网卡配置