---
title: Specifying IP Addresses
slug: ps/help/en_us/vwaf/ag/specifying-ip-addresses
docTags: 
createdAt: 2026-08-02T10:05:42.111Z
---

## IPv4

At some points, vWAF permits IP address ranges to be specified in the format:

```bash
xxx.xxx.xxx.xxx/xx
```

Here, all the values from the specified number up to 255 apply. The number after the forward slash describes the prefix length of an IP address. The allocation tables following the examples helps you with the meaning of the prefix length.

| Element              | Meaning                              |
| -------------------- | ------------------------------------ |
| `81.2``43.62.0/24`   | `81.243.62.0` to `81.243.62.255`     |
| `81.243``.62.128/25` | `81.243.6``2.128` to `81.243.62.255` |
| `81.243.1``28.0/17`  | `81.243.128.0` to `81.243.255.255`   |
| `80.0.0.0/``8`       | `80.0.0.0` to `80.255.255.255`       |

| Element | Meaning             |
| ------- | ------------------- |
| `/8```  | `2``55.0.0.0`       |
| **/9**  | `25``5.128.0.0`     |
| `/1``0` | `25``5.192.0.0`     |
| `/``11` | `25``5.224.0.0`     |
| `/``12` | `25``5.240.0.0`     |
| `/``13` | `255``.248.0.0`     |
| `/14`   | `2``55.252.0.0`     |
| `/``15` | `2``55. 254.0.0`    |
| `/``16` | `255``.255.0.0`     |
| `/``17` | `255.``255.128.0`   |
| `/``18` | `255.``255.192.0`   |
| `/``19` | `255.255``.224.0`   |
| `/``20` | `255``.255.240.0`   |
| `/``21` | `255.``255.248.0`   |
| `/``22` | `255.2``55.252.0`   |
| `/``23` | `255.255``.254.0`   |
| `/``24` | `255.2``55.255.0`   |
| `/``25` | `255.25``5.255.128` |
| `/``26` | `255.25``5.255.192` |
| `/``27` | `255.2``55.255.224` |
| `/``28` | `255.2``55.255.240` |
| `/``29` | `255.255.2``55.248` |
| `/``30` | `255``.255.255.252` |

## IPv4

You can enter IPv6 addresses either as full addresses, or you can omit the zeros:

```bash
fdd4:f917:0:b532:3e07:54ff:fe23:1df5 2a01:4f8:130:8421::145
```

Optionally, you can add brackets:

```bash
[fdd4:f917:0:b532:3e07:54ff:fe23:1df5] [2a01:4f8:130:8421::145]
```

When using IPv6 addresses in combination with port numbers, brackets are required:

```bash
[2a01:4f8:130:8421::145]:8082
```

To specify a range of IPv6 addresses, use the following syntax:

| Element                        | Meaning           |
| ------------------------------ | ----------------- |
| `2a01:4f8:1``30:8421::145/128` | single IP address |
| `2a01:4f8:``130:8421::/64`     | subnet            |

Brackets are optional. For example, `[2a01:4f8:130:8421::]/64` is equivalent to `2a01:4f8:130:8421::/64`.
