395 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

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

已完成
缺陷
创建于  
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

评论 (3)

DuanAiLing 创建了任务
DuanAiLing 关联仓库设置为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 问题。

Xie XiuQi 任务状态待办的 修改为已完成
Charlie_Li 负责人设置为luzhihao
Charlie_Li 任务状态已完成 修改为进行中
Charlie_Li 任务类型任务 修改为缺陷
Charlie_Li 任务状态进行中 修改为待办的
Charlie_Li 优先级设置为主要

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

luzhihao 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助