DHCPサーバーの設定

普通のDHCPサーバーでやる場合

Internet Systems Consortium DHCP Server V3.0.5-RedHat

※各アドレスは各々の環境に置き換えて変更して下さい


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

 option voip-tftp-servers code 150 = ip-address;
 option voip-tftp-servers 192.168.2.1;

subnet 192.168.2.0 netmask 255.255.255.0 {

  option routers                  192.168.2.1;
  option subnet-mask              255.255.255.0;
  option nis-domain               "";
  option domain-name              "";
  option domain-name-servers      192.168.2.1,192.168.2.2;
  option ntp-servers              192.168.2.1;
  option tftp-server-name         "192.168.2.1";


  range dynamic-bootp 192.168.2.200 192.168.2.254;
  default-lease-time 3600;
  max-lease-time 7200;
}