---
title: iprange
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2934.demos.haus/maas/docs/iprange?format=md
---

*Submit*

# iprange

Enter keyword arguments in the form `key=value`.

## [Delete an IP range](https://canonical-com-2934.demos.haus/maas/docs/iprange?format=md#p-1543-delete-an-ip-range)

```
maas $PROFILE iprange delete [--help] [-d] [-k] id [data ...]
```

#### Positional arguments

* id

Delete an IP range with the given id.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Read an IP range](https://canonical-com-2934.demos.haus/maas/docs/iprange?format=md#p-1543-read-an-ip-range)

```
maas $PROFILE iprange read [--help] [-d] [-k] id [data ...]
```

#### Positional arguments

* id

Read an IP range with the given id.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Update an IP range](https://canonical-com-2934.demos.haus/maas/docs/iprange?format=md#p-1543-update-an-ip-range)

```
maas $PROFILE iprange update [--help] [-d] [-k] id [data ...]
```

#### Positional arguments

* id

Update an IP range with the given id.

#### Keyword “start\_ip”

Optional String. Start IP address of this range (inclusive).

#### Keyword “end\_ip”

Optional String. End IP address of this range (inclusive).

#### Keyword “comment”

Optional String. A description of this range. (optional)

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Create an IP range](https://canonical-com-2934.demos.haus/maas/docs/iprange?format=md#p-1543-create-an-ip-range)

```
maas $PROFILE ipranges create [--help] [-d] [-k] [data ...]
```

Create a new IP range.

#### Keyword “type”

Required String. Type of this range. (`dynamic` or `reserved`)

#### Keyword “start\_ip”

Required String. Start IP address of this range (inclusive).

#### Keyword “end\_ip”

Required String. End IP address of this range (inclusive).

#### Keyword “subnet”

Required Int. Subnet associated with this range.

#### Keyword “comment”

Optional String. A description of this range.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [List all IP ranges](https://canonical-com-2934.demos.haus/maas/docs/iprange?format=md#p-1543-list-all-ip-ranges)

```
maas $PROFILE ipranges read [--help] [-d] [-k] [data ...]
```

List all available IP ranges.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

---

[Previous

ipaddresses](https://canonical-com-2934.demos.haus/maas/docs/ipaddresses)
[Next

license-key](https://canonical-com-2934.demos.haus/maas/docs/license-key)

Last updated 1 year, 6 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/iprange/760).
