[ SlackList ] [ WkikiSlack ]



Re: DHCP help!

From: Wasilec Karol <wasilec@wp.pl>
Date: Wed Jul 02 2003 - 12:28:40 CEST
[slacklist] Re: DHCP help!

Witaj kanibal,

W Twoim liście datowanym 2 lipca 2003 (11:46:24) = można przeczytać:


k> Witam mam problem z konfiguracja dhcp
k> moj plik dhcpd.conf wyglada tak:
k> option domain-name "prusa.pl";

k> # server DNS - dla TPSA jest to :
k> option domain-name-servers = 194.204.159.1;

k> # maska sieci
k> option subnet-mask 255.255.255.0;

k> # czasy odwierzania
k> default-lease-time 21600;
k> max-lease-time 86400;

k> # IP sieci ( w zalenoci czy masz 192.168.0.1 czy = 192.168.1.1 )
k> subnet 192.168.1.0

k> # zakres numernetmask 255.255.255.0 {
k> range 192.168.1.2 192.168.1.40;
k> option broadcast-address 192.168.1.255;
k> option routers 192.168.1.1;
k> }
k> host kani {
k> hardware ethernet 00:50:BA:5E:22:B9;
k> fixed-address 192.168.1.2;
k> option broadcast-address 192.168.1.255;
k> option routers 192.168.1.1;
k> }
k>  a przy odpaleniu dhcpd wyskakuje mi = nastepujacy komunikat :

k> Internet Software Consortium DHCP Server = V3.0pl2
k> Copyright 1995-2003 Internet Software = Consortium.
k> All rights reserved.
k> For info, please visit http://www.isc.org/products/DHC= P
k> /etc/dhcpd.conf line 21: Expecting = netmask
k> range
k> ^
k> /etc/dhcpd.conf line 23: expecting a =
k> option routers 192.168.1.1;
k>          = ;            =       ^
k> Configuration file errors encountered -- =

k> If you did not get this software from = ftp.isc.org, please
k> get the latest from ftp.isc.org and install = that before
k> requesting help.

k> If you did get this software from ftp.isc.org = and have not
k> yet read the README, please read it before = requesting help.
k> If you intend to request help from the =
k> mailing list, please read the section on the =
k> submitting bug reports and requests for = help.

k> Please do not under any circumstances send = requests for
k> help directly to the authors of this software - = please
k> send them to the appropriate mailing list as =
k> the README file.

k> exiting.
k> ########################Wie ktos moze o co =

   oto przykladowy muj config poruwnaj go = sobie i uzupelnij jesli
   czegos brakuje :) PS. masz tu jedno ip = przydzielane do karty mac i
   jedną pule IP losowo przydzielaną :) = zmien tylko  wartosci i bedzie
   smigac ;) niezapomnij tez o =
  

option domain-name "stnet.pl";
server-identifier Linux;
default-lease-time 604800;
max-lease-time 604800;
option netbios-name-servers 192.168.0.1;
ddns-update-style ad-hoc;

subnet 192.168.0.0 netmask 255.255.255.0
{
max-lease-time 604800;
default-lease-time 604800;
range 192.168.0.50 192.168.0.100;
option routers 192.168.0.1;
option domain-name-servers 194.204.159.1;
}

host host1
{
fixed-address 192.168.0.75;
hardware ethernet 00:C0:DF:13:C0:67;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

--
Pozdrowienia,
 Wasilec        &nb= sp;           &nbs= p;       mailto:wasilec@wp.pl

Received on Sat Feb 21 03:41:21 2004
This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014