Package: iputils-arping
Version: 3:20200821-2
Severity: minor
Dear Maintainer,
if options "-s src_ip" is combined with -U or -A, is does not work.
Arping always send frames with main ip for a given interface.
Example: my test node has lxcbr0 bridge with ipv4 addresses
192.168.16.23, 192.168.16.123 and 192.168.16.124:
# ip -4 a l dev lxcbr0
6: lxcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default qlen 1000
inet 192.168.16.23/20 brd 192.168.31.255 scope global lxcbr0
valid_lft forever preferred_lft forever
inet 192.168.16.123/32 scope global lxcbr0
valid_lft forever preferred_lft forever
inet 192.168.16.124/32 scope global lxcbr0
valid_lft forever preferred_lft forever
# arping -I lxcbr0 -s 192.168.16.124 -U 192.168.16.1
ARPING 192.168.16.1 from 192.168.16.23 lxcbr0
Unicast reply from 192.168.16.1 [00:BE:4D:00:16:40] 0.956ms
...
Tcpdump shows that frames come to 192.168.16.1 with src_ip=192.168.16.23,
not 192.168.16.124. The same happens for -A and for real interfaces.
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.8.0-2-amd64 (SMP w/2 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages iputils-arping depends on:
ii libc6 2.31-5
ii libcap2 1:2.44-1
ii libcap2-bin 1:2.44-1
iputils-arping recommends no packages.
iputils-arping suggests no packages.
-- no debconf information