免费注册 查看新帖 |

Chinaunix

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

[系统管理] 44p170 ping 不通内网,网卡灯也不亮 请教各位是怎么回事啊? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-01 18:00 |只看该作者 |倒序浏览
AIX Version 5
(C) Copyrights by IBM and by others 1982, 2006.
Console login: root
*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 5.3!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
Last login: Tue Dec  1 17:08:13 CST 2009 on /dev/tty0

# ping www.google.com
PING www.l.google.com: (74.125.153.147): 56 data bytes
64 bytes from 74.125.153.147: icmp_seq=0 ttl=49 time=159 ms
64 bytes from 74.125.153.147: icmp_seq=1 ttl=49 time=141 ms
64 bytes from 74.125.153.147: icmp_seq=2 ttl=49 time=176 ms
64 bytes from 74.125.153.147: icmp_seq=3 ttl=49 time=264 ms
64 bytes from 74.125.153.147: icmp_seq=4 ttl=49 time=150 ms
^C
----www.l.google.com PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 141/178/264 ms

# ping 192.168.0.12
PING 192.168.0.12: (192.168.0.12): 56 data bytes
^C
----192.168.0.12 PING Statistics----
6 packets transmitted, 0 packets received, 100% packet loss

# ifconfig -a
en0: flags=4e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPR>
        inet 192.168.0.18 netmask 0xffffff00 broadcast 192.168.0.255
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BI>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
# netstat -in
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
en0   1500  link#2      0.9.6b.de.22.19       1742     0      789     0     0
en0   1500  192.168.0   192.168.0.18          1742     0      789     0     0
lo0   16896 link#1                            1505     0     1613     0     0
lo0   16896 127         127.0.0.1             1505     0     1613     0     0
lo0   16896 ::1                               1505     0     1613     0     0
# netstat -rn
Routing tables
Destination      Gateway           Flags   Refs     Use  If   Exp  Groups

Route Tree for Protocol Family 2 (Internet):
default          192.168.0.1       UGA       0        28 en0      -      -
127/8            127.0.0.1         U         4       631 lo0      -      -
192.168.0.0      192.168.0.18      UHSb      0         0 en0      -      -   =>
192.168.0/24     192.168.0.18      U         2       146 en0      -      -
192.168.0.18     127.0.0.1         UGHS     24       871 lo0      -      -
192.168.0.255    192.168.0.18      UHSb      0         4 en0      -      -

Route Tree for Protocol Family 24 (Internet v6):
::1              ::1               UH        0         0 lo0      -      -
# cat /etc/hosts
# @(#)47        1.1  src/bos/usr/sbin/netstart/hosts, cmdnet, bos530 7/24/91 106
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos530 src/bos/usr/sbin/netstart/hosts 1.1
#
# Licensed Materials - Property of IBM
#
# (C) COPYRIGHT International Business Machines Corp. 1985,1989
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: TCPIP hosts
#
# FUNCTIONS: loopback
#
# ORIGINS: 26  27
#
# (C) COPYRIGHT International Business Machines Corp. 1985, 1989
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#  /etc/hosts
#
# This file contains the hostnames and their address for hosts in the
# network.  This file is used to resolve a hostname into an Internet
# address.
#
# At minimum, this file must contain the name and address for each
# device defined for TCP in your /etc/net file.  It may also contain
# entries for well-known (reserved) names such as timeserver
# and printserver as well as any other host name and address.
#
# The format of this file is:
# Internet Address      Hostname        # Comments
# Items are separated by any number of blanks and/or tabs.  A '#'
# indicates the beginning of a comment; characters up to the end of the
# line are not interpreted by routines which search this file.  Blank
# lines are allowed.

# Internet Address      Hostname        # Comments
# 192.9.200.1           net0sample      # ethernet name/address
# 128.100.0.1           token0sample    # token ring name/address
# 10.2.0.2              x25sample       # x.25 name/address
127.0.0.1               loopback localhost      # loopback (lo0) name/address
192.168.0.18    44p170
# cat /etc/resolv.conf
nameserver      202.106.46.151

[ 本帖最后由 xinshouzhe 于 2009-12-2 11:37 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-12-01 22:54 |只看该作者

回复 #1 xinshouzhe 的帖子

192.168.0.12
是个什么东西

论坛徽章:
0
3 [报告]
发表于 2009-12-01 23:11 |只看该作者
能ping google,网卡灯却不亮 不可能吧
至于内网不通,那就看网络配置了,比如说交换机、防火墙之类

论坛徽章:
0
4 [报告]
发表于 2009-12-02 09:19 |只看该作者

回复 #3 meilixueshan 的帖子

防火墙我关闭了之后也ping不通。网卡灯确实不亮。我也觉得很奇怪。

论坛徽章:
0
5 [报告]
发表于 2009-12-02 10:51 |只看该作者

!

如果网卡坏了,你就买个pci网卡加上不就结了,灯都不亮,是不是你网线有问题哟!

灯亮了再说别的事情吧,个人看法,仅供参考!

论坛徽章:
0
6 [报告]
发表于 2009-12-02 11:28 |只看该作者
难不成灯坏了
算了,找个懂网络的,随便做个trace、或者抓包,

论坛徽章:
0
7 [报告]
发表于 2009-12-02 11:31 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
8 [报告]
发表于 2009-12-02 11:35 |只看该作者
网线是好的啊,插到PC机上能正常使用的啊,就是在170上也是能ping通外网,ping不通内网。网卡不可能是坏的,要不然外网肯定ping不通啊。

论坛徽章:
0
9 [报告]
发表于 2009-12-02 13:07 |只看该作者
是不是配置dns了?

论坛徽章:
0
10 [报告]
发表于 2009-12-02 13:53 |只看该作者
# cat /etc/resolv.conf
nameserver      202.106.46.151
但是在 #smit mktcpip里没有设置,设置的话一OK就失败,所以没设。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP