因交换机网卡故障导致的网络无法ping通
2016-05-18 16:49
405 查看
服务器主机型号为Dell R730,安装redhat 6.5 x64操作系统、配置IP地址后无法ping通网关
1、测试ping网关192.168.6.1
[root@lkdb Desktop]# ping 192.168.6.1 -----网关
PING 192.168.6.1 (192.168.6.1) 56(84) bytes of data.
From 192.168.6.33 icmp_seq=2 Destination Host Unreachable
From 192.168.6.33 icmp_seq=3 Destination Host Unreachable
From 192.168.6.33 icmp_seq=4 Destination Host Unreachable
无法ping通,查看IP配置信息正常,期间尝试ping自己(192.168.6.33)正常:
[root@lkdb Desktop]# ifconfig
em3 Link encap:Ethernet HWaddr 14:18:77:4D:2E:CA
inet addr:192.168.6.33 Bcast:192.168.6.127 Mask:255.255.255.128
inet6 addr: fe80::1618:77ff:fe4d:2eca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:25 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:708 (708.0 b)
Interrupt:40
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:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15852 (15.4 KiB) TX bytes:15852 (15.4 KiB)
2、检查网口em3:
[root@lkdb Desktop]# ethtool em3
Settings for em3:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 10Mb/s --此处显示10Mb/s全双工模式,明显不正常
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
3、更换交换机接口后显示正常,如下:
[root@lkdb Desktop]# ethtool em3
Settings for em3:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s --此处显示1000Mb/s全双工模式,正常
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
4、再次尝试Ping网关正常:
[root@lkdb Desktop]# ping 192.168.6.1
PING 192.168.6.1 (192.168.6.1) 56(84) bytes of data.
From 192.168.6.33 icmp_seq=2 Destination Host Unreachable
From 192.168.6.33 icmp_seq=3 Destination Host Unreachable
From 192.168.6.33 icmp_seq=4 Destination Host Unreachable
64 bytes from 192.168.6.1: icmp_seq=5 ttl=255 time=4.49 ms
64 bytes from 192.168.6.1: icmp_seq=6 ttl=255 time=0.483 ms
64 bytes from 192.168.6.1: icmp_seq=7 ttl=255 time=0.469 ms
64 bytes from 192.168.6.1: icmp_seq=8 ttl=255 time=0.493 ms
64 bytes from 192.168.6.1: icmp_seq=9 ttl=255 time=0.465 ms
64 bytes from 192.168.6.1: icmp_seq=10 ttl=255 time=0.466 ms
64 bytes from 192.168.6.1: icmp_seq=11 ttl=255 time=0.490 ms
64 bytes from 192.168.6.1: icmp_seq=12 ttl=255 time=0.502 ms
64 bytes from 192.168.6.1: icmp_seq=13 ttl=255 time=0.484 ms
64 bytes from 192.168.6.1: icmp_seq=14 ttl=255 time=5.10 ms
^C
--- 192.168.6.1 ping statistics ---
14 packets transmitted, 10 received, +3 errors, 28% packet loss, time 13162ms
rtt min/avg/max/mdev = 0.465/1.344/5.102/1.732 ms, pipe 3
1、测试ping网关192.168.6.1
[root@lkdb Desktop]# ping 192.168.6.1 -----网关
PING 192.168.6.1 (192.168.6.1) 56(84) bytes of data.
From 192.168.6.33 icmp_seq=2 Destination Host Unreachable
From 192.168.6.33 icmp_seq=3 Destination Host Unreachable
From 192.168.6.33 icmp_seq=4 Destination Host Unreachable
无法ping通,查看IP配置信息正常,期间尝试ping自己(192.168.6.33)正常:
[root@lkdb Desktop]# ifconfig
em3 Link encap:Ethernet HWaddr 14:18:77:4D:2E:CA
inet addr:192.168.6.33 Bcast:192.168.6.127 Mask:255.255.255.128
inet6 addr: fe80::1618:77ff:fe4d:2eca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:25 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:708 (708.0 b)
Interrupt:40
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:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15852 (15.4 KiB) TX bytes:15852 (15.4 KiB)
2、检查网口em3:
[root@lkdb Desktop]# ethtool em3
Settings for em3:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 10Mb/s --此处显示10Mb/s全双工模式,明显不正常
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
3、更换交换机接口后显示正常,如下:
[root@lkdb Desktop]# ethtool em3
Settings for em3:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s --此处显示1000Mb/s全双工模式,正常
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
4、再次尝试Ping网关正常:
[root@lkdb Desktop]# ping 192.168.6.1
PING 192.168.6.1 (192.168.6.1) 56(84) bytes of data.
From 192.168.6.33 icmp_seq=2 Destination Host Unreachable
From 192.168.6.33 icmp_seq=3 Destination Host Unreachable
From 192.168.6.33 icmp_seq=4 Destination Host Unreachable
64 bytes from 192.168.6.1: icmp_seq=5 ttl=255 time=4.49 ms
64 bytes from 192.168.6.1: icmp_seq=6 ttl=255 time=0.483 ms
64 bytes from 192.168.6.1: icmp_seq=7 ttl=255 time=0.469 ms
64 bytes from 192.168.6.1: icmp_seq=8 ttl=255 time=0.493 ms
64 bytes from 192.168.6.1: icmp_seq=9 ttl=255 time=0.465 ms
64 bytes from 192.168.6.1: icmp_seq=10 ttl=255 time=0.466 ms
64 bytes from 192.168.6.1: icmp_seq=11 ttl=255 time=0.490 ms
64 bytes from 192.168.6.1: icmp_seq=12 ttl=255 time=0.502 ms
64 bytes from 192.168.6.1: icmp_seq=13 ttl=255 time=0.484 ms
64 bytes from 192.168.6.1: icmp_seq=14 ttl=255 time=5.10 ms
^C
--- 192.168.6.1 ping statistics ---
14 packets transmitted, 10 received, +3 errors, 28% packet loss, time 13162ms
rtt min/avg/max/mdev = 0.465/1.344/5.102/1.732 ms, pipe 3
相关文章推荐
- CHttpProxyServer
- android网络编程——http get
- R语言︱SNA-社会关系网络—igraph包(社群划分、画图)(三)
- android网络编程——使用Android中的网络连接
- RHEL7网络管理相关的命令
- TCP的拥塞控制
- 使用AsyncTask 加载网络图片
- Http协议
- Windows网络编程学习笔记(7) TCP socket 状态转换过程
- 只是插了一根网线,全网中断?
- unexpected element (uri:"", local:"sean:person"). Expected elements are <{http://sean.com}person>
- 为sublime text 3 手动安装Package Control, 并设置HTTP 代理
- XMLHttpRequest level2介绍
- 一个基于nodejs,支持http/https的中间人(MITM)代理,便于渗透测试和开发调试。
- HTTP 协议详解
- 基于态势感知的网络安全事件预测方法分析
- Windows网络编程学习笔记(6) Socket关闭、流式协议、分组-重组I/O
- 网络IO之阻塞、非阻塞、同步、异步总结
- 学习socket通信总结(一)
- OKHttp源码解析(一)