Hi @psanggabuana - Great question, thanks for reaching out.
There are a few different ways, if your trigger is assigned to all devices, the Flow mask instance methods could be helpful, Trigger API Reference
if ((Flow.ipaddr1.mask(24).toString() === "173.194.33.0")||
(Flow.ipaddr2.mask(24).toString() === "173.194.33.0"))
{Flow.setApplication("My L4 App");}
You could also create a dynamic device group using the IP Address = CIDR block of interest, then assign to trigger to that device group. Then additional server/client or sender/receiver logic could be handled from within the trigger.
A custom device might also be an option, if you want a device to represent an entire subnet, but I agree with @girardo, his suggestion will result in less complexity.