歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> 被solaris玩了

被solaris玩了

日期:2017/2/28 11:12:52   编辑:關於Unix


本來今天可以在solaris10 上網爽爽的,結果,到現在還是沒有任何進展。
下面是轉自CU 上面的一篇文章:
OK, basicly there are 4 file you have to config at Solaris to go to internet:
1. /etc/hosts or /etc/inet/hosts
4. /etc/defaultrouter
The following are my configuration file: (192.168.0.3 is my solaris 9 system and 192.168.0.1 is the machine of Windows 2000/XP which has 2 network interfice, one connected to internet by 24.101.186.193 and one connected to solaris9 by interfice 192.168.0.1. You have to choose to share internet for the interface that connected to internet at windows as you have)
Cat /etc/hosts
127.0.0.1 localhost
192.168.0.3 lion loghost
192.168.0.1 router
nameserver 192.168.0.1
hosts: files dns
vi /etc/defaultrouter
router 192.168.0.1
1、我的DNS已經起來了,可以nslookup解析
2、 /etc/hosts 文件不可能配置錯誤。
3、現在最懷疑的就是defaultrouter了,用netstat -rn 顯示的沒有問題呀。
到底問題出在那裡那?今天一點興趣都沒有了,不知道我的blog還能堅持多少天
現在只有放松一下了
Copyright © Linux教程網 All Rights Reserved