# Return to the knowledge base
Category

Find the right Management IP with SCANNER_SMART_IP_DISCOVERY

Often we heard from customers that most Discovery Solutions add their device with the wrong IP !!

It's good to know that the Slurp'it Device Discovery has therefor an build-in option (no license required) that will help you to detect the right management ip and ignore all others. To explain how this happens we need to dive in a little bit deeper in how the discovery works.

Why are devices detected with the wrong management ip ?
In short, it's kind of a mistake in the way your device configuration is designed. If you want a device to only respond on his Management IP then you should already limit this in the device configuration. Having a single mangement ip also makes it much easier if you have to limit access with an Firewall

Let's say your device has 3 interfaces:

Loopback 0
ip address 192.168.1.1
description management

Ethernet 1
ip address 172.16.2.3
description NOT management

Ethernet 2
ip address 10.3.2.1
description NOT management

 If you don't configure that only Loopback0 can respond to SSH, Telnet or SNMP it basically makes all 3 interfaces a Management IP. Only for your documentation the Loopback 0 is the right one.

 

Example Access List

!
 interface Loopback0
 ip address 192.168.1.1 255.255.255.255
!
ip access-list standard MGMT-SOURCES
 permit 10.9.9.0 0.0.0.255 # Management Subnet where slurpit server is
!
line vty 0 4
 login local
 transport input ssh
 access-class MGMT-SOURCES in
!
snmp-server community YOURCOMMUNITY RO MGMT-SOURCES
!

How does Slurp'its SCANNER_SMART_IP_DISCOVERY work ?
When a Device is detected it will run an Algorithm which will use multiple checks to verify what IP is configured as the right Management IP. Incase a Wrong ip is returned, first thing you have to verify in your DNS server is the IP that is connected to the Host record of your network device.

If this is not possible, then you can always turn off the feature.

  1. Open the docker-compose.override.yml file to find the Smart IP Discovery feature. By default it's turned on.
  2. Make the required changes
  3.  Save the override file
  4.  Restart the application by running sh down.sh && sh up.sh
services:
  slurpit-scanner:
    environment:
      SCANNER_SMART_IP_DISCOVERY: true

    Would you like a hands-on session?

    A couple times a week our in-house trainer is available for a private or group session. In this session we can cover our Slurp'it or Mock'it solution but also integrations with Netpicker, NetBox, Nautobot & Infrahub.

    Yes, keep me informed

    Connect with us on LinkedIn to stay updated on the latest happenings, news, and exciting developments at Slurp'it. Just click the button below to follow us and be a part of our professional network.

    Newsletter


    By submitting this form, I confirm that I have read and agree to the Slurp’it privacy policy.