Changes between Version 16 and Version 17 of TipAndDoc/network/dhcpd


Ignore:
Timestamp:
May 5, 2012 3:07:25 PM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/dhcpd

    v16 v17  
    8787 * host {...} で定義されたものがlocalに、それ以外はdhcpへ 
    8888 * /23のサブネットを用いて、localとdhcpで192.168.0.0と192.168.0.1に分ける 
    89   * 普通に/24 x 2個のサブネットにしてしまうと、local<->dhcp間のデータがdefault routeで中継されてしまいうまくない 
     89  * 普通に/242個のサブネットにしてしまうと、local<->dhcp間のデータがdefault routeで中継されてしまいうまくない 
    9090 
    9191 * /etc/dhcp/dhcpd.conf 
     
    124124                range 192.168.0.100 192.168.0.199; 
    125125                ddns-updates off; 
     126                 
     127                include "/etc/dhcp/dhcpd.conf.d/local.mitty.jp"; 
    126128        } 
    127          
    128         include "/etc/dhcp/dhcpd.conf.d/local.mitty.jp"; 
    129129} 
    130130}}} 
    131131  * poolを使って、allow/deny unknown-clientsで選別する 
    132132  > The unknown-clients flag is used to tell dhcpd whether or not to dynamically assign addresses to unknown clients. Dynamic address assignment to unknown clients is allowed by default. An unknown client is simply a client that has no host declaration. 
     133  * include (host設定)をpoolの中に記述すること。globalのoption domain-name "dhcp.mitty.jp";が適用されてしまう 
    133134 * /etc/dhcp/dhcpd.conf.d/local.mitty.jp 
    134135{{{