PGCE 认证专家,周末班报名中,欢迎垂询         2024清明放假通知         19cOCP 3月周末班 正在授课 欢迎试听         RHCE9 3月周末班 正在授课 欢迎试学         数据库运维工程师招聘         RHCE认证培训钜惠学习         OCP认证培训组团活动特惠中!!!         MySQL认证周末班 正在招生 欢迎垂询!         

虚拟机ping出现了DUP!怎么解决呢?

更新时间: 2021-03-30 13:51

在使用SecureCRT连接虚拟机时,连接出现异常,很久都没连接上,但是也没有出现报错
直接在虚拟机上ping本地的IP,发现出现了DUP!的状态

[root@test ~]# ping 192.168.133.1
PING 192.168.133.1 (192.168.133.1) 56(84) bytes of data.
64 bytes from 192.168.133.1: icmp_seq=1 ttl=128 time=0.209 ms
64 bytes from 192.168.133.1: icmp_seq=1 ttl=128 time=0.588 ms (DUP!)
64 bytes from 192.168.133.1: icmp_seq=2 ttl=128 time=0.157 ms
64 bytes from 192.168.133.1: icmp_seq=2 ttl=128 time=0.560 ms (DUP!)
64 bytes from 192.168.133.1: icmp_seq=3 ttl=128 time=0.229 ms
64 bytes from 192.168.133.1: icmp_seq=3 ttl=128 time=0.792 ms (DUP!)
64 bytes from 192.168.133.1: icmp_seq=4 ttl=128 time=0.166 ms
64 bytes from 192.168.133.1: icmp_seq=4 ttl=128 time=2.02 ms (DUP!)
64 bytes from 192.168.133.1: icmp_seq=5 ttl=128 time=0.152 ms
64 bytes from 192.168.133.1: icmp_seq=5 ttl=128 time=0.476 ms (DUP!)
64 bytes from 192.168.133.1: icmp_seq=6 ttl=128 time=0.520 ms
64 bytes from 192.168.133.1: icmp_seq=6 ttl=128 time=0.535 ms (DUP!)

重庆思庄红帽培训
找了找网上的解决方法:
1.清空/etc/udev/rules.d/70-persistent-net.rules :
[root@test ~]# cd /etc/udev/rules.d/
[root@test rules.d]# ll
total 4
-rw-r--r--. 1 root root 628 Sep 26  2019 70-persistent-ipoib.rules
[root@test rules.d]# >70-persistent-ipoib.rules
[root@test rules.d]# ll
total 0
-rw-r--r--. 1 root root 0 Feb 10 18:10 70-persistent-ipoib.rules


2.停掉NetworkManager服务
[root@test]# service NetworkManager stop
Stopping NetworkManager daemon:                            [  OK  ]

3.重启网络服务
[root@orcldg rules.d]# service network restart
Restarting network (via systemctl):                        [  OK  ]


[root@test rules.d]# ping 192.168.133.1
PING 192.168.133.1 (192.168.133.1) 56(84) bytes of data.
64 bytes from 192.168.133.1: icmp_seq=1 ttl=128 time=0.438 ms
64 bytes from 192.168.133.1: icmp_seq=2 ttl=128 time=0.489 ms
64 bytes from 192.168.133.1: icmp_seq=3 ttl=128 time=0.321 ms
64 bytes from 192.168.133.1: icmp_seq=4 ttl=128 time=0.401 ms
64 bytes from 192.168.133.1: icmp_seq=5 ttl=128 time=0.811 ms


网络状态正常,使用SecureCRT连接上了虚拟机

开班信息MORE>>

课程名称 开课时间 上课类型 状态
RHCE培训 3月 周末班 授课中...
OCP培训 3月 周末班 授课中...
PGCE 数据库认证专家 4月 周末班 报名中...
OCM培训 4月 周末班 报名中...
OCP培训 4月 精英班 报名中...
RHCE培训 常年 周末班 报名中...
MySQL培训 常年 周末班 报名中...
<<