Erinevus lehekülje "Isc-dhcpd server" redaktsioonide vahel

Allikas: Kuutõrvaja
55. rida: 55. rida:
 
         }
 
         }
 
  }
 
  }
 +
 +
 +
ja isc-dhcp_192.168.1
 +
 +
host tundmatu1 {hardware ethernet 00:30:1b:34:9f:52; fixed-address  192.168.1.23;}
 +
host tundmatu2 {hardware ethernet 00:02:3f:b7:b5:b1; fixed-address  192.168.1.24;}
 +
host tundmatu3 {hardware ethernet 00:04:61:4e:25:36; fixed-address  192.168.1.25;}
 +
host tundmatu4 {hardware ethernet 00:50:8d:51:fc:31; fixed-address  192.168.1.26;}

Redaktsioon: 12. august 2006, kell 17:47

isc-dhcpd

tarkvara arendatav ISC (Internet System Consortsium) poolt

DHCP (Dynamic Host Configuration Protocol) teenust kasutavad arvutid oma võrguparameetrite automaatseks seadistamiseks.

kokku kujutab see endast kolme tarkvara

   * A DHCP server
   * A DHCP client
   * A DHCP relay agent


ddns-update-style none;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.50 192.168.0.100;
default-lease-time 144000;
max-lease-time 192000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 194.126.97.30;
}


ddns-update-style none;

default-lease-time 86400;               # 1 Day
max-lease-time 172800;                  # 2 Days

option ntp-servers timehost.ut.ee;
#option netbios-name-servers 193.40.5.125;
option netbios-node-type 8;
authoritative;


shared-network net {

        subnet 192.168.0.0 netmask 255.255.255.0 {
               option subnet-mask 255.255.255.0;
               option routers 192.168.0.1;
               option domain-name-servers 194.126.115.18, 194.126.101.34;
               pool {
                       range 192.168.0.100 192.168.0.254;
               }
       }

       subnet 192.168.1.0 netmask 255.255.255.0 {
               option subnet-mask 255.255.255.0;
               option routers 192.168.1.1;
               option domain-name-servers 193.40.5.39, 193.40.5.76;
               include "/usr/local/etc/isc-dhcp_192.168.1";
       }
}


ja isc-dhcp_192.168.1

host tundmatu1 {hardware ethernet 00:30:1b:34:9f:52; fixed-address  192.168.1.23;}
host tundmatu2 {hardware ethernet 00:02:3f:b7:b5:b1; fixed-address  192.168.1.24;}
host tundmatu3 {hardware ethernet 00:04:61:4e:25:36; fixed-address  192.168.1.25;}
host tundmatu4 {hardware ethernet 00:50:8d:51:fc:31; fixed-address  192.168.1.26;}