cmdb_ci_ip_network Class in CMDB

Suman21
Tera Expert

Hi,

I would like to understand what is the use of IP Network Class (cmdb_ci_ip_network) in CMDB?

Though we are running the discovery scans, we do not see any information is populated in this table by SNOW Discovery. Do we need to enable any other feature in Discovery to populate this table.

If anyone has any thoughts please share.

 

4 REPLIES 4

CasperJT
Tera Guru

Hi Suman,

 

I would suggest you take a look at this thread, which should answer your question.

 

Solved: Using IP Address CMDB Class (cmdb_ci_ip_address) a... - ServiceNow Community

 

Hope it helps.

 

//Casper

This is the wrong class. They are asking about cmdb_ci_ip_network, not cmdb_ci_ip_address

Appli
Mega Sage

Hi, while discovering network devices, Discovery identifies and classifies information about IP networks adding them to cmdb_ci_ip_network class. As a next step, these IP networks can be converted to discovery range sets and used for discovering other devices placed to these networks.

So, this table may be empty if you do not make a network discovery.

Hope it helps

Vishnu-K
Tera Contributor

Hi @Suman21 ,

 

The reason you're not seeing data in cmdb_ci_ip_network is because you're running regular horizontal discovery (device discovery), which doesn't populate that table. The cmdb_ci_ip_network table is specifically populated by Network Discovery, which is a separate discovery type.

 

How cmdb_ci_ip_network Gets Populated

Network Discovery is a dedicated discovery schedule that uses SNMP to scan your routers and switches to identify IP networks and subnets. This discovery type:

 

  1. Starts from configured seed/starting routers
  2. Uses SNMP (port 161) to query router routing tables
  3. Spreads through the network discovering other routers and layer 3 switches
  4. Captures subnet masks and network information
  5. Populates the cmdb_ci_ip_network table with IP addresses and netmask data

 

Regular horizontal discovery (which scans for Windows servers, Unix devices,..) doesn't populate cmdb_ci_ip_network—it populates device CI tables like cmdb_ci_ip_server, cmdb_ci_ip_workstation, and similar.

 

How to Enable cmdb_ci_ip_network Population :

To populate this table, you need to:

  1. Navigate to Discovery > Schedules
  2. Create a new schedule and select "Networks" in the "Discover" field (not device discovery)
  3. Configure SNMP credentials and ensure port 161 is open
  4. Add starting routers to the schedule (typically your default gateway routers)
  5. Run the Network Discovery .

 

Please mark it as helpful ,if it helped you 😊.