dhcp server

Sekcia: Ostatné 12.05.2005 | 12:07
peter   Návštevník
dobry den, potrebujem poradit naistaloval som na solaris server dhcp od www.isc.org. /var/adm/messages mi dava nasledujucu hlasku : May 11 10:31:17 xxxx dhcpd: [ID 702911 daemon.error] Dynamic and static leases present for 172.17.5.3. May 11 10:31:17 xxxx dhcpd: [ID 702911 daemon.error] Remove host declaration xxxxxxxxxx or remove 172.17.5.3 May 11 10:31:17 xxxxx dhcpd: [ID 702911 daemon.error] from the dynamic address pool for 172.17.0/16 dhcp nastartuje ale server neprideluje adresy
    • Re: dhcp server 11.05.2005 | 12:58
      Peter (ale iny:-)   Návštevník
      A co takeho pekneho mas v /etc/dhcpd.conf? Nieco ako: default-lease-time 86400; max-lease-time 86400; ddns-update-style ad-hoc; # Nastavenie prislusnosti k domene option domain-name "mojadoena.sk"; # Nastavenie broadcastov pre klientov #option broadcast-address 192.168.1.255; # Pridelenie DNS serverov option domain-name-servers 192.168.1.1; # Pridelenie WINS serveru #option netbios-name-servers 192.168.1.1; # Nastavenie rozsahu pridelovanych IP adries subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; range 192.168.1.200 192.168.1.250; } # Staticky pridelovane IP adresy host mojhost { # sem daj spravnu mac adresu hardware ethernet 00:00:00:00:00:00; fixed-address 192.168.1.200; } Treba sa s tym este pohrat....
      • Re: Re: dhcp server 11.05.2005 | 13:07
        # dhcpd.conf # # Sample configuration file for I   Návštevník
        nieco taketo # dhcpd.conf # # Sample configuration file for ISC dhcpd # # option definitions common to all supported networks... option domain-name "moja.sk"; option domain-name-servers 172.17.101.44; option broadcast-address 172.17.255.255; option routers 172.17.115.41; option subnet-mask 255.255.0.0; ddns-update-style none; ddns-updates off; default-lease-time 86400; max-lease-time 604800; deny unknown-clients; # nase siete subnet 172.17.0.0 netmask 255.255.0.0 { range 172.17.14.1 172.17.14.254; range 172.17.44.1 172.17.44.254; range 172.17.57.1 172.17.57.254; } # koniec nasich sieti # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx #siet 172.17.XXX.XXX # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx host jano { hardware ethernet 00:02:E3:3D:D8:2F; fixed-address 172.17.1.178; } host fero { hardware ethernet 00:A0:24:3C:8C:28; fixed-address 172.17.2.5; } atd ...
        • Re: Re: Re: dhcp server 11.05.2005 | 19:07
          Peter ynova ten iny   Návštevník
          Tak vyskusaj pozret ako mas nastaveneho toho 172.17.5.3 pre neho ti to vyhadzuje chybu. Mas lease time nastaveny globalne a aj potom aj pre toho hosta? Vyskusaj pouzit len jeden...
          • Re: Re: Re: Re: dhcp server 12.05.2005 | 10:45
            peter   Návštevník
            Dakujem za rady. Vygooglil som riesenie tej hlasky : je to preto lebo rozsah dynamicky pridelovanych adries sa nesmie prekryvat s pevne nadefinovanymi. Linux to len oznami a vymaze z rangu dynamickych adries. Solaris to vyhadzuje ako chybu. To som odstranil, ale server neprideli nic. Da sa to robit aj tak ze naistalujem origos dhcp pre solaris. Ale to nechcem, lebo toto mam v umysle pouzivat ako zalozne. Na solaris chcem len replikovat dhcpd.conf z primarneho servera dhcp a tam mam linux.
            • Re: Re: Re: Re: Re: dhcp server 12.05.2005 | 12:07
              peter   Návštevník
              Dakujem vsetko mi ide