免费注册 查看新帖 |

Chinaunix

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

十分离奇的网络问题…… 求取高手解答! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-01 14:49 |只看该作者 |倒序浏览
1可用积分
操作系统 fedora 7 网卡 RTL8111/8168B 上网位置 实验室
主要现象:
系统能够支持这块网卡,网络配置可里面显示了网卡的类型,MAC地址也能探测到,IP和DNS等网络配置都

没有问题(和windows下是一样的,windows下可以上网),但不能上网!

[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:858:1A:3C   
          inet addr:192.168.23.222  Bcast:192.168.23.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  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:1000  
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:17 Base address:0x8000  

lo        Link encap:Local 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:7129 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7129 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0  
          RX bytes:58105984 (55.4 MiB)  TX bytes:58105984 (55.4 MiB)

[root@localhost ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.23.0    *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
default         192.168.23.1    0.0.0.0         UG    0      0        0 eth0
[root@localhost ~]# ping 192.168.23.1

ping网关不通,另外开机时网卡上的指示灯并没有闪亮现象
[root@localhost ~]# ping 192.168.23.1
PING 192.168.23.1 (192.168.23.1) 56(84) bytes of data.
From 192.168.23.222 icmp_seq=2 Destination Host Unreachable
From 192.168.23.222 icmp_seq=3 Destination Host Unreachable
From 192.168.23.222 icmp_seq=4 Destination Host Unreachable
From 192.168.23.222 icmp_seq=6 Destination Host Unreachable
From 192.168.23.222 icmp_seq=7 Destination Host Unreachable

--- 192.168.23.1 ping statistics ---
12 packets transmitted, 0 received, +9 errors, 100% packet loss, time 10999ms
, pipe 3

ping自己是通的   DNS设置好的,没有问题

[root@localhost6 ~]# arp -an                    这说明什么问题啊???
? (192.168.23.1) at <incomplete> on eth0

[root@localhost6 ~]# netstat -i                没有数据包
Kernel Interface table
Iface       MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0       1500   0        0      0      0      0        0      0      0      0 BMU
lo        16436   0     5569      0      0      0     5569      0      0      0 LRU

[root@localhost6 ~]# tcpdump -v               没有数据包
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes

0 packets captured
0 packets received by filter
0 packets dropped by kernel

请问是驱动的问题还是其他的问题(如果是驱动的问题,为什么又能检测到网卡)?请指点解决方法,不

胜感激!!!

论坛徽章:
0
2 [报告]
发表于 2007-08-01 16:15 |只看该作者
既然灯都不亮,还不如查下网线是否有问题。

论坛徽章:
0
3 [报告]
发表于 2007-08-01 17:11 |只看该作者
看看是不是网线或者接口问题把

论坛徽章:
0
4 [报告]
发表于 2007-08-01 18:00 |只看该作者
设置好以后,没网卡被激活没有啊

论坛徽章:
0
5 [报告]
发表于 2007-08-02 09:20 |只看该作者
[root@localhost6 ~]# arp -an                    这说明什么问题啊???
? (192.168.23.1) at <incomplete> on eth0

这个表示你的机器没法获得网关的mac地址,当然就ping不通了
两个可能: 一、网卡驱动有问题,二、线路有问题  造成实际网络没有连接
按照你说的网卡灯不亮,线路问题可能性更大
不知道你的联网环境,如果能登录网络设备的话,建议你直接连接到交换机的管理界面,察看一下相应端口的状态,就知道是不是线路问题了

[ 本帖最后由 jinl 于 2007-8-2 09:25 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2007-08-02 09:29 |只看该作者
ethtool eth0

mii-tool eth0
看看网线有没有插好

论坛徽章:
0
7 [报告]
发表于 2007-08-02 09:51 |只看该作者
还是先检查一下线路吧

论坛徽章:
0
8 [报告]
发表于 2007-08-02 09:58 |只看该作者
我遇到了和楼主类似的情况!请高手帮忙!


http://linux.chinaunix.net/bbs/thread-905165-1-1.html

论坛徽章:
0
9 [报告]
发表于 2007-08-02 12:59 |只看该作者
我用下面命令:
[root@localhost6 ~]# mii-tool
eth0: no link                               
这说明我的的网线没插好吗?但是windows下我可以上网啊

论坛徽章:
0
10 [报告]
发表于 2007-08-02 13:10 |只看该作者
路过... ...大千世界无奇不有.
你都无法获取网关MAC地址,网络当然不通.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP