LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1759|回复: 31

[求助]超难问题 fc6的网络问题

[复制链接]
发表于 2006-12-13 21:35:58 | 显示全部楼层 |阅读模式
我把fc6的ip地址,网关,子网掩码,域名服务器都设成和xp里的一样了,可为什么xp能上网,而fc6不能上网?还有网关,子网掩码,域名服务器的ip都能ping 通的,用域名ping不通...在同一个网段的机器上的web服务能访问,他们也可以访问我机器上的web服务,可网上不去,为什么?
发表于 2006-12-13 22:53:03 | 显示全部楼层
好难。。不会。。。= =;
回复 支持 反对

使用道具 举报

发表于 2006-12-13 23:16:17 | 显示全部楼层
nslookup 试试
$ nslookup www.google.com

[yichi@localhost ~]$ nslookup www.google.com
Server:         211.147.6.4
Address:        211.147.6.4#53

Non-authoritative answer:
www.google.com  canonical name = www.l.google.com.
www.l.google.com        canonical name = www-china.l.google.com.
Name:   www-china.l.google.com
Address: 64.233.189.104


请先确定不是 DNS 的问题。
回复 支持 反对

使用道具 举报

发表于 2006-12-14 08:43:44 | 显示全部楼层
个人意见和楼上的一致,偏向于是DNS的问题
回复 支持 反对

使用道具 举报

发表于 2006-12-14 09:19:16 | 显示全部楼层
确认网关是否同一网段?
    要不改本机IP最后地址为254为网关, 我以前发生过类似的现象。不知原因,但有解决;
XP: IP=172.28.84.23 网关=172.28.85.254
改为 Linux: IP=172.28.84.23 网关=172.28.84.254
通过。

     当然我上网用代理,还是而要在firevox及Konqueror中设定相关参数 .  Mail收发也没问题.
回复 支持 反对

使用道具 举报

发表于 2006-12-14 09:50:43 | 显示全部楼层
楼主说了:还有网关,子网掩码,域名服务器的ip都能ping 通的
-------------------------------
由上可知:
如果楼主没有弄错网关,那么是不用考虑是否是在同一网段的。

还是老意见,认为是楼主本机的DNS设置错误
回复 支持 反对

使用道具 举报

发表于 2006-12-14 09:54:58 | 显示全部楼层
我感觉FC6的网络也有点点问题,比如Firefoc上网不知怎么搞的老是连接被重置!!!(XP下面不存在)
下东西也是Multiget下着下着速度就变为0,过一会儿又慢慢上升,迅雷下同样的就不会!!!不知什么原因??
回复 支持 反对

使用道具 举报

