当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > HP-UX常见问题解答(15)

Unix/Linux
vi的命令
如何判断Zend Optimizer安装成功
Linux常用的日志文件和常用命令
linux如何修改主机名
linux如何删除非空文件夹|linux怎么删除非空文件夹
gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpect
vsftpd 配置例子
vsftpd 配置
vsftpd如何配置虚拟用户:PAM + PgSQL + FreeBSD-4
vsftp中文说明
VSFTP配置实例
vsftpd 配置(中)
怎么使用户能访问ftp,但不能远程登录
httpd: Could not determine the servers fully qualified domain name, using 127.0.
测试apache是否安装成功
apache 80端口无法打开|连接
make_sock: could not bind to address 0.0.0.0:443
kernel-headers下载
kernel-headers-2.2.1-4
找不到config.inc.php 没有config.inc.php这个文件

Unix/Linux 中的 HP-UX常见问题解答(15)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 53 ::
收藏到网摘: n/a


  网络不通怎么办?
  1) 用 lanscan 看系统网卡状态
  如果某个网卡硬件状态(HdwState)是DOWN,首先检查网线和网卡指示灯,如果指示灯不亮,说明该网卡有可能存在硬件问题,请立刻拨打惠普热线电话:800-810-7000 或010-65643800
  1) 用 ping 命令检查网络通讯是否建立。例如:
  
  # ping -i 15.85.114.14 15.85.114.13
  PING 15.85.114.13: 64 byte packets
  64 bytes from 15.85.114.13: icmp_seq=3. time=1. ms
  64 bytes from 15.85.114.13: icmp_seq=4. time=0. ms
  64 bytes from 15.85.114.13: icmp_seq=5. time=0. ms
  64 bytes from 15.85.114.13: icmp_seq=6. time=0. ms
  64 bytes from 15.85.114.13: icmp_seq=7. time=0. ms
  64 bytes from 15.85.114.13: icmp_seq=8. time=0. ms
  64 bytes from 15.85.114.13: icmp_seq=9. time=0. ms
  64 bytes from 15.85.114.13: icmp_seq=10. time=0. ms
  64 bytes from 15.85.114.13: icmp_seq=11. time=0. ms
  64 bytes from 15.85.114.13: icmp_seq=12. time=1. ms
  
  ----15.85.114.13 PING Statistics----
  13 packets transmitted, 10 packets received, 23% packet loss

  round-trip (ms) min/avg/max = 0/0/1
  上述命令检查了主机中IP地址为15.85.114.14的网卡和网络系统中IP地址为15.85.114.13的节点间的网络连接,结果是连接正常。
  反之,如果没有回应,则表明连接不正常。
  ping命令检查了OSI网络的第三层连接。如果执行ping命令失败,可以用linkloop命令检查第二层连接是否正常。例如:
  # linkloop -i 2 0x080009da0460
  Link connectivity to LAN station: 0x080009da0460
  -- OK
  # linkloop -i 2 0x080009d97071
  Link connectivity to LAN station: 0x080009d97071
  error: get_msg2 getmsg failed, errno = 4
  -- FAILED
  frames sent : 1
  frames received correctly : 0
  reads that timed out : 1
  上述第一条命令检查了主机中网卡的NMID为2的卡与网络系统中网卡的MAC地址为 0x080009da0460的卡之间的第二层连接,结果是连接正常。
  上述第二条命令检查了主机中网卡的NMID为2的卡与网络系统中网卡的MAC地址为 0x080009d97071的卡之间的第二层连接,结果表明连接不正常。
  一般情况下,使用以上命令就可以基本确认网络是否工作正常。