Help on structure on script to find host

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help on structure on script to find host

L1 Bithead


How would you achive this?


So we have alot of vlans on alot of firewalls, vsys and vr. Our ipam is decent documented but it would be nice to make a api call to the firewalls to get the info insted. I would like to find the

Firewall and Zone where a specific ip is routed.

 

Is the way to loop through all the firewalls build a list of all the vrs on all the firewalls, and then do a route lookup (test fib lookup...) on each vr on the ip and find where is "connected"? And then parse the output and print it?

Or do you have a other alternative?

 

 

1 REPLY 1

L5 Sessionator

If you didn't want to write the whole thing, alternative approaches might include existing tooling. I think Batfish could model your network to potentially make path discovery or host discovery easier?

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂
  • 1242 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!