Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netdiscovery failing to do arp discovery on Redhat/Centos 7 #605

Closed
acdmail opened this issue Nov 13, 2018 · 2 comments
Closed

netdiscovery failing to do arp discovery on Redhat/Centos 7 #605

acdmail opened this issue Nov 13, 2018 · 2 comments

Comments

@acdmail
Copy link

acdmail commented Nov 13, 2018

hi,
On try to run the network discovery task(agent version is 2.4.2) on Centos 7 I am getting below:
[root@localhost bin]# ./fusioninventory-netdiscovery --first 192.168.1.1 --last 192.168.1.2 --debug --control
[info] Can't run arp command, arp table detection can't be used

In fact it is normal as arp command is not shipped as default on Redhat/CentOs 7 anymore, iproute is used instead so on Centros/Redhat 7+: "ip neighbor show" should be used instead
Could you advise please?
Thanks

@g-bougard
Copy link
Contributor

Hi @acdmail
on my CentOS 7 VM, I see arp command is provided by net-tools package.
Is that package installed on your system ? In which version ?

Updating the discovery also using ip show neighbor show as an alternative could be interesting to find the mac address for local machines.

@acdmail
Copy link
Author

acdmail commented Nov 13, 2018

hi @g-bougard,
I am using Centos 7.3.1611, minimal install, by default net-tools package is not installed on minimal install and all the network management tasks in OS are done using ip utility (part of iproute package).
For sure I can install net-tools package but this may be an issue to do in case of multiple machines to be inventoried

As I can see same seems to be true for Ubuntu minimal install, no net-tools by default (see it here please https://lists.ubuntu.com/archives/ubuntu-devel/2017-January/039651.html)

Thanks

@g-bougard g-bougard added this to the 2.4.3 milestone Nov 13, 2018
@g-bougard g-bougard added this to To do in FusionInventory Agent 2.4.3 via automation Nov 13, 2018
FusionInventory Agent 2.4.3 automation moved this from To do to Done Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants