![]() |
![]() |
|
|
|||||||
| Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe |
![]() |
|
|
Themen-Optionen | Ansicht |
|
|
#11 |
|
Inventar
![]() |
poste mal deine dhcpd conf, dan kann man dir ev. helfen.
wozu den key ? willst du dynamic dns update machen ? probiers zuerst ohne. http://www.ibiblio.org/pub/Linux/docs/HOWTO/DHCP Code:
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.org";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
This will result in DHCP server giving a client an IP address from the
range 192.168.1.10-192.168.1.100 or 192.168.1.150-192.168.1.200. It
will lease an IP address for 600 seconds if the client doesn't ask for
specific time frame. Otherwise the maximum (allowed) lease will be
7200 seconds. The server will also "advise" the client that it should
use 255.255.255.0 as its subnet mask, 192.168.1.255 as its broadcast
address, 192.168.1.254 as the router/gateway and 192.168.1.1 and
192.168.1.2 as its DNS servers.
If you need to specify a WINS server for your Windows clients you will
need to include the netbios-name-servers option e.g.
option netbios-name-servers 192.168.1.1;
You can also assign specific IP addresses based on clients ethernet
address e.g.
host haagen {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 192.168.1.222;
}
|
|
|
|
|
|
#12 |
|
Hero
![]() |
ohne key hat er gemeint er kann den ddns nicht abgleichen.
shared-network mstoeger.net { subnet 192.168.30.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.30.220 192.168.30.229; } } zone mstoeger.net. { primary 192.168.30.10; key rndckey; } key rndckey { secret PwD8EX0jrxmSZlEMCH1hp8VHQhoLzJBYialXIIzN7dfq5lb1rZ OYzx5TAv6n; algorithm hmac-md5; } das ist meine konfig jetzt erstellt über webmin |
|
|
|
|
|
#13 |
|
Master
![]() |
Und gehts mit dem über webmin erstellten key jetzt?
|
|
|
|
|
|
#14 |
|
Hero
![]() |
nein das ist ja mein problem.
werd jetzt callas config testen. |
|
|
|
|
|
#15 |
|
Hero
![]() |
callas config
diese fehlermeldung: dhcpd starten: Internet Systems Consortium DHCP Server V3.0.3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ ** You must add a global ddns-update-style statement to /etc/dhcpd.conf. To get the same behaviour as in 3.0b2pl11 and previous versions, add a line that says "ddns-update-style ad-hoc;" Please read the dhcpd.conf manual page for more information. ** ich steh an muss ich zugeben |
|
|
|
|
|
#16 |
|
Inventar
![]() |
Code:
ddns-update-style none; |
|
|
|
|
|
#17 |
|
Hero
![]() |
config:
# Sample /etc/dhcpd.conf # (add your comments here) default-lease-time 600; max-lease-time 7200; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option routers 192.168.1.254; option domain-name-servers 192.168.1.1, 192.168.1.2; option domain-name "mydomain.org"; ddns-update-style none subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.100; range 192.168.1.150 192.168.1.200; } host haagen { hardware ethernet 08:00:2b:4c:59:23; fixed-address 192.168.1.222; } fehler: Das Starten des dhcpd schlug fehl : dhcpd starten: Internet Systems Consortium DHCP Server V3.0.3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ /etc/dhcpd.conf line 12: semicolon expected. subnet ^ /etc/dhcpd.conf line 15: expecting a parameter or declaration } ^ Configuration file errors encountered -- exiting es ist zum heulen ![]() |
|
|
|
|
|
#18 |
|
Hero
![]() |
config:
# Sample /etc/dhcpd.conf # (add your comments here) default-lease-time 600; max-lease-time 7200; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option routers 192.168.1.254; option domain-name-servers 192.168.1.1, 192.168.1.2; option domain-name "mydomain.org"; ddns-update-style none subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.100; range 192.168.1.150 192.168.1.200; } host haagen { hardware ethernet 08:00:2b:4c:59:23; fixed-address 192.168.1.222; } fehler: Das Starten des dhcpd schlug fehl : dhcpd starten: Internet Systems Consortium DHCP Server V3.0.3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ /etc/dhcpd.conf line 12: semicolon expected. subnet ^ /etc/dhcpd.conf line 15: expecting a parameter or declaration } ^ Configuration file errors encountered -- exiting es ist zum heulen ![]() |
|
|
|
|
|
#19 |
|
Inventar
![]() |
na geh, semikolon=strichpunkt
in zeile 12 ( ddns-update .... ![]() alle isc proggis ( dhcpd, bind ) sind sehr happig bezüglich der richtigen schreibweise .... |
|
|
|
|
|
#20 |
|
Hero
![]() |
jetzt stehe ich glaub ich auf der leitung
![]() |
|
|
|
![]() |
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|