发表于 2006-12-14 10:12:20 | 显示全部楼层
在命令行下:ifconfig
把结果贴出来
还有:vi  /etc/resolv.conf
这个结果也贴出来
大家好帮你查问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-14 18:14:50 | 显示全部楼层
[root@localhost ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:A1:B0:A0:69:10  
          inet addr:172.16.240.47  Bcast:172.16.240.255  Mask:255.255.255.0
          inet6 addr: fe80::2a1:b0ff:fea0:6910/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7084 errors:0 dropped:0 overruns:0 frame:0
          TX packets:407 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:474011 (462.9 KiB)  TX bytes:41575 (40.6 KiB)
          Interrupt:11 Base address:0xc000

lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2007 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2007 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4217572 (4.0 MiB)  TX bytes:4217572 (4.0 MiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@localhost ~]#


[root@localhost ~]# ping 172.16.253.199
PING 172.16.253.199 (172.16.253.199) 56(84) bytes of data.
64 bytes from 172.16.253.199: icmp_seq=1 ttl=126 time=0.704 ms
64 bytes from 172.16.253.199: icmp_seq=2 ttl=126 time=0.785 ms
64 bytes from 172.16.253.199: icmp_seq=3 ttl=126 time=0.876 ms
64 bytes from 172.16.253.199: icmp_seq=4 ttl=126 time=0.606 ms
64 bytes from 172.16.253.199: icmp_seq=5 ttl=126 time=0.611 ms
64 bytes from 172.16.253.199: icmp_seq=6 ttl=126 time=0.791 ms
64 bytes from 172.16.253.199: icmp_seq=7 ttl=126 time=0.924 ms
64 bytes from 172.16.253.199: icmp_seq=8 ttl=126 time=0.962 ms

[2]+  Stopped                 ping 172.16.253.199
[root@localhost ~]# ping 172.16.253.16
PING 172.16.253.16 (172.16.253.16) 56(84) bytes of data.
64 bytes from 172.16.253.16: icmp_seq=1 ttl=126 time=0.845 ms
64 bytes from 172.16.253.16: icmp_seq=2 ttl=126 time=0.880 ms
64 bytes from 172.16.253.16: icmp_seq=3 ttl=126 time=0.699 ms
64 bytes from 172.16.253.16: icmp_seq=4 ttl=126 time=0.925 ms
64 bytes from 172.16.253.16: icmp_seq=5 ttl=126 time=0.908 ms
64 bytes from 172.16.253.16: icmp_seq=6 ttl=126 time=1.09 ms

[3]+  Stopped                 ping 172.16.253.16
[root@localhost ~]# ping 172.16.240.1
PING 172.16.240.1 (172.16.240.1) 56(84) bytes of data.
64 bytes from 172.16.240.1: icmp_seq=1 ttl=255 time=5.57 ms
64 bytes from 172.16.240.1: icmp_seq=2 ttl=255 time=1.25 ms
64 bytes from 172.16.240.1: icmp_seq=6 ttl=255 time=4.86 ms
64 bytes from 172.16.240.1: icmp_seq=7 ttl=255 time=1.12 ms
64 bytes from 172.16.240.1: icmp_seq=8 ttl=255 time=116 ms
64 bytes from 172.16.240.1: icmp_seq=9 ttl=255 time=106 ms
64 bytes from 172.16.240.1: icmp_seq=10 ttl=255 time=23.5 ms
64 bytes from 172.16.240.1: icmp_seq=11 ttl=255 time=12.6 ms
64 bytes from 172.16.240.1: icmp_seq=12 ttl=255 time=2.44 ms
64 bytes from 172.16.240.1: icmp_seq=13 ttl=255 time=1.20 ms
64 bytes from 172.16.240.1: icmp_seq=14 ttl=255 time=143 ms
64 bytes from 172.16.240.1: icmp_seq=15 ttl=255 time=5.93 ms
64 bytes from 172.16.240.1: icmp_seq=16 ttl=255 time=1.94 ms
64 bytes from 172.16.240.1: icmp_seq=17 ttl=255 time=1.62 ms
64 bytes from 172.16.240.1: icmp_seq=18 ttl=255 time=128 ms
64 bytes from 172.16.240.1: icmp_seq=19 ttl=255 time=5.43 ms
64 bytes from 172.16.240.1: icmp_seq=20 ttl=255 time=1.06 ms
64 bytes from 172.16.240.1: icmp_seq=21 ttl=255 time=1.26 ms
64 bytes from 172.16.240.1: icmp_seq=22 ttl=255 time=2.57 ms
64 bytes from 172.16.240.1: icmp_seq=24 ttl=255 time=7.43 ms
64 bytes from 172.16.240.1: icmp_seq=25 ttl=255 time=6.84 ms
64 bytes from 172.16.240.1: icmp_seq=26 ttl=255 time=2.65 ms

[4]+  Stopped                 ping 172.16.240.1
[root@localhost ~]# ping www.zjc.zjut.edu.cn
ping: unknown host www.zjc.zjut.edu.cn
[root@localhost ~]# ping www.zjut.com
ping: unknown host www.zjut.com
[root@localhost ~]#
回复 支持 反对

使用道具 举报

发表于 2006-12-14 18:19:42 | 显示全部楼层
连接方式……协议……
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表