免费注册 查看新帖 |

Chinaunix

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

[网络管理] 请教各位高手:linux 上网设置问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-05 19:28 |只看该作者 |倒序浏览
我是用unbuntu 7.04,机子cpu是AMD2800+,网卡:realtek rtl8139D(在内核里:有8139cp.ko  8139too.ko,我是在安装时让其自动加载网卡驱动!
我是用静态IP。但一直都无法上网。我ping 自己机子设置的IP,能够到达;但是ping 网关,却不能到达!真的不知道什么原因啊!
肯请高手们帮忙啊!
我用dmesg | grep eth0 得到下列输出
[   19.473555] eth0: RealTek RTL8139 at 0xdc846000, 00:e0:4c:ea:55:5d, IRQ 16
[   19.473557] eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
[   29.409913] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[  113.421750] NETDEV WATCHDOG: eth0: transmit timed out
[  116.421460] eth0: Transmit timeout, status 0c 0005 c07f media 00.
[  116.421466] eth0: Tx queue start entry 28  dirty entry 24.
[  116.421470] eth0:  Tx descriptor 0 is 0008a11a. (queue head)
[  116.421473] eth0:  Tx descriptor 1 is 0008a101.
[  116.421476] eth0:  Tx descriptor 2 is 0008a11a.
[  116.421479] eth0:  Tx descriptor 3 is 0008a03c.
[  116.421490] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[  272.410047] NETDEV WATCHDOG: eth0: transmit timed out
[  275.409757] eth0: Transmit timeout, status 0c 0055 c07f media 00.
[  275.409762] eth0: Tx queue start entry 4  dirty entry 0.
[  275.409766] eth0:  Tx descriptor 0 is 0008a03c. (queue head)
[  275.409769] eth0:  Tx descriptor 1 is 0008a03c.
[  275.409773] eth0:  Tx descriptor 2 is 0008a03c.
[  275.409775] eth0:  Tx descriptor 3 is 0008a03c.
[  275.409787] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[  287.408566] NETDEV WATCHDOG: eth0: transmit timed out
[  290.408275] eth0: Transmit timeout, status 0c 0055 c07f media 00.
[  290.408280] eth0: Tx queue start entry 4  dirty entry 0.
[  290.408283] eth0:  Tx descriptor 0 is 0008a03c. (queue head)
[  290.408286] eth0:  Tx descriptor 1 is 0008a03c.
[  290.408289] eth0:  Tx descriptor 2 is 0008a03c.
[  290.408292] eth0:  Tx descriptor 3 is 0008a03c.
[  290.408303] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[  302.411084] NETDEV WATCHDOG: eth0: transmit timed out
[  305.410794] eth0: Transmit timeout, status 0c 0005 c07f media 00.
[  305.410799] eth0: Tx queue start entry 4  dirty entry 0.
[  305.410802] eth0:  Tx descriptor 0 is 0008a03c. (queue head)
[  305.410806] eth0:  Tx descriptor 1 is 0008a03c.
[  305.410809] eth0:  Tx descriptor 2 is 0008a03c.
[  305.410811] eth0:  Tx descriptor 3 is 0008a03c.
[  305.410822] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[  317.409603] NETDEV WATCHDOG: eth0: transmit timed out
[  320.409312] eth0: Transmit timeout, status 0c 0055 c07f media 00.
[  320.409317] eth0: Tx queue start entry 4  dirty entry 0.
[  320.409321] eth0:  Tx descriptor 0 is 0008a03c. (queue head)
[  320.409324] eth0:  Tx descriptor 1 is 0008a03c.
[  320.409327] eth0:  Tx descriptor 2 is 0008a03c.
[  320.409330] eth0:  Tx descriptor 3 is 0008a03c.
[  320.409341] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[  332.408122] NETDEV WATCHDOG: eth0: transmit timed out
[  335.407831] eth0: Transmit timeout, status 0c 0005 c07f media 00.
[  335.407835] eth0: Tx queue start entry 4  dirty entry 0.
[  335.407839] eth0:  Tx descriptor 0 is 0008a03c. (queue head)
[  335.407842] eth0:  Tx descriptor 1 is 0008a03c.
[  335.407845] eth0:  Tx descriptor 2 is 0008a03c.
[  335.407848] eth0:  Tx descriptor 3 is 0008a03c.
[  335.407858] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[  347.406640] NETDEV WATCHDOG: eth0: transmit timed out
[  350.406349] eth0: Transmit timeout, status 0c 0055 c07f media 00.
[  350.406354] eth0: Tx queue start entry 4  dirty entry 0.
[  350.406357] eth0:  Tx descriptor 0 is 0008a03c. (queue head)
[  350.406360] eth0:  Tx descriptor 1 is 0008a03c.
[  350.406363] eth0:  Tx descriptor 2 is 0008a03c.
[  350.406366] eth0:  Tx descriptor 3 is 0008a03c.
[  350.406377] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

我用ifconfig -a 得到下列输出:
eth0   Link encap:Ethernet  HWaddr 00:E0:4C:EA:55:5D  
          inet addr:210.34.14.***  Bcast:210.34.14.255  Mask:255.255.255.0
          inet6 addr: 2001:da8:e800:ff:2e0:4cff:feea:555d/64 Scope:Global
          inet6 addr: fe80::2e0:4cff:feea:555d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2387 errors:0 dropped:4638 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:159746 (156.0 KiB)  TX bytes:3626 (3.5 KiB)
          Interrupt:16 Base address:0x6000

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:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4704 (4.5 KiB)  TX bytes:4704 (4.5 KiB)

论坛徽章:
0
2 [报告]
发表于 2007-07-10 02:27 |只看该作者
也许是你的网关的问题。把网关IP贴出来让大家帮你pingping看

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
3 [报告]
发表于 2007-07-10 08:22 |只看该作者
检查网线。还有交换机。
还有网卡的工作速度,强制成10M半双工试试。

论坛徽章:
0
4 [报告]
发表于 2007-07-23 09:34 |只看该作者
我的机器也出现了类似的情况,不同的是一开始网络是没有问题的,隔一段时间就会出现网络不通的情况,必须先down掉再up才恢复正常!

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
5 [报告]
发表于 2007-07-23 11:13 |只看该作者
LS查一下ARP病毒。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP