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

Unix/Linux
第三章 在Debian上用Exim配置邮件服务器
Sendmail邮件服务器快速指南 1
Sendmail邮件服务器快速指南 2
Sendmail邮件服务器快速指南 3
使用sendmail配置企业简易邮件系统
RedHatLinux AS3中配置sendmail服务器
RedHatLinux AS3中APACHE+SendMail+OpenWebMail整合
Linux下DNS服务器架设攻略
Linux下DNS服务器架设攻略 2
Linux下DNS服务器架设攻略 3
Linux内核配置选项
域名解析 A记录 MX记录 CNAME记录 TTL
DNS轮循的一些介绍
netfilter/iptables模块编译及应用
和大家一起分享不错的iptables
构筑Linux防火墙之IPtables的概念与用法(1)
构筑Linux防火墙之IPtables的概念与用法(2)
Linux架设DNS服务器(一)
Linux架设DNS服务器(二)
邮件传输原理及相关入门知识概述

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 50 ::
收藏到网摘: 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的卡之间的第二层连接,结果表明连接不正常。
  一般情况下,使用以上命令就可以基本确认网络是否工作正常。