Forum Discussion
Naresh_N
Nimbostratus
Oct 04, 2018Detecting nodes that are up in a subnet
Hi all,
would like an iRule to go though all nodes that are up in a /24 subnet e.g. 10.1.1.0/24 and detect the nodes that are up. For each of these up nodes, would like to send a URI that was receiv...
Kevin_Stewart
Employee
Oct 04, 2018I simple range loop would work best for something like this:
set data "GET /[HTTP::uri] HTTP/1.0\r\n\r\n"
for i {115 116 117 118 119 120} {
set ip "10.1.1.${i}"
set conn1 [connect -timeout 3000 -idle 30 -status conn1_status ${ip}]
...
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
