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

Unix/Linux
Linux 网管 123 --- 第6章. 一般系统管理问题 -3.变更使用者密码
Linux 网管 123 --- 第6章. 一般系统管理问题 -4.关闭删除使用者帐号
Linux 网管 123 --- 第6章. 一般系统管理问题 -5.Linux 密码及 S
Linux 网管 123 --- 第6章. 一般系统管理问题 -6.关闭系统及重新启动
Linux 网管 123 --- 第7章. 自订的组态及管理内容 -1.HTTP
Linux 网管 123 --- 第7章. 自订的组态及管理内容 -2.DNS
Linux 网管 123 --- 第7章. 自订的组态及管理内容 -3.使用 TACACS
Linux 网管 123 --- 第7章. 自订的组态及管理内容 -4.使用 Samba
Linux 网管 123 --- 第7章. 自订的组态及管理内容 -5.使用 Netata
Linux 网管 123 --- 第7章. 自订的组态及管理内容 -6.NFS
Linux 网管 123 --- 第13章. 其他的问题 2.哪里可以找到帮助
Linux 网管 123 --- 第13章. 其他的问题 3.附带文件的指示
RedHat 6.2 中文显示与输入的设置
RedHat 6.2 中文 TrueType 字体的使用
Linux 网管 123 --- 第13章. 其他的问题 1.系统损毁
Linux系统中网络配置详解
如何配置linux与win2000/NT 双重引导
kernel hacking简单入门
Linux下如何刻录任何文件系统格式的光盘?
编译内核make dep 是啥意思 ?

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


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