dhcpd(8), ndb(6): group related ndb attributes together

This commit is contained in:
cinap_lenrek 2019-01-24 20:30:14 +01:00
parent 4e91e4a2db
commit 63a0d519bc
2 changed files with 61 additions and 56 deletions

View file

@ -155,7 +155,7 @@ the dial would connect to the SMTP port of
A number of attributes are meaningful to programs and thus A number of attributes are meaningful to programs and thus
reserved. reserved.
They are: They are:
.TF dnsdomain .TF rootserver
.TP .TP
.B sys .B sys
system name (a short name) system name (a short name)
@ -173,31 +173,6 @@ For DNS, an
.L AAAA .L AAAA
record. record.
.TP .TP
.B ether
Ethernet address
(must be lower-case hexadecimal).
Beware that for machines with multiple
.B ether
attributes,
.I dhcpd
may expect requests to come from the address in the first
.B ether
attribute.
.TP
.B bootf
file to download for initial bootstrap;
.B /386/9bootpxe
to boot a PC via PXE.
.TP
.B vendor
Specific vendor attribute for dhcp and bootp
.TP
.B rootserver
used by Unix machines for boot NFS server
.TP
.B tftp
an TFTP server to use for PXE bootstrap
.TP
.B ipnet .B ipnet
Internet network name Internet network name
.TP .TP
@ -207,43 +182,41 @@ Internet network mask
.B ipgw .B ipgw
Internet gateway (ip address) Internet gateway (ip address)
.TP .TP
.B ether
Ethernet address
(must be lower-case hex)
.TP
.B vendor
Specific vendor attribute for dhcp and bootp
.TP
.B bootf
file to download for initial bootstrap;
.B /386/9bootpxe
to boot a PC via PXE.
.TP
.B tftp
an TFTP server to use for PXE bootstrap
.TP
.B fs
Plan 9 file server to be used
.TP
.B auth .B auth
authentication server to be used Plan 9 authentication server to be used
.TP .TP
.B authdom .B authdom
authentication domain. Plan 9 supports multiple authentication Plan 9 authentication domain.
domains. To specify an authentication server for a particular domain, To specify an authentication server for a particular domain,
add a tuple containing both add a tuple containing both
.B auth .B auth
and and
.B authdom .B authdom
attributes and values. attributes and values.
.TP .TP
.B fs .B rootpath
file server to be used the NFS root for unix machines
.TP .TP
.B tcp .B rootserver
a TCP service name the NFS server used with rootpath
.TP
.B udp
a UDP service name
.TP
.B port
a TCP or UDP port number
.TP
.B restricted
a TCP service that can be called only by ports numbered
less than 1024
.TP
.B proto
a protocol supported by a host.
The pair
.B proto=il
was needed by
.I cs
(see
.IR ndb (8))
in tuples for hosts that supported the IL protocol
.TP .TP
.B dnsdomain .B dnsdomain
a domain name that a domain name that
@ -283,6 +256,29 @@ and
.TP .TP
.B soa .B soa
start of area (for DNS) start of area (for DNS)
.TP
.B tcp
a TCP service name
.TP
.B udp
a UDP service name
.TP
.B port
a TCP or UDP port number
.TP
.B restricted
a TCP service that can be called only by ports numbered
less than 1024
.TP
.B proto
a protocol supported by a host.
The pair
.B proto=il
was needed by
.I cs
(see
.IR ndb (8))
in tuples for hosts that supported the IL protocol
.PD .PD
.PP .PP
.I Cs .I Cs
@ -327,8 +323,8 @@ and its subnets.
.LP .LP
.EX .EX
ipnet=mh-astro-net ip=135.104.0.0 ipmask=255.255.255.0 ipnet=mh-astro-net ip=135.104.0.0 ipmask=255.255.255.0
fs=bootes.research.bell-labs.com
ipgw=r70.research.bell-labs.com ipgw=r70.research.bell-labs.com
fs=bootes.research.bell-labs.com
auth=p9auth.research.bell-labs.com auth=p9auth.research.bell-labs.com
ipnet=unix-room ip=135.104.117.0 ipnet=unix-room ip=135.104.117.0
ipgw=135.104.117.1 ipgw=135.104.117.1

View file

@ -112,7 +112,7 @@ Attributes come from either the NDB entry for the system, the entry for its
subnet, or the entry for its network. The system entry has precedence, subnet, or the entry for its network. The system entry has precedence,
then the subnet, then the network. then the subnet, then the network.
The NDB attributes used are: The NDB attributes used are:
.TF ipmask .TF rootserver
.TP .TP
.B ip .B ip
the IP address the IP address
@ -160,8 +160,17 @@ the default boot file;
see see
.IR ndb (6) .IR ndb (6)
.TP .TP
.B tftp
the TFTP server to fetch
.I bootf
from
.TP
.B rootpath
the NFS root for unix machines
.TP
.B rootserver .B rootserver
used by Unix machines for boot NFS server the NFS server used with
.I rootpath
.TP .TP
.B vendor .B vendor
Specific vendor attribute for dhcp and bootp Specific vendor attribute for dhcp and bootp