linux:dhcp

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:dhcp [2019/01/06 11:09] – [設定ファイルの編集] ともやんlinux:dhcp [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 36: 行 36:
  
     option domain-name "fireball.local";     option domain-name "fireball.local";
-    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;
行 42: 行 42:
 #    option netbios-name-servers blue-dc; #    option netbios-name-servers blue-dc;
 #    option netbios-node-type 2; #    option netbios-node-type 2;
 +    option root-path "/opt/ltsp/i386";
 +    if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
 +        filename "/ltsp/i386/pxelinux.0";
 +    } else {
 +        filename "/ltsp/i386/nbi.img";
 +    }
 +    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:
 #} #}
 </code> </code>
- 
 ==== 設定ファイルのチェック ==== ==== 設定ファイルのチェック ====
 <code> <code>
 $ 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://www.isc.org/software/dhcp/ For info, please visit https://www.isc.org/software/dhcp/
 +ldap_gssapi_principal is not set,GSSAPI Authentication for LDAP will not be used
 Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
 +Config file: /etc/dhcp/dhcpd.conf
 +Database file: /var/lib/dhcpd/dhcpd.leases
 +PID file: /var/run/dhcpd.pid
 +Source compiled to use binary-leases
 </code> </code>
 ===== firewallの設定 ===== ===== firewallの設定 =====
  • linux/dhcp.1546740596.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)