Bug 752397 - arping uses eth0 as default interface when none was specified
Summary: arping uses eth0 as default interface when none was specified
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: iputils
Version: 16
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jiri Skala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-09 11:55 UTC by Jiri Popelka
Modified: 2014-11-09 22:35 UTC (History)
2 users (show)

Fixed In Version: iputils-20101006-11.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-14 00:49:26 UTC
Type: ---


Attachments (Terms of Use)
Require -I option to be specified (1.15 KB, patch)
2011-11-09 11:55 UTC, Jiri Popelka
no flags Details | Diff

Description Jiri Popelka 2011-11-09 11:55:30 UTC
Created attachment 532548 [details]
Require -I option to be specified

Description of problem:
arping(8) says that the '-I interface' option is required but
arping allows not to specify it.

Version-Release number of selected component (if applicable):
iputils-20101006-10.fc16.x86_64

Steps to Reproduce:
1. Having no eth0 interface
2. arping 10.34.18.1
  
Actual results:
arping: unknown iface eth0

Expected results:
arping: device (option -I) is required
Usage: ...

Additional info:
Attached patch fixes the problem for me.

Comment 1 Fedora Update System 2011-11-10 09:34:02 UTC
iputils-20101006-11.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/iputils-20101006-11.fc16

Comment 2 Fedora Update System 2011-11-11 01:26:43 UTC
Package iputils-20101006-11.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing iputils-20101006-11.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-15755
then log in and leave karma (feedback).

Comment 3 Jiri Popelka 2011-11-11 13:28:55 UTC
Yes, it does now what you had described in bug #741195, comment #3 (including the bridge difficulties).

On my machine I have a br0 bridge and also em1 interface which is added to the br0 device.
1) When I run arping without -I specified it takes em1 as default interface (and I would like it to be br0 because em1 doesn't work in this case).
2) arping(8) still says that -I option is required which still doesn't match the reallity.

Note: There's still my proposed solution, which solves these problems (and could be better acceptable for upstream)  ;-)

Comment 4 Fedora Update System 2011-11-14 00:49:26 UTC
iputils-20101006-11.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.