Analyze multiple network segments in a single task

Hello everyone, my question is how can I perform an analysis on multiple network segments from a single task, such as: 192.168.1.0/24 192.168.2.0/24 etc etc
Thanks!

See an existing answer from a few days ago: