差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
linux:dhcp [2019/01/06 11:08] – [設定ファイルの編集] ともやん | linux:dhcp [2019/01/07 09:07] – [設定ファイルの編集] ともやん | ||
---|---|---|---|
行 36: | 行 36: | ||
option domain-name " | option domain-name " | ||
- | option domain-name-servers blue-dc, tomoyan-wrt; | + | option domain-name-servers blue-dc, blue-ns, tomoyan-wrt; |
option ntp-servers blue-dc; | option ntp-servers blue-dc; | ||
option time-offset 32400; # Japan Standard Time | option time-offset 32400; # Japan Standard Time | ||
- | # option netbios-name-servers | + | # option netbios-name-servers |
# option netbios-node-type 2; | # option netbios-node-type 2; | ||
+ | option root-path "/ | ||
+ | if substring( option vendor-class-identifier, | ||
+ | filename "/ | ||
+ | } else { | ||
+ | filename "/ | ||
+ | } | ||
+ | next-server 192.168.1.15; | ||
+ | range 192.168.1.150 192.168.1.199; | ||
range dynamic-bootp 192.168.1.91 192.168.1.100; | range dynamic-bootp 192.168.1.91 192.168.1.100; | ||
default-lease-time 21600; | default-lease-time 21600; | ||
行 53: | 行 61: | ||
#} | #} | ||
</ | </ | ||
- | |||
==== 設定ファイルのチェック ==== | ==== 設定ファイルのチェック ==== | ||
< | < | ||
$ sudo dhcpd -t | $ sudo dhcpd -t | ||
- | Internet Systems Consortium DHCP Server 4.2.5 | + | Internet Systems Consortium DHCP Server 4.3.6 |
- | Copyright 2004-2013 Internet Systems Consortium. | + | Copyright 2004-2017 Internet Systems Consortium. |
All rights reserved. | All rights reserved. | ||
For info, please visit https:// | For info, please visit https:// | ||
+ | ldap_gssapi_principal is not set,GSSAPI Authentication for LDAP will not be used | ||
Not searching LDAP since ldap-server, | Not searching LDAP since ldap-server, | ||
+ | Config file: / | ||
+ | Database file: / | ||
+ | PID file: / | ||
+ | Source compiled to use binary-leases | ||
</ | </ | ||
===== firewallの設定 ===== | ===== firewallの設定 ===== |