DHCPDB.RELAY(5)

NAME
dhcpdb.relay - database which lists relay agents

DESCRIPTION
When the DHCP (Dynamic Host Configuration Protocol) server receives an address assignment request from client via relay agent, dhcpdb.relay is referred to get subnet mask on which client is. And the server ignore requests forwarded from the relay agent which isn't described in this database.

dhcpdb.relay is configured as set of lines. Each line are pair of IP address of relay agent and its subnet number. Both value must have a format which is able to be converted by inet_addr(3), and separated by spaces or tabs.

It has no mean to write the IP address of the relay agent to forward messages to which is on the same subnet as the server is on, or rather it may cause non-desirable behavior. But it has no problem to relay messages to servers on another subnet. So you don't have to describe the IP address of relay agent on the same subnet in this database.

relay agent notify IP address of the server from which it receives the message. So the IP address described in dhcpdb.relay also should be the IP address which the relay agent handles. If the relay agent handles multiple network interfaces, it is required to specify all of them in this file.

EXAMPLES
133.4.30.9
    255.255.255.224
133.4.29.2
    255.255.255.224
133.27.4.200
    255.255.254.0

FILES
/etc/dhcpdb.bind
    Database about bindings (/var/db/dhcpdb.bind for BSD/OS)
/etc/dhcpdb.pool
    Address Pool database
/etc/dhcpdb.relay
    Database which lists relay agents
/tmp/addrpool_dump
    Dump of the address pool database
/var/run/dhcps.pid
    File which includes process ID (/var/tmp/dhcps.pid for NEWSOS)

SEE ALSO
dhcps(8)

R. Droms, Dynamic Host Configuration Protocol, RFC2131.

W. Wimer, Clarifications and Extensions for the Bootstrap Protocol, RFC1542.

S. Alexander, R. Droms, DHCP Options and BOOTP Vendor Extensions, RFC2132.

R. Droms, Interoperation Between DHCP and BOOTP, RFC1534.

AUTHOR
Akihiro Tominaga <tomy@sfc.wide.ad.jp>