DHCPサーバ設定ファイルの書き方


[設定ファイル例]
# define a global entry which specifies the stuff every host uses.
global:!snmk=255.255.255.0:tmof=32400:

# define different master entries for each subnet. . .
subnet30:tblc=global:rout=10.0.0.1:dht1=500:dht2=850:\
        :brda=10.0.0.255:

# 動的割り当て(期限付き)
128:   :ipad=10.0.0.128:dfll=1800:maxl=3600:tblc=subnet30:
129:   :ipad=10.0.0.129:dfll=1800:maxl=3600:tblc=subnet30:
130:   :ipad=10.0.0.130:dfll=1800:maxl=3600:tblc=subnet30:
131:   :ipad=10.0.0.131:dfll=1800:maxl=3600:tblc=subnet30:
132:   :ipad=10.0.0.132:dfll=1800:maxl=3600:tblc=subnet30:

# 自動割り当て(無期限)
133:   :ipad=10.0.0.133:maxl=0xffffffff:tblc=subnet30:

# 手動割り当て(MACアドレスにより特定)
134:   :ipad=10.0.0.134:clid="1:0x0080c75fdc03":tblc=subnet30:

<hourin@meis.sony.co.jp>
Last modified: Tue Apr 21 11:52:22 JST 1998