Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Virtual IP Linux Client doesn't show in Inventory

Hi,

in a linux client (centOS 7) i have one physical network with 2 Virtual IP address configured on it:

ls ifcfg-*

ifcfg-ens33  (physical 192.168.175.129)

ifcfg-ens33:1  (virtual 192.168.175.140)

ifcfg-ens33:2  (virtual 192.168.175.150)

ifcfg-ens37 (physical 192.168.175.130)

In the main page of ocs inventory frontend (administrative data) I can see the 3 IP address

192.168.175.129 / 192.168.175.140 / 192.168.175.150 

I found IT in the XML under HARDWARE--> IPADDR

<IPADDR>::1/1/192.168.175.129/192.168.175.140/192.168.175.150/fe80::878b:c02e:ca49:d96c//192.168.175.130/fe80::745e:9f1b:f01e:bb5c/</IPADDR>

But in the Network TAB I see only ens33 and ens37 physical Interface with only the IP of the physical Network (192.168.175.129 and 192.168.175.130).

I need to inventory all the IP address (both physical and virtual). Is there any way?

Client: ocsinventory-agent-2.4.0-1.el7.ocs.x86_64

Server: ocsinventory-server-2.4.1-1.el7.ocs.noarch

Many thanks

in OCS Inventory NG agent for Unix by (240 points)

2 Answers

0 votes
Hi

Post the result of the command "ip addr show"

Regards

Frank
by (88.5k points)
0 votes

Hi Frank,

here the output:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

       valid_lft forever preferred_lft forever

    inet6 ::1/128 scope host

       valid_lft forever preferred_lft forever

2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000

    link/ether 00:0c:29:25:e1:46 brd ff:ff:ff:ff:ff:ff

    inet 192.168.175.129/24 brd 192.168.175.255 scope global noprefixroute ens33

       valid_lft forever preferred_lft forever

    inet 192.168.175.140/24 brd 192.168.175.255 scope global secondary noprefixroute ens33:1

       valid_lft forever preferred_lft forever

    inet 192.168.175.150/24 brd 192.168.175.255 scope global secondary noprefixroute ens33:2

       valid_lft forever preferred_lft forever

    inet6 fe80::878b:c02e:ca49:d96c/64 scope link noprefixroute

       valid_lft forever preferred_lft forever

3: ens37: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000

    link/ether 00:0c:29:25:e1:50 brd ff:ff:ff:ff:ff:ff

    inet 192.168.175.130/24 brd 192.168.175.255 scope global noprefixroute ens37

       valid_lft forever preferred_lft forever

    inet6 fe80::12fe:63b4:ba0f:ee31/64 scope link noprefixroute

       valid_lft forever preferred_lft forever

Many thanks for your help

Regards

by (240 points)
 
Powered by Question2Answer
...