Modify an IP Location
- Last Updated: December 11, 2024
- 1 minute read
- LoadMaster
- LoadMaster LTSF
- Documentation
The following command modifies the latitude and longitude of the 4.4.0.0 IP range:
Note: The lat and long parameters are in seconds.
curl -k "https://bal:1fourall@20.200.25.100/access/modiploc?ip=4.4.0.0&lat=360&long=360"
Response:
<?xml version="1.0" encoding="ISO-8859-1"?><Response stat="200" code="ok"><Success>IP range location updated</Success></Response>
Situation after Modification
To view the IP range settings, run a 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><Latitude>360</Latitude><Longitude>360</Longitude><Country>-1</Country><IsCustom>N</IsCustom><CustomLocation>0</CustomLocation></IPAddress></Data></Success></Response>