Can anyone write me a script that will ping IP addresses the Fortigate has handed out when it hands them out? Is that a variable that's accessible? Running 6.4.9
Anyone?
From a general perspective the script will be simple:
1. get the output from the logs into a file
2. use a regular expression match the string " LOG_ID_DHCP_ACK" in that file to identify the log that contains the newly assigned IP and use another regular expression to match the IP address handed out to the client. Store that IP into another variable.
3. ping that IP and print the output
I don't even need the output in the last section. Do you think you can provide the actual script please?
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.