Skip to content

Network-discovery IPs sent with mask /32 #111

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

Open
sepetuks opened this issue May 16, 2025 · 0 comments
Open

Network-discovery IPs sent with mask /32 #111

sepetuks opened this issue May 16, 2025 · 0 comments

Comments

@sepetuks
Copy link

I have following discovery configuration policy in agent config:

network_discovery:
  policy_1:
    config:
      defaults:
        tenant: Customer 1
        vrf: VRF1
      schedule: "*/5 * * * *"
      timeout: 5
    scope:
      targets:
         - 10.10.10.0/24
         - 10.10.10.254
  • But in Diode server I see data load is with subnet /32 for all IP addresses (example: 10.10.10.4/32) that it detects. I think it is wrong as in IPAM model IP address should have subnet mask same as prefix and at least should follow definition in config.

  • When only one IP address specified (second target) it is not possible to define subnet mask for it. If I set subnet mask it then scans full subnet but not single IP. As mentioned earlier it still loads all IPs with /32 mask,

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