You're here: Reference > Specifying IP Addresses

previous topic  next topic

Specifying IP Addresses

IPv4

At some points, Stingray Application Firewall permits IP address ranges to be specified in the format:
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.

Examples:

Statement

Meaning

81.243.62.0/24

81.243.62.0 to 81.243.62.255

81.243.62.128/25

81.243.62.128 to 81.243.62.255

81.243.128.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

Allocation table:

Prefix length

Subnet mask

/8
/9
/10
/11
/12
/13
/14
/15
/16
/17
/18
/19
/20
/21
/22
/23
/24
/25
/26
/27
/28
/29
/30

255.0.0.0
255.128.0.0
255.192.0.0
255.224.0.0
255.240.0.0
255.248.0.0
255.252.0.0
255.254.0.0
255.255.0.0
255.255.128.0
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
255.255.254.0
255.255.255.0
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252

IPv6

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

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

 

Optionally, you can add brackets:

[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:

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

 

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

Statement

Meaning

2a01:4f8:130: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.

©  Riverbed Technology, all rights reserved   previous topic  next topic