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

Allikas: Kuutõrvaja
1. rida: 1. rida:
 
'''isc-dhcpd'''
 
'''isc-dhcpd'''
  
tarkvara arendatav ISC (Internet System Consortsium) poolt
+
Tarkvara arendatav ISC (Internet System Consortsium) poolt.
  
 
DHCP (Dynamic Host Configuration Protocol) teenust kasutavad arvutid oma võrguparameetrite automaatseks seadistamiseks.
 
DHCP (Dynamic Host Configuration Protocol) teenust kasutavad arvutid oma võrguparameetrite automaatseks seadistamiseks.
  
kokku kujutab see endast kolme tarkvara
+
Kokku kujutab see endast kolme tarkvara
  
 
     * A DHCP server
 
     * A DHCP server
11. rida: 11. rida:
 
     * A DHCP relay agent
 
     * A DHCP relay agent
  
kõige levinuim dhcp.conf
+
Kõige levinuim dhcp.conf
  
  

Redaktsioon: 2. veebruar 2007, kell 13:18

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

Kõige levinuim dhcp.conf


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;
}


mac järgi dhcp jagamine

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

subnet 192.168.3.0 netmask 255.255.255.0 { 
       option routers                  192.168.3.3;
       option subnet-mask              255.255.255.0;
       option domain-name-servers      195.250.187.46, 194.126.97.30;
       option ntp-servers              192.168.3.3;
       deny unknown-clients;
       default-lease-time 21600;
       max-lease-time 43200;

#Joel Jans
host JJ { hardware ethernet 00:C0:26:7F:B0:1C; fixed-address 192.168.3.10; }
}



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;}