Setting Address Ranges - Lucent Technologies PortMaster 4 Configuration Manual

Table of Contents

Advertisement

Configuring Named IP Pools

Setting Address Ranges

The PortMaster assigns addresses to users from address ranges that you set for named IP
pools with the following command:
Command> set ippool Name Ipaddress/NM|Ipaddress Netmask [Gateway]
You can specify up to eight address ranges for each IP pool. When you specify multiple
ranges, the earlier ranges are preferred over later ranges.
As the syntax of the set ippool command indicates, an address range must have a
netmask associated with it. The address-netmask pair can be expressed as a dotted
decimal base IP address followed by a mask number between 1 and 30 (for example,
192.168.1.0/24), or by the older dot-separated netmask notation (for example,
192.168.1.0 255.255.255.0). Because the first and last addresses in a range are used for
the network and for broadcast and are not assigned, netmasks of /31 and /32
(255.255.255.254 and 255.255.255.255) are not valid.
For example, to assign a range of 254 address to an IP pool named livermore, enter the
following command:
Command> set ippool livermore address-range 192.168.1.0/24
Range 192.168.1.0/24 256 with gateway 0.0.0.0 add to livermore
Although the output to this command indicates a range size of 256 address as specified
by the /24 netmask, only 254 of these addresses are available to be assigned to users.
The first and last addresses are not assigned. The base (second) address in the range is
incremented as addresses are assigned. Remember to enter the reset ippool command
whenever you make changes to the IP pool.
This same address range can be expressed using the dot-separated netmask notation as
follows:
Command> set ippool livermore address-range 192.168.1.0 255.255.255.0
Range 192.168.1.0/24 256 with gateway 0.0.0.0 add to livermore
Setting an Address Range Gateway
As the syntax of the set ippool command indicates, you can optionally assign a default
gateway address to an address range. For example, to set 10.34.56.78 as the default
gateway for IP pool livermore with address range 192.168.1.0/24, enter the following
command:
Command> set ippool livermore address-range 192.168.1.0/24 10.34.56.78
Range 192.168.1.0/24 256 with gateway 10.34.56.78 add to livermore
Always reset the pool when you make changes to the named IP pool.
Command> reset ippool
The default gateway functions as a crossbar IP address. See the PortMaster 4 Command
Line Reference for details about how to configure crossbar IP address for an interface,
user, or location.
2-12
PortMaster 4 Configuration Guide

Advertisement

Table of Contents
loading

Table of Contents