Prechod z DHCPD v.V2-BETA-1-PATCHLEVEL-6 na v.V3.0pl2
Petr Klíma
petr.klima na jihomilk.cz
Úterý Červen 21 09:12:38 CEST 2005
Pri %SUBJ% jsem narazil na problem u ktereho marne hledam reseni.
Mam nekolik subnetu a v nich pocitace stejnych jmen ...
Stary dhcpd je spokojeny ale novy hlasi toto:
==========================================================
# dhcpd -cf /tmp/dhcpd.conf lo
Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
/tmp/dhcpd.conf line 36: host Nekovar: already exists
host Nekovar {hardware ethernet 00:0f:20:23:b8:ea;
fixed-address 192.168.7.136;
^
Configuration file errors encountered -- exiting
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server na isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.
==========================================================
Proc to neprojde? Vzdyt jsou v ruznych subnetech a domenach?
/tmp/dhcpd.conf obsahuje toto
==========================================================
option time-offset 7200;
subnet XX.YY.0.0 netmask 255.255.0.0 {
use-host-decl-names on;
server-identifier lynx.DDDD.cz;
option domain-name "DDDD.cz";
option domain-name-servers lynx.DDDD.cz, mfg.DDDD.cz;
option time-servers lynx.DDDD.cz;
option routers XX.YY.0.42;
option subnet-mask 255.255.0.0;
option broadcast-address XX.YY.255.255;
default-lease-time 43200;
max-lease-time 43200;
host router {hardware ethernet 00:c2:bb:a2:01:c1; fixed-address
XX.YY.0.1;}
host Nekovar {hardware ethernet 00:A0:CC:C2:01:B7; fixed-address
XX.YY.2.31;}
range XX.YY.15.1 XX.YY.15.254;
}
subnet QQ.ZZ.0.0 netmask 255.255.248.0 {
use-host-decl-names on;
server-identifier www.MMMM.cz;
option domain-name "MMMM.cz";
option domain-name-servers QQ.ZZ.1.2, QQ.ZZ.2.140;
option time-servers QQ.ZZ.1.2;
option routers QQ.ZZ.1.254,QQ.ZZ.1.2;
option subnet-mask 255.255.248.0;
option broadcast-address QQ.ZZ.7.255;
default-lease-time 43200;
max-lease-time 43200;
host router {hardware ethernet 00:c2:bb:a2:c4:a1; fixed-address
XX.YY.0.1;}
host Nekovar {hardware ethernet 00:0f:20:23:b8:ea; fixed-address
QQ.ZZ.7.136;}
range QQ.ZZ.6.200 QQ.ZZ.6.254;
}
==========================================================
--
Petr Klíma
JIHOMILK a.s.
Rudolfovská 246/83
370 50 České Budějovice
Czech Rpublic
phone: +420 389 136 209
e-mail: petr.klima na jihomilk.cz
Další informace o konferenci Linux