ip_in_subnet
Check whether an IP address falls within a given subnet and verify if it is a usable host address, preventing network and broadcast address errors.
Instructions
Check if an IP is in a subnet and whether it is a usable host address.
NOC use cases:
"Is this IP in this VLAN subnet?"
Catch network/broadcast mistakes (/24 .0 / .255) quickly
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "<ip>",
"cidr": "<cidr>"
},
"name": "ip_in_subnet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| cidr | Yes |