# DHCP Server - konfiguracia
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 213.215.79.146, 213.215.79.147;
ddns-update-style ad-hoc;
subnet 192.168.1.0 netmask 255.255.255.0 {range 192.168.1.201 192.168.1.219;}
DHCP server
Pre pridávanie komentárov sa musíte prihlásiť.
default-lease-time 21600;
max-lease-time 43200;
option domain-name "domena.sk";
authoritative;
#ddns-update-style none;
#ddns-update-style ad-hoc;
##option extensions-path-name code 18 = string;
#na eth0
subnet 3.1.52.0 netmask 255.255.255.0 {
not authoritative;
}
# The subnets
subnet 10.0.0.0 netmask 255.0.0.0 {
option routers 10.0.0.254;
option subnet-mask 255.0.0.0;
option nis-domain "domena.sk";
option domain-name-servers 12.34.6.78; #dnska
option time-offset -5;
# option ntp-servers 192.168.1.1;
option netbios-name-servers 10.0.0.254;
#dynamicke pridelovanie
range dynamic-bootp 10.0.0.100 10.0.0.105;
use-host-decl-names on;
#Tu pridavam napevno MAC
host pipik {
hardware ethernet 05:0B:C2:30:69:A9;
fixed-address 10.0.0.102;
}
}
podla toho si to dufam uz nastavis :))
eth1 IP je 10.0.0.254