Add an IP Range
- Last Updated: December 11, 2024
- 1 minute read
- LoadMaster
- LoadMaster LTSF
- Documentation
The following command adds an IP range of 4.4.0.0 with a mask of 16:
Note: The mask parameter is the netmask.
curl -k "https://bal:1fourall@20.200.25.100/access/addip?ip=4.4.0.0&mask=16"Response:
<?xml version="1.0" encoding="ISO-8859-1"?><Response stat="200" code="ok"><Success>IP range added</Success></Response>
Situation after Add:
To show the default settings of the IP range just added, run the listips command.
<Response stat="200" code="ok"><Success><Data><IPAddress><Index>1</Index><Used>Y</Used><Ip>4.4.0.0</Ip><IPAddress>4.4.0.0</IPAddress><Mask>16</Mask><Country>-1</Country><IsCustom>N</IsCustom><CustomLocation>0</CustomLocation></IPAddress></Data></Success></Response>