DHCPサーバの設定ファイル修正

先日 Linux サーバに DHCP サーバを稼動させる設定を行ったわけだが
Logwatch で以下のような警告が出力されている。

If this DHCP server is authoritative for that subnet,: 1 Time(s)
WARNING: Host declarations are global. They are not limited to the scope you declared them in.: 2 Time(s)
of the dhcpd.conf file.: 1 Time(s)
please write an `authoritative;' directive either in the: 1 Time(s)
subnet declaration - for example, write it at the top: 1 Time(s)
subnet declaration or in some scope that encloses the: 1 Time(s)

/etc/dhcpd.conf に以下の赤字部分を追加

ddns-update-style interim;
ignore client-updates;
not authoritative;


それともう一点
dhcpd -f -t で設定ファイルチェックすると以下のような警告が…。

[root@GALAXY2 etc]# dhcpd -f -d
Internet Systems Consortium DHCP Server V3.0.5-RedHat
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
WARNING: Host declarations are global. They are not limited to the scope you declared them in.
[root@GALAXY2 etc]#

○ 修正前
host cl_01 {
hardware ethernet 00:1F:**:**:**:**;
fixed-address 192.168.1.***;
}
} <-- これがまずい

○ 修正後

} <-- ここに移動

host cl_01 {
hardware ethernet 00:1F:**:**:**:**;
fixed-address 192.168.1.***;
}

ウェブページ

  • about
Powered by Movable Type 5.2.10

このブログ記事について

このページは、よしが2008年12月30日 21:10に書いたブログ記事です。

ひとつ前のブログ記事は「quota(ディスク使用容量制限) の設定」です。

次のブログ記事は「面白いソフト発見(VistaGlazz)」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。