Conflict -w option between arping and iputils-arping

Asked by JulienPrigent on 2016-11-20

There is a conflict between these 2 packages options that can cause network trouble with ease.
iputils-arping use the option "-w" for timeout in second whereas arping use the same option for timeout in microseconds.

Installing a pgpool2 cluster (for example) from Ubuntu universe repository use by default the arping cmd for the gratuitous ARP Virtual IP.
arping_cmd = 'arping -U $_IP_$ -w 1'

Using by default the arping package instead of iputils-arping can cause serious trouble to you network (tremendous layer2 broadcast).

A quick fix could be switching the -W (second) and -w flag (microsecond) on arping package.
Seems to be a good idea to harmonize the flags for those 2 similar packages.

Issue open on the Github project : https://github.com/ThomasHabets/arping/issues/22

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu arping Edit question
Assignee:
No assignee Edit question
Solved by:
JulienPrigent
Solved:
2016-11-20
Last query:
2016-11-20
Last reply:
2016-11-20

I suggest you report a bug