SMS, Telegram or Bale? Choosing Alert Channels Without Alert Fatigue
Which downtime alerts should go by SMS and which to Telegram or Bale, how to route by urgency, and how to keep the important alerts from drowning in noise.
Every IPv4 address has two parts: which network it belongs to and which device it is on that network. The subnet mask is what draws the line between them. Once you can read a mask, firewall rules, routing tables and cloud network settings stop looking like magic.
255.255.255.0 is /24./24 has 256 addresses and 254 usable hosts; each extra prefix bit halves the size.noc724 checks your websites, servers and APIs around the clock and alerts you by SMS, Telegram or Bale the moment something breaks.
An IPv4 address like 192.168.10.37 is four 8-bit numbers (octets):
192 .168 .10 .37
11000000 .10101000 .00001010 .00100101A subnet mask is another 32-bit number made of ones followed by zeros. The ones cover the network part, the zeros the host part:
255 .255 .255 .0
11111111 .11111111 .11111111 .00000000Counting the ones gives the prefix length. 255.255.255.0 has 24 ones, so 192.168.10.37/24 means "this address, with a 24-bit network part". CIDR (Classless Inter-Domain Routing) notation is what you will see in cloud consoles, firewalls and routing tables.
For 192.168.10.37/24:
| Item | Value |
|---|---|
| Network address (all host bits 0) | 192.168.10.0 |
| Broadcast address (all host bits 1) | 192.168.10.255 |
| Usable hosts | 192.168.10.1 - 192.168.10.254 (254 addresses) |
The formula for usable hosts is 2^(32 - prefix) - 2. The two subtracted addresses are the network and broadcast addresses.
| CIDR | Mask | Addresses | Usable hosts |
|---|---|---|---|
| /32 | 255.255.255.255 | 1 | 1 (a single host) |
| /30 | 255.255.255.252 | 4 | 2 (point-to-point links) |
| /29 | 255.255.255.248 | 8 | 6 |
| /28 | 255.255.255.240 | 16 | 14 |
| /27 | 255.255.255.224 | 32 | 30 |
| /26 | 255.255.255.192 | 64 | 62 |
| /24 | 255.255.255.0 | 256 | 254 |
| /22 | 255.255.252.0 | 1,024 | 1,022 |
| /16 | 255.255.0.0 | 65,536 | 65,534 |
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 |
You have 10.20.30.0/24 and need four equal subnets. Borrow two host bits (2^2 = 4), giving /26 subnets of 64 addresses each:
| Subnet | Network | Usable range | Broadcast |
|---|---|---|---|
| 1 | 10.20.30.0/26 | .1 - .62 | .63 |
| 2 | 10.20.30.64/26 | .65 - .126 | .127 |
| 3 | 10.20.30.128/26 | .129 - .190 | .191 |
| 4 | 10.20.30.192/26 | .193 - .254 | .255 |
The subnet calculator does this arithmetic for any address and prefix.
When a computer sends a packet, it applies its mask to its own address and to the destination:
A wrong mask therefore causes strange half-working networks: a host might reach some neighbours directly and route others through the gateway, or not reach them at all.
These ranges are reserved for internal networks and are not routed on the internet:
10.0.0.0/8172.16.0.0/12192.168.0.0/16Monitoring services that check from the internet can't reach these addresses. To monitor internal systems, run checks from inside the network - for example with a private location.
The first 24 bits of the address identify the network. A /24 network has 256 addresses, of which 254 can be assigned to devices.
The all-zeros host address names the network itself and the all-ones address is the broadcast address used to reach every host on it.
IPv6 uses the same prefix idea but only in CIDR form, such as /64. The dotted mask format is IPv4 only.
Written by
The noc724 team
Uptime monitoring engineers
We build and run noc724, an uptime monitoring service that checks websites, servers and APIs from several cities in Iran. These guides come from the problems we and our users run into while keeping services online.
Contact the teamExpert on:DevOps
Which downtime alerts should go by SMS and which to Telegram or Bale, how to route by urgency, and how to keep the important alerts from drowning in noise.
Why uptime monitors raise false alarms - network blips, timeouts, rate limits, content changes - and the settings that remove them while keeping real alerts fast.
How to set up a simple on-call rotation and escalation policy so every critical alert is answered, without burning out a small team.