IPALLOC.NETRANGE(5)

NAME
ipalloc.netrange - range of addresses to allocate

SYNOPSIS
/etc/ipalloc.netrange

AVAILABILITY

Available only on Sun 386i systems running a SunOS 4.0.x release or earlier. Not a SunOS 4.1 release feature.

DESCRIPTION

This file, if it exists on the Network Information Service (NIS) master of the hosts.byaddr map, specifies the ranges of IP addresses that can be allocated by the ipallocd(8C) daemon. This allows multiple address assignment authorities, probably in multiple administrative domains, to coexist on the same IP network by preallocating ranges of addresses. If this file does not exist, the daemon assumes that all addresses not listed in the hosts map may be freely allocated.

This file can contain blank lines. Comments begin with a `#' character and extend to the end of the current line. Ranges of free addresses are specified on one line per network or subnetwork.

The first token on the line is the IP address, in four part “dot“ notation as also used in the hosts file, of the network or subnetwork described. It is separated from the second token by white space. The second token is a comma-separated list of local host number ranges on that network. These ranges take two forms: a single number specifies just that local host number, and two numbers separated by a dash specify all local host numbers starting at the first number and ending at the second. In the case of a subnet, host numbers not in that subnet are excluded.

For example, the following file would specify that a subset of the addresses on the class C network 192.9.200.0 may be allocated, and only some of the addresses on two particular subnets of the class B network 128.255.0.0 may be allocated. In any case, only non-broadcast addresses not listed in the hosts map are subject to allocation:

    # We have three network cables administered using automatic # IP address allocation.

    192.9.200.0    50-100,200-254
    128.255.210.0    3,5,7,9,100-110
    128.255.211.0    1-254

SEE ALSO
hosts(5), netmasks(5), ipallocd(8C)

BUGS

There is a silent limit of twenty ranges per network.

NOTES

The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the name has changed.