免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 5372 | 回复: 20
打印 上一主题 下一主题

[VMware] 求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-02-09 15:48 |只看该作者 |倒序浏览
1、ping 202.96.134.133
202.96.134.133 is alive

2、ping www.163.com
ping: unknown host www.163.com

3、nsswitch.conf内容
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd:     files
group:      files
hosts:      files dns
ipnodes:    files
networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  files
# At present there isn't a 'files' backend for netgroup;  the system will
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:  files
aliases:    files
services:   files
sendmailvars:   files
printers:        user files

auth_attr:  files
prof_attr:  files
project:    files

4、resolv.conf的内容
nameserver 202.96.134.133

论坛徽章:
0
2 [报告]
发表于 2004-02-09 16:00 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

帮忙看看啊

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
3 [报告]
发表于 2004-02-09 16:01 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

网关你设置正确吗?
#netstat -nr
帖出来看看。

论坛徽章:
0
4 [报告]
发表于 2004-02-09 16:03 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

文件设置没问题,看看你的DNS是否能正常工作
NSLOOKUP一下

论坛徽章:
0
5 [报告]
发表于 2004-02-09 16:56 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

可以PING通DNS服务器的IP。却不能解析。真奇怪?

论坛徽章:
0
6 [报告]
发表于 2004-02-09 22:15 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

ping 通DNS服务器,不说明DNS已经设置了,到网络设备配置中,在eth0配置中, 从供应商自动得到DNS信息,选上。或者直接在后面的DNS上设置上你的DNS服务器地址。

论坛徽章:
0
7 [报告]
发表于 2004-02-10 10:55 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

我试了,是可以的!

论坛徽章:
0
8 [报告]
发表于 2004-02-10 21:11 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

没配nameserver啊

论坛徽章:
0
9 [报告]
发表于 2004-02-10 21:23 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

配了啊
resolv.conf的内容
nameserver 202.96.134.133

论坛徽章:
0
10 [报告]
发表于 2004-02-11 08:36 |只看该作者

求助!VMWARE里solaris9可以PING通DNS,但不能上网!(在线等)

用nslookup检查一下202.96.134.133能否作域名解析。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP