FS#51843 - [iputils] ping -I and traceroute -i not working with labels

Attached to Project: Arch Linux
Opened by asd (ynin) - Tuesday, 15 November 2016, 18:55 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 16 November 2016, 08:01 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
ping and traceroute do not accept labeled interfaces (which you may want to use to get different IP addresses)


Additional info:
* package version: core/iputils 20160308.0db72a4-1 (base)


Steps to reproduce:
# ip addr add 192.168.1.2/24 dev eth0 label eth0:0
or
# ifconfig eth0:0 192.168.1.2 netmask 255.255.255.0 up

$ ping -I eth0:0 192.168.1.2
ping: invalid source address eth0:0

$ traceroute -i eth0:0 192.168.1.1
setsockopt SO_BINDTODEVICE: No such device
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 16 November 2016, 08:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  20161105.1f2bb12-1
Comment by Doug Newgard (Scimmia) - Wednesday, 16 November 2016, 00:59 GMT
Upstream fix: https://github.com/iputils/iputils/commit/1f6f39b84f81cfa6bc243557a68eebeeac7e8ea3

Included in the recently released version.

Loading...