IP range addresses
Where the Subnet address is good a representing a standardized group of addresses that are subnets the IP Range type of address can describe a group of addresses while being specific and granular. It does this by specifying a continuous set of IP addresses between one specific IP address and another. While it is most common that this range is with a subnet it is not a requirement. For instance, 192.168.1.0/24 and 192.168.2.0/24 would be 2 separate subnets but if you wanted to descript the top half of one and the bottom half of the other you could describe the range of 192.168.1.128-192.168.2.127. It’s also a lot easier that trying to calculate the correct subnet mask.
The format would be:
x.x.x.x-x.x.x.x, such as 192.168.110.100-192.168.110.120
There is a notation that is commonly used and accepted by some devices that follows the format:
x.x.x.[x-x], such as 192.168.110.[100-120]
This format is not recognized in FortiOS 5.2 as a valid IP Range.
Creating a IP range address
- Go to Policy & Objects > Objects > Addresses.
- Select Create New.
- If you use the down arrow next to Create New, select Address.
- Choose the Category, “Address”.
- Input a Name for the address object.
- Select the TypeIP Range from the dropdown menu.
- Input the host address and subnet mask in the Subnet / IP Range field.
- Select the Interface from the dropdown menu.
- Check the Visibility box.
- Input any additional information in the Comments field.
- Press OK.
Example of a IP Range address for a group of computers set aside for guests on the company network.
|Subnet / IP Range||192.168.100.200-192.168.100.240|
|Comments||Computers on the 1st floor used by guests for Internet access.|
|IP Range addresses can now be configured for IPv6 addresses. The only differences in creating an IPv6 IP Range address is that you would choose IPv6 Address for the Category and the syntax of the address in the Subnet/IP Range field would be in the format of 2001:0db8:0000:0002:0:0:0:20-2001:0db8:0000:0004:0:0:0:20|