[ SlackList ] [ WkikiSlack ]




Re: DHCPd....

From: Mateusz Potrykus <netcomp_malpka_wp.pl>
Date: Tue Jan 18 2005 - 17:56:46 CET

dzieki - pomoglo...

Dnia 18-01-2005 o godz. 16:32 Machoni napisał(a):
> > &gt; &gt;# dhcpd.conf
> > &gt; &gt;#
> > &gt; &gt;# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
> > &gt; &gt;#
> > &gt; &gt;
> > &gt; &gt;subnet 192.168.1.0 netmask 255.255.255.0 {
> > &gt; &gt; range 192.168.1.2 192.168.1.254;
> > &gt; &gt; ddns-update-style ad-hoc;
> > &gt; &gt; default-lease-time 600;
> > &gt; &gt; max-lease-time 7200;
> > &gt; &gt; option subnet-mask 255.255.255.0;
> > &gt; &gt; option broadcast-address 192.168.1.255;
> > &gt; &gt; option routers 192.168.1.1;
> > &gt; &gt; option domain-name-servers 192.168.1.1;
> > &gt; &gt; option domain-name &quot;gda.pl&quot;;
> > &gt; &gt;}
> > &gt; &gt;
> > &gt; &gt;host client {
> > &gt; &gt; hardware ethernet 00:30:4F:19:33:62;
> > &gt; &gt; fixed-address 192.168.1.2;
> > &gt; &gt;}
> > &gt; &gt;
> > &gt; na mój gust, brakuje opcji globalnych
> > &gt;
> >
> > a dokladniej?
> > to jest to co bylo w tutorialach...
>
> Opcje globalne to On ma w subnet wrzucone ;)
>
> Raport bledu wskazuje ze albo masz zle zakonczona ktoras komende, albo
> jest ona w niewlasciwym miejscu (to tak ogolnie, nietylko dhcpd).
> Sprobuj 1) zakomentowac wiekszosc opcji i odpalic, a jak ruszyc to
> sukcesywnie odkomentowywac nastepne opcje. 2) powywalac niektore opcje z
> subnetsection do global: a jak nie dasz rady to ex dhcpd conf:
>
> ############
> # OGOLNE #
> ############
>
> option domain-name "costam.net";
> option domain-name-servers 194.204.159.1, 194.204.152.34;
> ddns-update-style ad-hoc;
> default-lease-time 21600;
> max-lease-time 86400;
>
> #############
> # SUBNETY #
> #############
>
> subnet 192.168.1.0 netmask 255.255.255.248 {
> option routers 192.168.1.1;
> option subnet-mask 255.255.255.248;
> }
>
> ###################
> # Linie lUserow #
> ###################
>
> #### eth0 ####
>
> host machoni {
> hardware ethernet 00:00:00:00:00:00;
> fixed-address 192.168.1.3;
> option broadcast-address 192.168.1.7;
> }
>

----------------------------------------------------
Jeśli snowboard to całe Twoje życie - sprawdź koniecznie:
http://klik.wp.pl/?adr=http%3A%2F%2Faukcjewp.wp.pl%2Fshowcat.php%3Fid%3D3946&sid=298
Received on Tue Jan 18 17:57:10 2005

This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014