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

Rules based on CIDR doesn't work #18614

Open
2 tasks done
nanoupi42 opened this issue Dec 27, 2024 · 0 comments
Open
2 tasks done

Rules based on CIDR doesn't work #18614

nanoupi42 opened this issue Dec 27, 2024 · 0 comments

Comments

@nanoupi42
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.11.4

Bug description

Hi,
I have a weird problem on GLPI
I have a lot of CIDR rules and it's doesn't work as expected, it's working for little portion of computer only, but it's not working on the other :

Image

The IP Address of the computer is 172.23.44.118 but when I launch the inventory the entity is set by default each time !
I have tried to manually transfer the computer to the right entity, it's working, but when I relaunch the inventory it's revert to the default.

I have tried to edit the rules to adjust but It's not working.
The test is working fine when I enter the 172.23.44.118 IP :
Image

I have set the transfer model in the destination entity (complete)

I don't understand why it's not working on some computer.
I have the sensation that the issue is related to CIDR /22 or /20
I believe that I have no issue on /24 CIDR for example.
I have tried to change the CIDR on /24 to test 172.23.44.0/24 but it's not working each time... Sometimes it's work sometimes no...

Relevant log output

Page URL

No response

Steps To reproduce

  1. create CIDR rules to affect entity to computer (with /20 or /22 range)
  2. Launch an inventory
  3. The destination entity is not set after inventory

Your GLPI setup information

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant