次のエントリ: インスタント食品 [diary]
BIND・DHCPD インストール on ubuntu
2006-07-02-5 / カテゴリ: [bind][ubuntu] / [permlink]
まぁ、フツーに。
BIND は、debian と同じくこのへん(↓)は入るので
DHCP も [2005-07-31-1] と同じように…って「前のやつを流用」がないのでメモ。
/etc/dhcpd.conf
# apt-get install bind9 # apt-get install dhcp
BIND は、debian と同じくこのへん(↓)は入るので
/etc/bind/db.0 /etc/bind/db.255 /etc/bind/db.empty /etc/bind/zones.rfc1918 /etc/bind/db.127 /etc/bind/db.local /etc/bind/db.root /etc/bind/named.conf /etc/bind/named.conf.local /etc/bind/named.conf.optionsLAN の設定だけしてやる。[2005-09-01-2]と同じだ :)
/etc/bind/db.naru.rev /etc/bind/db.naru.zoneを追加し、named.conf.options に forwarders の設定追加。
DHCP も [2005-07-31-1] と同じように…って「前のやつを流用」がないのでメモ。
/etc/dhcpd.conf
option domain-name "xxx.example.org";
option domain-name-servers 192.168.1.1;
option subnet-mask 255.255.255.0;
default-lease-time 36000;
max-lease-time 86400;
subnet 192.168.0.0 netmask 255.255.255.0 {
}
subnet 192.168.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.1.1;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
range 192.168.1.50 192.168.1.99;
}
192.168.0.0/24 はルータ側(つーかADSLモデム)でルータのDHCPサーバが動いてるので設定不要。[
コメント ]
次のエントリ: インスタント食品 [diary]
2013 : 01 02 03 04 05 06 07 08 09 10 11 12
2012 : 01 02 03 04 05 06 07 08 09 10 11 12
2011 : 01 02 03 04 05 06 07 08 09 10 11 12
2010 : 01 02 03 04 05 06 07 08 09 10 11 12
2009 : 01 02 03 04 05 06 07 08 09 10 11 12
2008 : 01 02 03 04 05 06 07 08 09 10 11 12
2007 : 01 02 03 04 05 06 07 08 09 10 11 12
2006 : 01 02 03 04 05 06 07 08 09 10 11 12
2005 : 01 02 03 04 05 06 07 08 09 10 11 12
2004 : 01 02 03 04 05 06 07 08 09 10 11 12
最終更新時間: 2013-05-02 16:12
