免费注册 查看新帖 |

Chinaunix

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

菜鸟向各位大虾请教:unbuntu上网问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-02 10:55 |只看该作者 |倒序浏览
我按照书上和网络上介绍的方法在/etc/network/interfaces 设置IP  子网 网关 ;同时也设置了DNS。但而且也激活了,但是就是不能上网。
   我IP:***.***.***.239
    网关::***.***.***.254
下面是我用ifconfig -a 输出的结果:
  eth0      Link encap:Ethernet  HWaddr 00:E0:4C:3B:09:E9  
          inet addr::***.***.***.239  Bcast:210.34.14.255  Mask:255.255.255.0
          inet6 addr: 2001:da8:e800:ff:2e0:4cff:fe3b:9e9/64 Scope:Global
          inet6 addr: fe80::2e0:4cff:fe3b:9e9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2346 errors:0 dropped:207 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:164274 (160.4 KiB)  TX bytes:3113 (3.0 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: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)

下面是用route输出的结果:
     Kernel IP routing table
       Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
       localnet        *               255.255.255.0   U     0      0        0 eth0
      169.254.0.0     *               255.255.0.0     U     1000   0        0 eth0
      default         :***.***.***.254   0.0.0.0         UG    0      0        0 eth0

请教各位大虾为什么不能上网!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP