请问如何在 Solaris 10 上配置网络

LoveCreatesBeauty 2006-02-14 07:34:45
你好,


我在VMware里面装了 Solaris 10 experimental (Sun Microsystems Inc. SunOS 5.10
s10_69 December 2004),位于 Windows 2000 里. 我能通过 Windows 连接网络,但是不能在 Solaris 中使用网络。

下面是我的 Windows 网络设置.

Default gateway : 192.168.1.1
Preferred DNS server : 192.168.1.3
Alternate DNS server : 192.168.1.1


请问如何配置使 Solaris 能连通网络呢?

我需要生成和修改 /etc/resolv.conf, /etc/hosts 这些文件吗. 如何在这些文件进行配置呢?


谢谢!
...全文
74 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
LoveCreatesBeauty 2006-02-18
  • 打赏
  • 举报
回复
No. I'll take the following method.

http://spaces.msn.com/lovecreatesbeauty/blog/cns!F8F640E9473C03F4!616.entry

From: Oscar del Rio - view profile
Date: Tues, Feb 14 2006 11:01 pm
Email: Oscar del Rio <del...@mie.utoronto.ca>
Groups: comp.unix.solaris
Not yet ratedRating:
show options


Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author



lovecreatesbeauty wrote:
> Followings are my machine settings in a LAN.

> Default gateway : 192.168.1.1
> Preferred DNS server : 192.168.1.3
> Alternate DNS server : 192.168.1.1



Create /etc/resolv.conf:
nameserver 192.168.1.3
nameserver 192.168.1.1

Create /etc/defaultrouter:
192.168.1.1


cp /etc/nsswitch.dns /etc/nsswitch.conf
route add default 192.168.1.1


Reply Rate this post: Text for clearing space
xjianan 2006-02-16
  • 打赏
  • 举报
回复
Run "sys-unconfig" command, the machine will reboot. Then you can reconfigure your network according to hint.

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