Possibility of discovering default gateway of IP Router, IP Switch, & IP Firewall
						
					
					
				
			
		
	
			
	
	
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-27-2025 12:07 AM
Hi everyone,
Would it be possible to discover default gateway of IP Router, IP Switch, & IP Firewall and populate network adapter table & CI form? I know that for Linux Servers and Windows Servers default gateway is being discovered and populates the ip_default_gateway field in network adapter table.
I would like to know if this could work for the three classes mentioned.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-27-2025 04:04 AM
Hi @FriendlyDude ,
If the default gateway information is already discovered but not mapped to the correct field, you can create a Business Rule to update the Default Gateway field based on the discovered data.
Example:
Trigger: After
Table: cmdb_ci_network_device
Condition: discovered_data.default_gateway != null
Script:
current.default_gateway = current.discovered_data.default_gateway;
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-27-2025 04:13 AM
default gateway information for IP Router, IP Switch, & IP Firewall is not yet discovered. Do you have an idea how can this be discovered?
I'll keep in mind your suggestion once default gateway is discovered for these classes.
Thanks!
