DHCP server

Sekcia: Konfigurácia 23.06.2007 | 19:42
mytus   Návštevník
zdravim, instalujem domaci server,vsetko bezi v pohode az na dhcpd server. stale mi to vypisuje takuto chybu: /etc/dhcpd.conf line 6: expecting a parameter or declaration.. poradte prosim ze co s tym je. este dodam ze distribucia je debian a tu je dhcpd.conf:
# 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;}
    • Re: DHCP server 23.06.2007 | 21:31
      Avatar lime Debian 3, Red Hat 6, Fedora Core 3  Používateľ
      server-name "linux";
      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
      Prejdite z modrej obrazovky k linuxu :))