/ 详情

【20.03】【iputils】arping -U强制同步模式下,预期不需要返回值,但是openeuler返回了MAC地址

Done
Bug
Opened this issue  
2020-12-09 16:30

[root@openEuler ~]# ping 9.82.207.145
PING 9.82.207.145 (9.82.207.145) 56(84) bytes of data.
64 bytes from 9.82.207.145: icmp_seq=1 ttl=64 time=0.930 ms
64 bytes from 9.82.207.145: icmp_seq=2 ttl=64 time=0.307 ms

--- 9.82.207.145 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1014ms
rtt min/avg/max/mdev = 0.307/0.618/0.930/0.311 ms
[root@openEuler ~]# arping 9.82.207.145 -U -c 1
ARPING 9.82.207.145 from 9.82.211.86 enp3s0
Unicast reply from 9.82.207.145 [52:54:00:ED:21:67] 1.163ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
[root@openEuler ~]# echo $?
0
[root@openEuler ~]# arping 9.82.207.145 -c 2
ARPING 9.82.207.145 from 9.82.211.86 enp3s0
Unicast reply from 9.82.207.145 [52:54:00:ED:21:67] 1.173ms
Unicast reply from 9.82.207.145 [52:54:00:ED:21:67] 0.770ms
Sent 2 probes (1 broadcast(s))
Received 2 response(s)
[root@openEuler ~]#

-U:无理由的(强制的)ARP模式去更新别的主机上的ARP CACHE列表中的本机的信息,不需要响应。

已推到社区
https://github.com/iputils/iputils/issues/298

Attachments

Comments (3)

ailing created任务
ailing set related repository to openEuler/kernel
展开全部操作日志

Hey ailing_4515653, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

iputils 问题,不是 kernel 问题。

XieXiuQi changed issue state from 待办的 to 已完成
Charlie_Li set assignee to Mr.lu
Charlie_Li changed issue state from 已完成 to 进行中
Charlie_Li changed issue type from 任务 to 缺陷
Charlie_Li changed issue state from 进行中 to 待办的
Charlie_Li set priority to Main

该问题已经通过此pr进行合入:https://gitee.com/src-openeuler/iputils/commit/aa367b3468f08289f7c7361b4fae3330a6dba474
测试结果图如下,采用-U无返回值:
输入图片说明

Mr.lu changed issue state from 待办的 to 已完成

Sign in to comment

状态
Assignees
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
确定
参与者(4)
5329419 openeuler ci bot 1578984659